Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

delb

Latest version on PyPI Documentation Python versions License 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.

  • Applying XSL Transformations.

Development status

This project is currently developed as proof-of-concept. If you happen to depend on it, please notify me to consider this in future.

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.

ROADMAPish

  • gain insights from usage experience

  • implement the API in Rust

  • provide bindings for Python and Javascript to the Rust implementation, while nurturing the lxml-based implementation as reference for some time

  • be finished before the Digital Humanities community realizes how to foster a viable software ecosystem and fund such efforts

Metadata

Release files for delb 0.2b2

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.2b2
File Size Uploaded
delb-0.2b2.tar.gz 38.7 kB Details

Built distribution (wheel)

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

Total release size: 82.6 kB

Release files / delb-0.2b2.tar.gz

Download URL delb-0.2b2.tar.gz
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9d25611cad16516c5d7f003f18f96e85a00e2ccb778d55b78ce47fa7c116d275
BLAKE2b-256 checksum
How to use checksums
c1004e86984d8220766b802007313a335c584e2d025e1f6ed209507690631262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.5 Linux/5.3.0-24-generic

Release files / delb-0.2b2-py3-none-any.whl

Download URL delb-0.2b2-py3-none-any.whl
Size 43.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce7deba9f5c4c3a15b6d7af0ecc786babf4a5819f0d11c43a2dfe3f46ca64b93
BLAKE2b-256 checksum
How to use checksums
25990f04a66142a4325086ea90ac200c256a6794b90aa34fd4d21b95de34d69e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.5 Linux/5.3.0-24-generic

Release history Release notifications | RSS feed

0.6.1

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

This release

0.2b2 This release

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