Name | delb JSON |
Version |
0.4
JSON |
| download |
home_page | |
Summary | A library that provides an ergonomic model for XML encoded text documents (e.g. with TEI-XML). |
upload_time | 2022-11-02 20:55:48 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
markup
tei
text processing
xml
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
delb
====
|latest-version| |rtd| |python-support| |license| |black|
``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.
.. _TEI-XML: https://tei-c.org
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.
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.
Related Projects & Testimonials
-------------------------------
snakesist_ is an eXist-db client that uses ``delb`` to expose database
resources.
Kurt Raschke `noted in 2010`_::
In a DOM-based implementation, it would be relatively easy […]
But lxml doesn't use text nodes; instead it uses [text] and [tail]
properties to hold text content.
.. _snakesist: https://pypi.org/project/snakesist/
.. _noted in 2010: https://web.archive.org/web/20190316214219/https://kurtraschke.com/2010/09/lxml-inserting-elements-in-text/
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square
:alt: Black code style
:target: https://black.readthedocs.io/
.. |latest-version| image:: https://img.shields.io/pypi/v/delb.svg?style=flat-square
:alt: Latest version on PyPI
:target: https://pypi.org/project/delb
.. |license| image:: https://img.shields.io/pypi/l/delb.svg?style=flat-square
:alt: License
:target: https://github.com/delb-xml/delb-py/blob/main/LICENSE.txt
.. |python-support| image:: https://img.shields.io/pypi/pyversions/delb.svg?style=flat-square
:alt: Python versions
.. |rtd| image:: https://img.shields.io/badge/RTD-Docs-informational.svg?style=flat-square
:alt: Documentation
:target: https://delb.readthedocs.io/
Raw data
{
"_id": null,
"home_page": "",
"name": "delb",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "markup,tei,text processing,xml",
"author": "",
"author_email": "Frank Sachsenheim <delb-project@posteo.net>",
"download_url": "https://files.pythonhosted.org/packages/ee/cc/263c27b97e4cc4c45da8759d7789caa788dfa3155985d3661bbfe3b1293d/delb-0.4.tar.gz",
"platform": null,
"description": "delb\n====\n\n|latest-version| |rtd| |python-support| |license| |black|\n\n``delb`` is a library that provides an ergonomic model for XML encoded text\ndocuments (e.g. TEI-XML_) for the Python programming language.\nIt fills a gap for the humanities-related field of software development towards\nthe excellent (scientific) communities in the Python ecosystem.\n\nFor a more elaborated discussion see the *Design* chapter of the documentation.\n\n.. _TEI-XML: https://tei-c.org\n\n\nFeatures\n--------\n\n- Loads documents from various source types. This is customizable and\n extensible.\n- XML DOM types are represented by distinct classes.\n- A completely type-annotated API.\n- Consistent design regarding names and callables' signatures.\n- Shadows comments and processing instructions by default.\n- Querying with XPath and CSS expressions.\n\n\nDevelopment status\n------------------\n\nYou're invited to submit tests that reflect desired use cases or are merely of\ntheoretical nature. Of course, any kind of proposals for or implementations of\nimprovements are welcome as well.\n\n\nRelated Projects & Testimonials\n-------------------------------\n\nsnakesist_ is an eXist-db client that uses ``delb`` to expose database\nresources.\n\nKurt Raschke `noted in 2010`_::\n\n In a DOM-based implementation, it would be relatively easy [\u2026]\n But lxml doesn't use text nodes; instead it uses [text] and [tail]\n properties to hold text content.\n\n\n.. _snakesist: https://pypi.org/project/snakesist/\n.. _noted in 2010: https://web.archive.org/web/20190316214219/https://kurtraschke.com/2010/09/lxml-inserting-elements-in-text/\n\n\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square\n :alt: Black code style\n :target: https://black.readthedocs.io/\n.. |latest-version| image:: https://img.shields.io/pypi/v/delb.svg?style=flat-square\n :alt: Latest version on PyPI\n :target: https://pypi.org/project/delb\n.. |license| image:: https://img.shields.io/pypi/l/delb.svg?style=flat-square\n :alt: License\n :target: https://github.com/delb-xml/delb-py/blob/main/LICENSE.txt\n.. |python-support| image:: https://img.shields.io/pypi/pyversions/delb.svg?style=flat-square\n :alt: Python versions\n.. |rtd| image:: https://img.shields.io/badge/RTD-Docs-informational.svg?style=flat-square\n :alt: Documentation\n :target: https://delb.readthedocs.io/\n",
"bugtrack_url": null,
"license": "",
"summary": "A library that provides an ergonomic model for XML encoded text documents (e.g. with TEI-XML).",
"version": "0.4",
"project_urls": {
"Changelog": "https://delb.readthedocs.io/en/latest/changes.html",
"Documentation": "https://delb.readthedocs.io/",
"Issue tracker": "https://github.com/delb-xml/delb-py/issues",
"Repository": "https://github.com/delb-xml/delb-py"
},
"split_keywords": [
"markup",
"tei",
"text processing",
"xml"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7536ae5a3abc2c5deb45ec060b6e08b26d277c2bd67b27d2f53b8996c3f0bc30",
"md5": "19640ba47892f1719b904abb5a6d3d49",
"sha256": "6da44954af942accfd9bf2991f3e5f62327a9c225ee1492d9b59c3fedfaee5c1"
},
"downloads": -1,
"filename": "delb-0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "19640ba47892f1719b904abb5a6d3d49",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 73521,
"upload_time": "2022-11-02T20:55:46",
"upload_time_iso_8601": "2022-11-02T20:55:46.146927Z",
"url": "https://files.pythonhosted.org/packages/75/36/ae5a3abc2c5deb45ec060b6e08b26d277c2bd67b27d2f53b8996c3f0bc30/delb-0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eecc263c27b97e4cc4c45da8759d7789caa788dfa3155985d3661bbfe3b1293d",
"md5": "ae25b51c2b2df20eeb46b15c30e6a199",
"sha256": "0ad63bbcc8cf94e8e02d4ace6805764cdf1ba238c0a8ae03ef446272677aaf2f"
},
"downloads": -1,
"filename": "delb-0.4.tar.gz",
"has_sig": false,
"md5_digest": "ae25b51c2b2df20eeb46b15c30e6a199",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 59759,
"upload_time": "2022-11-02T20:55:48",
"upload_time_iso_8601": "2022-11-02T20:55:48.440051Z",
"url": "https://files.pythonhosted.org/packages/ee/cc/263c27b97e4cc4c45da8759d7789caa788dfa3155985d3661bbfe3b1293d/delb-0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-11-02 20:55:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "delb-xml",
"github_project": "delb-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "delb"
}