Mf2py

Latest version: v2.0.1

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

Scan your dependencies

Page 2 of 4

1.0.5

- Implied property checks now ignore alt="", treating it the same as
if no alt value is defined.
- Support for using a custom dict implementation by setting
mf2py.Parser.dict_class. collections.OrderedDict yields much nicer
output for hosted parsers.

1.0.4

- Performance improvement changing simple calls to soup.find_all to
a manual iteration over .contents.

1.0.3

- Performance improvement by limiting number of calls to soup.find_all
in backcompat module. Should not be any functional changes.

1.0.2

- Backward compatibility parsing for rel=tag properties. These are now converted
to p-category based on the last path segment of the tag URI as spec'd in
http://microformats.org/wiki/h-entry#Parser_Compatibility
- Optional property html_parser to specify the html parser that BeautifulSoup
should use (e.g., "lxml" or "html5lib")

1.0.1

- `u-*` properties are now parsed from `<link>` elements per the updated spec
http://microformats.org/wiki/microformats2-parsing-issues#link_elements_and_u-_parsing

1.0.0

- Version number bumped to 1.0.0 following community discussion.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.