XPath-based XML data binding
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be997da1a64ecdd2788203be351a19ade1e6ce64352519ebeb184e339fd6101c
|
|
| MD5 |
ce772ac85bcf2b5e72ba6f59b80bfc63
|
|
| BLAKE2b-256 |
b4be4312ad56a67f6bb818105b2bb1081437bafedf99302372c3c71668601d9f
|
Provenance
The following attestation bundles were made for neuxml-1.0.0.tar.gz:
Publisher:
python-publish.yml on Princeton-CDH/neuxml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neuxml-1.0.0.tar.gz -
Subject digest:
be997da1a64ecdd2788203be351a19ade1e6ce64352519ebeb184e339fd6101c - Sigstore transparency entry: 222274654
- Sigstore integration time:
-
Permalink:
Princeton-CDH/neuxml@992ff81850daa61f7486132d12936ed9f8306421 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/Princeton-CDH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@992ff81850daa61f7486132d12936ed9f8306421 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab2d28f64d6c55d56e6712839defd4357d87990b94d36857262f94bde5d60860
|
|
| MD5 |
11c7a1c2e62e0adc8078ebcd9051d2bc
|
|
| BLAKE2b-256 |
a86b02a196aa31ff001e16e25ce84c2bf68be9582d78b1b82af223c09332ce92
|
Provenance
The following attestation bundles were made for neuxml-1.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on Princeton-CDH/neuxml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neuxml-1.0.0-py3-none-any.whl -
Subject digest:
ab2d28f64d6c55d56e6712839defd4357d87990b94d36857262f94bde5d60860 - Sigstore transparency entry: 222274688
- Sigstore integration time:
-
Permalink:
Princeton-CDH/neuxml@992ff81850daa61f7486132d12936ed9f8306421 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/Princeton-CDH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@992ff81850daa61f7486132d12936ed9f8306421 -
Trigger Event:
release
-
Statement type: