Mf2py

Latest version: v2.0.1

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

Scan your dependencies

Page 3 of 4

0.2.8

- Stricter checks that Parser.__init__ params are actually None before
ignoring them.

0.2.7

- Now produces unicode strings for every key and value, no more byte
strings anywhere.
- Do not add 'T' between date and time when normalizing dates
- Unit tests for running the microformats test suite

0.2.6

- New top-level "rel-urls" entry, contains rich data parsed from rel
links, organized by URL.

0.2.5

- convenience method `mf2py.parse` that takes the same arguments as Parser
and returns a dict.
- nested h-* classes now parse their "value" based on the property
they represent (p-*, u-*, dt-*), so for example "p-in-reply-to
h-cite" would have a name as its value and "u-in-reply-to h-cite"
will have a URL.

0.2.4

- Add rel=bookmark to backward compat parsing rules based (translated
to u-url in mf2)
- Parser constructor now takes explicit named arguments instead of
**kwargs, for saner behavior when called with unnamed arguments.
- Bugfix: Empty href="" attributes are now properly interpreted as
the current document's URL.

0.2.3

- Minor Py3 compatibility fix
- Correct typo `test_requires` -> `tests_require` in setup.py

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.