Re: high level, fast XML package for Python?

2006-09-20 Thread Martin v. Löwis
Paul Boddie schrieb: >> It seems that everybody is proposing libraries that use in-memory >> representations. There is a standard xml package for Python, it's >> called "xml" (and comes with the standard library). It contains a >> SAX interface, xml.sax, which can parse files incrementally. > > Wh

Re: high level, fast XML package for Python?

2006-09-20 Thread Fredrik Lundh
Martin v. Löwis wrote: >> Is there a standard xml package for Python? Preferably high-level, fast >> and that can parse in-file, not in-memory since I have to deal with >> potentially MBs of data. > > It seems that everybody is proposing libraries that use in-memory > representations. There is

Re: high level, fast XML package for Python?

2006-09-19 Thread Paul Boddie
Martin v. Löwis wrote: > > It seems that everybody is proposing libraries that use in-memory > representations. There is a standard xml package for Python, it's > called "xml" (and comes with the standard library). It contains a > SAX interface, xml.sax, which can parse files incrementally. What a

Re: high level, fast XML package for Python?

2006-09-17 Thread Steven Bethard
Martin v. Löwis wrote: > Gleb Rybkin schrieb: >> I searched online, but couldn't really find a standard package for >> working with Python and XML -- everybody seems to suggest different >> ones. >> >> Is there a standard xml package for Python? Preferably high-level, fast >> and that can parse in-

Re: high level, fast XML package for Python?

2006-09-17 Thread Martin v. Löwis
Gleb Rybkin schrieb: > I searched online, but couldn't really find a standard package for > working with Python and XML -- everybody seems to suggest different > ones. > > Is there a standard xml package for Python? Preferably high-level, fast > and that can parse in-file, not in-memory since I h

Re: high level, fast XML package for Python?

2006-09-16 Thread John J. Lee
Steven Bethard <[EMAIL PROTECTED]> writes: [...] > In Python 2.5, cElementTree and ElementTree will be available in the > standard library as xml.etree.cElementTree and > xml.etree.ElementTree. So learning them now is a great idea. Only some of the original ElementTree software is going into 2.5,

Re: high level, fast XML package for Python?

2006-09-16 Thread Stefan Behnel
Tim N. van der Leeuw wrote: > Another option is Amara; also quite high-level and also allows for > incremental parsing. I would say Amara is somewhat higher level than > ElementTree since it allows you to access your XML nodes as Python > objects (with some extra attributes and some minor warts), a

Re: high level, fast XML package for Python?

2006-09-15 Thread Tim N. van der Leeuw
Hi Gleb, Gleb Rybkin wrote: > I searched online, but couldn't really find a standard package for > working with Python and XML -- everybody seems to suggest different > ones. > > Is there a standard xml package for Python? Preferably high-level, fast > and that can parse in-file, not in-memory sin

Re: high level, fast XML package for Python?

2006-09-15 Thread Gleb Rybkin
Okay, thanks! Steven Bethard wrote: > Diez B. Roggisch wrote: > > Gleb Rybkin wrote: > > > >> I searched online, but couldn't really find a standard package for > >> working with Python and XML -- everybody seems to suggest different > >> ones. > >> > >> Is there a standard xml package for Python?

Re: high level, fast XML package for Python?

2006-09-15 Thread Steven Bethard
Diez B. Roggisch wrote: > Gleb Rybkin wrote: > >> I searched online, but couldn't really find a standard package for >> working with Python and XML -- everybody seems to suggest different >> ones. >> >> Is there a standard xml package for Python? Preferably high-level, fast >> and that can parse i

Re: high level, fast XML package for Python?

2006-09-15 Thread Diez B. Roggisch
Gleb Rybkin wrote: > I searched online, but couldn't really find a standard package for > working with Python and XML -- everybody seems to suggest different > ones. > > Is there a standard xml package for Python? Preferably high-level, fast > and that can parse in-file, not in-memory since I ha

high level, fast XML package for Python?

2006-09-15 Thread Gleb Rybkin
I searched online, but couldn't really find a standard package for working with Python and XML -- everybody seems to suggest different ones. Is there a standard xml package for Python? Preferably high-level, fast and that can parse in-file, not in-memory since I have to deal with potentially MBs