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.5rc0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: delb-0.5rc0.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.5rc0.tar.gz
Algorithm Hash digest
SHA256 d1bb816f6fc2d632731779d49a648c203ca231218ea0e57b92ea5d6bd24bed4a
MD5 1e9b4e2f149467cb3f7fe9ccd5da1323
BLAKE2b-256 d274d312a9dc1a8defae3600fbba6ccb74d707c2790fa993ff5f8347d2da433a

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

  • Download URL: delb-0.5rc0-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.5rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b7ee7c7a50549b34338441bc24ed5b9fe84bf65702e44a10e1040dea360d8f9
MD5 f998bc29d164811a73bf8d65ef87d101
BLAKE2b-256 d611deac7bf6f5ec9cccd6f82f71eca6ca85c19e74719558a604ed8aa01f0ac8

See more details on using hashes here.

Provenance

The following attestation bundles were made for delb-0.5rc0-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