Gnosis Utils contains several Python modules for XML processing, plus other generally useful tools: xml.pickle (serializes objects to/from XML, API compatible with the standard pickle module), xml.objectify (turns arbitrary XML documents into Python objects), xml.validity (enforces XML validity constraints via DTD or Schema), xml.indexer (full text indexing/searching), and many more.
|Tags||Software Development Libraries Python Modules Text Processing Markup XML|
|Operating Systems||OS Independent|
Release Notes: This release fixes a bug in XML pickling of mx.DateTime objects.
Release Notes: A bugfix was made for long integer parsing in xml.pickle.
Release Notes: This version features some new modules including gnosis.utils.hashcash (implementing Hashcash v.1), disthelper (scripts and modules for building/maintaining a Python source distribution), gnosis.pyconfig (detects capabilities available in a Python interpreter, instead of relying on sys.version_info), and gnosis.xml.xmlmap (Unicode-to-XML legality testing). There is one critical change in gnosis.xml.pickle; all xml.pickle users are encouraged to upgrade. gnosis.xml.objectify is significantly faster and contains many new functions. There are also some bugfixes in gnosis.xml.objectify, gnosis.xml.indexer, and gnosis.utils.convert.dmText2Html.
Release Notes: This release adds a new package, gnosis.xml.relax, for working with RELAX NG. There are miscellaneous speedups and bugfixes in gnosis.xml.objectify, improvements in floating point handling in gnosis.xml.pickle, and minor fixes in gnosis.util.introspect.
Release Notes: This release contains enhancements to gnosis.xml.objectify. The _XO_.__repr__ method was added to make nodes print in a nicer, more compact fashion. The _seq attribute was added to node objects to support structure preserving convenience functions. The default parser was changed to expat. If you have relied on the special attribute _XML that the DOM parser attaches to nodes, you will now need to explicitly specify DOM as the parser used.