delb 0.5-rc0
Pre-release
Pre-release
This iteration took quiet long to complete as it presumably solved the hardest problem on the way to shed off the essential dependency on lxml
, also resulting in human-friendly serializations that achieve unprecedented clarity. The library's robustness is now proven with integration tests that are verified against eleven diverse TEI encoded corpora that sum up to more than 360k documents with a total volume of 3.33 GB.
News
- delb is now autonomously serializing contents, the „Serialization” chapter details current capabilities and interfaces.
- The HTML documentation received a big revision for pleasant discovery and reading.
- Methods that add nodes to a tree now return the added concrete nodes.
- The new
delb.compare_trees
is available to compare nested contents. ⚠️ delb.ParserOptions.collapse_whitespace
was renamed todelb.ParserOptions.reduce_whitespace
, as there is nowdelb.Document.reduce_whitespace
to reflect that they also trim excessive whitespace.⚠️ delb.Document.head_nodes
was renamed todelb.Document.prologue
,delb.Document.tail_nodes
todelb.Document.epilogue
.⚠️ delb.get_traverser
now only accepts keyword arguments.⚠️ Support for Python 3.7 was removed.- Support for Python 3.12 and 3.13 was added.
⚠️ The_delb.plugins.core_loaders.etree_loader
is marked as deprecated.
Previously deprecated contents have been removed.
The package distributions are available at the Python Package Index.