high level, fast XML package for Python?

Diez B. Roggisch deets at nospam.web.de
Fri Sep 15 09:23:34 EDT 2006


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  have to deal with
> potentially MBs of data.

cElementTree and lxml (which is API-compatible to the former). cElementTree
has an incremental parser, which allows for lager-than-memory-files to be
processed.

Diez



More information about the Python-list mailing list