Skip to main content

XPath-based XML data binding

Project description

PyPI License PyPI - Python Version PyPI downloads

neuxml is a Python library that provides utilities and classes for object-oriented access to XML. neuxml makes it possible to define reusable python classes to access, update, and create XML content as standard Python types.

neuxml.xmlmap makes it possible to map XML content to Python objects in a pythonic and object-oriented way, which is easier to use than typical DOM access. With the neuxml.xmlmap.XmlObject class, XML can be read, modified, and even created from scratch in some cases, as long as the configured XPath can be used to construct new nodes.

Object-oriented access depends on neuxml.xpath, which provides functions and classes for parsing XPath expressions using PLY.

Installation

We recommend using pip to install the officially released versions from PyPI:

pip install neuxml

It is also possible to install directly from GitHub. Use a branch or tag name, e.g. @develop or @1.0 to install a specific tagged version or branch.

pip install git+https://github.com/Princeton-CDH/neuxml.git@develop#egg=neuxml

License

neuxml is distributed under the Apache 2.0 License.

Development History

neuxml is a hard fork of eulxml, which was originally developed by Emory University Libraries from 2011-2016. neuxml has been updated for compatibility with current versions of Python and drops the support for Django form integration. The full development history for the eulxml package is available at the original repository: https://github.com/emory-libraries/eulxml

Technical documentation

For instructions on developer setup, unit testing, XML catalog file management, and migrating from eulxml, refer to DEVNOTES.rst.

Migration from eulxml

If migrating from a previous eulxml installation, see MIGRATION.rst.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neuxml-1.0.0.tar.gz (283.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuxml-1.0.0-py3-none-any.whl (213.4 kB view details)

Uploaded Python 3

File details

Details for the file neuxml-1.0.0.tar.gz.

File metadata

  • Download URL: neuxml-1.0.0.tar.gz
  • Upload date:
  • Size: 283.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for neuxml-1.0.0.tar.gz
Algorithm Hash digest
SHA256 be997da1a64ecdd2788203be351a19ade1e6ce64352519ebeb184e339fd6101c
MD5 ce772ac85bcf2b5e72ba6f59b80bfc63
BLAKE2b-256 b4be4312ad56a67f6bb818105b2bb1081437bafedf99302372c3c71668601d9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuxml-1.0.0.tar.gz:

Publisher: python-publish.yml on Princeton-CDH/neuxml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neuxml-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: neuxml-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 213.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for neuxml-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2d28f64d6c55d56e6712839defd4357d87990b94d36857262f94bde5d60860
MD5 11c7a1c2e62e0adc8078ebcd9051d2bc
BLAKE2b-256 a86b02a196aa31ff001e16e25ce84c2bf68be9582d78b1b82af223c09332ce92

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuxml-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on Princeton-CDH/neuxml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page