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

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.2b2.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

delb-0.2b2-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

Details for the file delb-0.2b2.tar.gz.

File metadata

  • Download URL: delb-0.2b2.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.7.5 Linux/5.3.0-24-generic

File hashes

Hashes for delb-0.2b2.tar.gz
Algorithm Hash digest
SHA256 9d25611cad16516c5d7f003f18f96e85a00e2ccb778d55b78ce47fa7c116d275
MD5 600a0671752f3689807e31fc3e3fce6c
BLAKE2b-256 c1004e86984d8220766b802007313a335c584e2d025e1f6ed209507690631262

See more details on using hashes here.

File details

Details for the file delb-0.2b2-py3-none-any.whl.

File metadata

  • Download URL: delb-0.2b2-py3-none-any.whl
  • Upload date:
  • Size: 43.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.7.5 Linux/5.3.0-24-generic

File hashes

Hashes for delb-0.2b2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce7deba9f5c4c3a15b6d7af0ecc786babf4a5819f0d11c43a2dfe3f46ca64b93
MD5 b8f2a7523620ced93a9ad5418e09bf77
BLAKE2b-256 25990f04a66142a4325086ea90ac200c256a6794b90aa34fd4d21b95de34d69e

See more details on using hashes here.

Supported by

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