Tuesday, October 14, 2008

python plasmoids

Simon Edwards committed initial support for writing Plasmoids in Python today. (Pythonoids? Pymoids? hm...) There are some build issues to work out, as it relies on CMake files from kdebindings; those probably need to get moved to kdelibs or some-such.

The support is for the full Plasma API, so essentially anything you can do in C++ you can do in Python. There are a couple of example Python plugins in there, and I hope we can get some tutorials up on Techbase demonstrating how to use the Python bindings.

There's also support for Python DataEngines in there. Huzzah...

8 comments:

Lawal Adekunle said...

This is Great news. Guess we should call them Pythplasmoids, Pythmoids or Something.

John L. Clark said...

Thanks for the report, Aaron. I'm very excited about the possibilities for this, and I'd like to investigate a bit more. Where can we find this code in the KDE Subversion repository, and what is Simon's commit handle?

TuringTest said...

One word:

Plasthons

Aaron J. Seigo said...

@John L. Clark: it's in kdebase/workspace/plasma/scriptengines/python, and his commit handle is sedwards

randomguy3 said...

I think "pythoids" rolls off the tongue best (although it doesn't really make the plasma link).

Mathieu said...

link to examples?

alsuren said...

*jumps for joy* This is exactly what I've been waiting for...if only it had come during the summer, when I wasn't spending every waking hour doing my Master's project.

How long do you think before they pick it up for use in amarok? My project is about music visualisation, so it would be cool to use it as an excuse to try out your shiny new bindings.

For the record, I think they should be called vials, or something else that lets you make snake oil/venom jokes.

downhillgames said...

How about just "Python-driven Plasmoids"? :p

Awesome! I know a bit of Python, so I'll have to check this out once the Techbase has a tut. up (if not already... gotta check yet)!

Also (perhaps) worth a mention, I have an idea for what I'd like to do already :) Just waiting on the full support to come out to get started.

Thanks for the update, Aaron! ^_^

Cheers!