xml.sax.writer

2006-08-30 Thread Dominic Fox
Hi, xml.sax.writer doesn't appear in the global module documentation, and googling for it doesn't tell you all that much either. Is it actually in the standard libraries, or is it an interloper from something else (the libxml bindings, say) that just happens to have taken up residence in the xml.s

Re: Tripoli: a Python-based triplespace implementation

2005-05-02 Thread Dominic Fox
> Is there some interoperability requirement with non-Python apps? If not, > why not just use pickle or marshal? I would imagine that much of the existing, current and useful triple-based data out there is serialized (or serializable) in RDF/XML. I wouldn't choose it as a serialization format arb

Re: Tripoli: a Python-based triplespace implementation

2005-05-02 Thread Dominic Fox
karouri wrote: > Interesting, but I wonder if you are aware of pylinda > (http://www-users.cs.york.ac.uk/~aw/pylinda/) and if so, what's the > difference? Tripoli trades off some of the generality of PyLinda in order to support some performance tweaks and some additional graph-related operations.

Tripoli: a Python-based triplespace implementation

2005-04-30 Thread Dominic Fox
I have been working on a Python implementation of a modified Tuple Space (cf Linda, JavaSpaces) that contains only 3-tuples (triples), and that has operators for copying and moving graphs of triples as well as sets matching a given pattern. It's called Tripoli, and the code for it can be found here

Monadic Parser Combinators in Python

2005-03-18 Thread Dominic Fox
Python: Now More Like Haskell Than Ever Before! I've implemented a small monadic parser combinator library in Python (based on Haskell code in a paper by Graham Hutton and Eric Meijer). http://codepoetics.com/poetix/index.php?p=94 It enables you to write things like this: > token = isalpha |seq

Re: Concurrent Python

2005-02-14 Thread Dominic Fox
> For an alternative approach (based on using generators forming a dataflow > component system) you might find our project interesting - the core > concurrency stuff is packaged up separately with API docs (and trivial > example) here: http://kamaelia.sourceforge.net/Docs/Axon.html Would it be cor

Concurrent Python

2005-02-11 Thread Dominic Fox
I've created a few classes to support some concurrent programming concepts in Python: AsyncResult represents the state of a process currently running in a separate thread. MultiEvent allows listeners to wait for any one of a list of events to be signalled. MultiQueue allows listeners to wait for a