Mark Nottingham

sparta.py 0.8

Monday, 29 August 2005

Semantic Web

I’m happy to announce that version 0.8 of sparta, a simple API for RDF, is now available. As always, feedback and suggestions are appreciated.

This revision requires rdflib 2.2.1, as the APIs sparta relied upon have changed.

It also adds a new method on the factory, addAlias, that lets you bypass the prefix_localname convention for URIs that don’t map well to python tokens. See spartaTest.py for an example of its use. Thanks to Bill de hÓra for the suggestion and a prototype patch.

Looking forward, I’m looking to see if there’s anything special I should do to add support for contexts directly, or whether I should just rely on the underlying store. If you have any ideas about that, I’d love to hear them.

P.S. I’ve also gone ahead and made sparta a proper installation package; gotta love distutils. An installer for 0.72 is also available, in case you’re still on an older revision of rdflib.