Skip to main content

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

delb is a library that provides an ergonomic model to process 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 (academic & scientific) communities in the Python ecosystem.

For a more elaborated discussion on the project’s motivation see the Design chapter of the documentation.

Features & paradigms

  • XML DOM types are represented by distinct classes.

  • A completely type-annotated API with consistent naming and callables’ signatures.

  • Loads documents from various source types.

  • Easy, simply filterable traversing of a document in all directions staring from any node.

  • 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.

  • Optional whitespace handling per TEI recommendation.

  • Various customization opportunities (document loaders & representations, XML parser, XPath functions).

  • It’s well tested.

Development status

While the software is still to be considered in beta phase, the interfaces are mostly stable and the implementation is thoroughly tested. Future changes shall be introduced in a non-breaking fashion that allows gradual updates. New features will be marked as experimental until they’ve proven to be stable. 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.

Metadata

Release files for delb 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for delb 0.6.1
File Size Uploaded
delb-0.6.1.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for delb 0.6.1
File Interpreter ABI Platform
delb-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / delb-0.6.1.tar.gz

Download URL delb-0.6.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
35438f68fc36d446f05e3a7b74ff173f639495c7d3fd348e9d344338b7cb022f
BLAKE2b-256 checksum
How to use checksums
64706fd9bd229f15444018f68bf31e96424b32b471b9a36fcd3187f54aca4f7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / delb-0.6.1-py3-none-any.whl

Download URL delb-0.6.1-py3-none-any.whl
Size 95.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22833ec5aaf86c9d1ed9490e5f29ce0458ee61b772d8f92df558fc0a480c3009
BLAKE2b-256 checksum
How to use checksums
19f73ca299ec1ffcd6d5bc70f393d27c9a52549283764ec252bba49e9f80ba40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6

2 release files

0.5.1

2 release files

0.5

2 release files

0.4

2 release files

0.3.0

2 release files

0.2

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page