Recent Releases of delb
delb - delb 0.5.1
News
Further deprecations that emit messages with hints to alternatives if available:
-
NodeBase.new_tag_node - Empty / null namespaces will generally be represented as empty strings in the future.
-
TagNode.parse
The package distributions are available at the Python Package Index.
- HTML
Published by github-actions[bot] about 1 year ago
delb - delb 0.5
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_treesis available to compare nested contents. - ⚠️ To align with Python standard behaviour, accessing a non-existing attribute with subscript notation now raises a
KeyError. - ⚠️ The use of namespace declarations (to prefixes) that were used in a parsed source stream is deprecated. Notably queries will not use them as fallback when invoked without the
namespacesargument. Instead they will likely use the called-on node's namespace as default namespace. - ⚠️
delb.ParserOptions.collapse_whitespacewas renamed todelb.ParserOptions.reduce_whitespace, as there is nowdelb.Document.reduce_whitespaceto reflect that they also trim excessive whitespace. - ⚠️ The Xpath evaluation expressions of absolute paths on the child axis in the first location step is fixed. Consider to double check your usages.
- Comparing
TagNodeinstances is now de facto an identity check. The previous behaviour can be achieved by comparingTagNode.universal_nameandTagNode.attributes. - ⚠️
delb.Document.head_nodeswas renamed todelb.Document.prologue,delb.Document.tail_nodestodelb.Document.epilogue. - ⚠️
delb.get_traversernow 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_loaderis marked as deprecated.
Previously deprecated contents have been removed.
The package distributions are available at the Python Package Index.
- HTML
Published by funkyfuture about 1 year ago
delb - delb 0.5-rc2
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_treesis available to compare nested contents. - ⚠️ The use of namespace declarations (to prefixes) that were used in a parsed source stream is deprecated. Notably queries will not use them as fallback when invoked without the
namespacesargument. Instead they will likely use the called-on node's namespace as default namespace. - ⚠️
delb.ParserOptions.collapse_whitespacewas renamed todelb.ParserOptions.reduce_whitespace, as there is nowdelb.Document.reduce_whitespaceto reflect that they also trim excessive whitespace. - ⚠️ The Xpath evaluation expressions of absolute paths on the child axis in the first location step is fixed. Consider to double check your usages.
- Comparing
TagNodeinstances is now de facto an identity check. The previous behaviour can be achieved by comparingTagNode.universal_nameandTagNode.attributes. - ⚠️
delb.Document.head_nodeswas renamed todelb.Document.prologue,delb.Document.tail_nodestodelb.Document.epilogue. - ⚠️
delb.get_traversernow 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_loaderis marked as deprecated.
Previously deprecated contents have been removed.
The package distributions are available at the Python Package Index.
- HTML
Published by github-actions[bot] about 1 year ago
delb - delb 0.5-rc1
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_treesis available to compare nested contents. - ⚠️
delb.ParserOptions.collapse_whitespacewas renamed todelb.ParserOptions.reduce_whitespace, as there is nowdelb.Document.reduce_whitespaceto reflect that they also trim excessive whitespace. - ⚠️
delb.Document.head_nodeswas renamed todelb.Document.prologue,delb.Document.tail_nodestodelb.Document.epilogue. - ⚠️
delb.get_traversernow 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_loaderis marked as deprecated.
Previously deprecated contents have been removed.
The package distributions are available at the Python Package Index.
- HTML
Published by github-actions[bot] over 1 year ago
delb - delb 0.5-rc0
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_treesis available to compare nested contents. - ⚠️
delb.ParserOptions.collapse_whitespacewas renamed todelb.ParserOptions.reduce_whitespace, as there is nowdelb.Document.reduce_whitespaceto reflect that they also trim excessive whitespace. - ⚠️
delb.Document.head_nodeswas renamed todelb.Document.prologue,delb.Document.tail_nodestodelb.Document.epilogue. - ⚠️
delb.get_traversernow 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_loaderis marked as deprecated.
Previously deprecated contents have been removed.
The package distributions are available at the Python Package Index.
- HTML
Published by funkyfuture over 1 year ago