Yapsy 1.9 release

A new version of Yapsy, my fat-free DIY plugin framework,  has just been released ! The project went (again) dormant for a bit more than one year during which a couple of bug reports and features requests eventually waked it up :)

 

More details on the new release are available on sourceforge and so are the downloadable files.

And the first big news is that there is a version compatible with Python3 at last !

Another big news is that this gave me the occasion to search a bit over the internet and realise that there are actually people talking about yapsy here and there.

You find traces of it already on the famous stackoverflow (yes as far as I can tell, and as of 2011/12 they are all mentions of ‘my’ yapsy, very moving indeed :) ), on this quick inventory of Python plugin systems and more anecdotally on pastebin

And for the specific projects that use this library, so far I’ve found:

And of course this adds up with the great people I already had the occasion to thank in my latest post about yapsy.

Let’s face it, this ridiculously small piece of code is h-y-p-e… (ok I may be overdoing it a little but if I don’t do it who will ?)

My code is awesome ! Or at least its users are…

I’ve just received a nice e-mail pointing at an even nicer blog post about one of my pet project: Yapsy and the author states it quite clearly: “Yapsy is awesome”!

Many thanks to Roberto Alsina for these kind words and for the very nice tutorial he wrote about yapsy.

To be honest, Yapsy is above all just an absurdly tiny piece of code, and , even with that, still has a long way to go before I dare qualify it as awesome, but one thing is sure the developpers who use it already are undoubtedly the awesome ones !

Yapsy is a project I started 3 years ago on my free time, and put on SourceForge “just in case” it could be helpful… It went dormant several times but was waken up by requests and suggestions sent by developpers like Peppy’s Rob McMullenMysteryMachine’s Roger Gammans and now Aranduka’s Roberto Alsina who all deserve a big thank you.

In its latest release (5 days ago) I corrected some bugs and tried to make the documentation as useful as possible. All in all, I wanted to highlight the ways in wich yapsy could be used to simplify the development of a plugin manager, but Roberto beat me to this. I’m especially proud of two of his comments:

  • “One of the great things about Yapsy is that it doesn’t specify too much.”
  • “it helps you write better code.”

The first one was clearly indented but also known to be hard to get right (and IMHO yapsy’s not quite there yet).

The second is way beyond yapsy’s initial scope, but it’s really sweet to read, especially from somebody who — as it seems — has already tasted Qt development1

More info about Yapsy at ohloh

  1. Qt is well known among GUI toolkits for helping you write better code so that compliments from Qt developpers are worth twice as much :) []

MathBench & Yapsy

Le logo du projet MathBench Le logo du projet Yapsy

My little pet project MathBench has finally reached a reasonably stable state si that I could do the first release today.

My intention in doing this was to test some ideas about how a (Python) shell could help its users by providing the usual nice features (completion, syntax highlighting etc) but also by making it much easier than usual to access consistent information about what they’re doing.

On the technology side: it’s all written in Python, borrows most of its features to the Py project from wxPython, and is extensible thanks to my other pet project: yapsy.

Oh and thanks to these technologies it is cross-platform and works on Linux, MacOSX and Windows.

Une session sour MathBench

MathBench 1.0_beta

 Après une journée passée à préparer/commiter/valider/référencer, il ne reste plus qu’à annoncer la sortie de la première version de ma petite appli MathBench.

En gros il s’agit d’un editeur+shell python qui doit se rendre utilse quand on a 3-4 lignes de codes à taper pour tester/vérifier un truc. L’accent est donc mis sur la simplicité et aussi sur la mise à disposition du maximum de documentation possible de la façon la plus efficace (moteur de recherche et interface spéciale intégrée au shell).

Ça utilise (bien sûr) mon autre projet Yapsy (en version 1.6 actuellement) qui s’est pas mal améliorée notamment grâce à un ‘nouveau’ contributeur robm que je peux remercier chaleureusement du coup.

Le premier plugin pour MathBench intègre pylab à celui-ci et, même si ce n’est pas à tomber par terre, il s’est déjà montré utile.