mnot’s Web log

“Design depends largely on constraints.” — Charles Eames

Python

XSLT for the Rest of the Web

I’ve raved before about how useful the XSLT document() function is, once you get used to it. However, the stars have to be aligned just so to use it; the...

published on Tuesday, October 18 2005 ( 12 comments )

Feed History -04

Feed History draft -04 is out, with the only major change being the replacement of fh:stateful with fh:incremental, with corresponding changes throughout the document, to make the concepts a...

published on Monday, September 5 2005 ( 1 comment )

sparta.py 0.8

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,...

published on Monday, August 29 2005 ( 6 comments )

Sparta.py 0.7

I’m happy to announce that version 0.7 of sparta.py, a simple API for RDF, is now available. As always, feedback and suggestions are appreciated. My goal for this release...

published on Thursday, March 17 2005 ( 2 comments )

text/python?

I’m thinking about whether it would be a good idea to have a media type for Python source files, call it “text/python.” The main benefit that I see to...

published on Wednesday, December 15 2004 ( 9 comments )

Sparta.py 0.6: RDF (and RSS!) Made Easy

Based on feedback (thanks, John), it's now mapped to an object that implements a subset of the interface of sets.Set, and produces a full sets.Set when you call the copy() method. rdf:Seq is mapped to a list, joining rdf:List; this allows Sparta to work with RSS 1.0, along with other formats that use Seq. The factory takes an optional schema_store argument, so you can store schema hints for Spara separately, if you wish.

published on Monday, December 6 2004 ( 1 comment )

sparta.py 0.5: RDF made easy

Version 0.5 of sparta.py is now available; with this release, it's roughly feature-complete.

published on Saturday, August 21 2004 ( 1 comment )

Resistance is Futile

Bill points out the inevitability of the Pythonification of the world. I couldn’t agree more; if you listen to the whispers in the halls, all of the old objections are...

published on Sunday, August 8 2004 ( 16 comments )

The Whole Web in a Python Dictionary

A few days ago I blogged a straw-man API for client-side HTTP based on dictionaries. This turns out to be well-aligned with a project I’ve had on the back burner...

published on Saturday, July 31 2004 ( 8 comments )

Dictionary as API?

From the Daily Python URL comes another noteworthy API for XML; XMLFragment. I haven’t tried it yet (it doesn’t appear to be separately available, hint, hint), but I like the...

published on Monday, July 26 2004 ( 6 comments )

sparta.py 0.4: Data Binding for RDF in Python

After a short pause (OK, nearly three years), I’ve released version 0.4 of sparta.py. Sparta is a simple API for RDF that binds RDF nodes to Python objects and RDF...

published on Saturday, May 15 2004 ( 4 comments )

XopParser.py 0.2

To help inform discussion of XOP (and to save Sam the trouble ;), I’ve put together a quick-and-dirty (we’re talking two hours) XOP parser in Python. It isn’t particularly efficient,...

published on Friday, May 7 2004

Sean’s Words of Wisdom

Sean McGrath always has carefully considered positions, and he hits it out of the ballpark with this one. A few thoughts; Eventually though, to fully realise RESTian SOA we need...

published on Tuesday, April 20 2004 ( 1 comment )

Python Just Got a Whole Lot Cooler

OK, so I know they’ve been around for a while, but I haven’t really got into Python’s metaclasses until just now, because I’ve been… well… busy. This excellent presentation about...

published on Monday, March 29 2004

RSS.py, version 0.45

This minor revision fixes the “admin” namespace’s URI to agree with the feed validator and pretty much all other implementations. From the docs; This library provides tools for working with...

published on Tuesday, February 10 2004 ( 1 comment )

Python for the CLR

IronPython is an implementation of Python for the CLR with some intriguing initial perf numbers. [ via Jeremy Hylton’s Weblog ] Shame I don’t have a Windows box where I...

published on Tuesday, December 9 2003 ( 1 comment )