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

Uploaded Source

Built Distribution

delb-0.5.1-py3-none-any.whl (85.8 kB view details)

Uploaded Python 3

File details

Details for the file delb-0.5.1.tar.gz.

File metadata

  • Download URL: delb-0.5.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for delb-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5db40e955c18f370cf8840de3bc87b7a8822d248cb4d7c5a737fa14b2f739983
MD5 8684f1f6f4de6c2c13142be04615a8aa
BLAKE2b-256 b28ac9389505bfeeff5d0c0f455218ad0bba5c3f9796e05f59028280f4240cf1

See more details on using hashes here.

Provenance

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

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

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

File details

Details for the file delb-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: delb-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 85.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for delb-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61c6df6cadbdb49b3ee62b76175f68f5f76e7fcbda972820e89a305ee963f667
MD5 773324ecdaeccfadd69be98515b9299d
BLAKE2b-256 9c4006bbb3b4e0d3ac01070a43ab633add46a580737b550b556cdd307c521d11

See more details on using hashes here.

Provenance

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

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

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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page