Markupever

Latest version: v0.2.1

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

Changed
* We have new parameters for `serialize()` and `serialize_bytes()` methods: `indent` and `include_self`
* Now the serializer has moved away from its rigid state and is producing beautiful outputs.
python
dom.serialize()
<html>
<head></head>
<body>
<p>New Release</p>
</body>
</html>


* Now `Parser.finish()` and `Parser.process()` methods returns self to make easier coding for you
python
result = markupever.Parser(options).process("Hello").finish()


**Full Changelog**: https://github.com/awolverp/markupever/compare/v0.1.1...v0.2.0

0.1.1

Changed
- Change format of `QualName.__repr__`; From now on, if both the `ns` and `prefix` are empty, they will not be return.

python
>>> QualName("html")
QualName(local="html")
>>> QualName("html", "html")
QualName(local="html", ns="http://www.w3.org/1999/xhtml", prefix=None)


- Change format of `Element.__repr__`; From now on, instead of the long name `mathml_annotation_xml_integration_point` will return `integration_point` in output
python
Example output:
Element(name=QualName(local="html"), attrs=[], template=false, integration_point=false)

0.1.0

Added
- Initial release of **MarkupEver**

Fixed
- Fix known issues and improve some performance
- Rewrite `TreeDom.__repr__` and `TreeDom.__str__` methods

Example:
python
dom = markupever.parse("<book>Thinking</book>", markupever.XmlOptions())

repr(dom)
TreeDom(len=3, namespaces={'': ''})

str(dom)
Document
└── Element(name=QualName(local="book", ns="", prefix=None), attrs=[], template=false, mathml_annotation_xml_integration_point=false)
└── Text(content="Thinking")

0.1.0beta1

Added
- Beta release of **MarkupEver**
- Core functionality: A library for creating, managing, and parsing markup language specially HTML and XML.
- Documentation: https://awolverp.github.io/markupever

Known Issues
- printing `TreeDom` has a busy output; will be fixed in future updates

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.