Skip to main content

A library that provides an ergonomic model for XML encoded text documents (e.g. with TEI-XML).

Project description

Latest version on PyPI Documentation Python versions License mypy-checked Black code style

delb is a library that provides an ergonomic model for XML encoded text documents (e.g. TEI-XML) for the Python programming language. It fills a gap for the humanities-related field of software development towards the excellent (scientific) communities in the Python ecosystem.

For a more elaborated discussion see the Design chapter of the documentation.

Features

  • Loads documents from various source types. This is customizable and extensible.

  • XML DOM types are represented by distinct classes.

  • A completely type-annotated API.

  • Consistent design regarding names and callables’ signatures.

  • Shadows comments and processing instructions by default.

  • Querying with XPath and CSS expressions.

  • Serializations that may fulfil the promise of XML’s well-readability to an unwitnessed degree and even don’t mess up whitespace.

Development status

You’re invited to submit tests that reflect desired use cases or are merely of theoretical nature. Of course, any kind of proposals for or implementations of improvements are welcome as well.

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

delb-0.5rc1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

delb-0.5rc1-py3-none-any.whl (84.4 kB view details)

Uploaded Python 3

File details

Details for the file delb-0.5rc1.tar.gz.

File metadata

  • Download URL: delb-0.5rc1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for delb-0.5rc1.tar.gz
Algorithm Hash digest
SHA256 a712fe8e5a98c0377141ba703e2fed9f7c4f4cd7a9a9fcaa293fac1434c4d45e
MD5 d62b9471022abd2c6934bd6248d7e4f6
BLAKE2b-256 b1d349ede19fa25ebe601634177509e54be77e82c47a632a101e6817074699e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for delb-0.5rc1.tar.gz:

Publisher: publish.yml on delb-xml/delb-py

Attestations:

File details

Details for the file delb-0.5rc1-py3-none-any.whl.

File metadata

  • Download URL: delb-0.5rc1-py3-none-any.whl
  • Upload date:
  • Size: 84.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for delb-0.5rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 a83e7226e9f1a4b248b58205e30a6c54fb6230702eae5c40257d5ad6ec9c8cef
MD5 13d0b16716df287a6dda517cbc9bc8ed
BLAKE2b-256 53cdfc3ef82bfebebe9bced112cd9ddcd110d42b828cd7673e290c41571a4044

See more details on using hashes here.

Provenance

The following attestation bundles were made for delb-0.5rc1-py3-none-any.whl:

Publisher: publish.yml on delb-xml/delb-py

Attestations:

Supported by

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