Metadata-parser

Latest version: v0.12.3

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

Scan your dependencies

Page 2 of 14

0.10.5

packaging fixes
migrated 'types.txt' out of distribution; it remains in github source
updated some log lines with the url
introduced some new log lines
added `METADATA_PARSER__DISABLE_TLDEXTRACT` env
merged, but reverted PR34 which addresses Issue32

0.10.4

* black via pre-commit
* upgraded black; 20.8b1
* integrated with pre-commit
* github actions and tox
* several test files were not in git!

0.10.3

updated docs on bad data
black formatting
added pyproject.toml
moved BeautifulSoup generation into it's own method, so anyone can subclass to customize
:fixes: https://github.com/jvanasco/metadata_parser/issues/25
some internal variable changes thanks to flake8

0.10.2

added some docs on encoding

0.10.1

clarifying some inline docs
BREAKING CHANGE: `fetch_url` now returns a tuple of `(html, encoding)
now tracking in ParsedResult: encoding
ParsedResult.metadata['_internal']['encoding'] = resp.encoding.lower() if resp.encoding else None
`.parse` now accepts `html_encoding`
refactored url fetching to use context managers
refactored url fetching to only insert our hooks when needed
adjusted test harness to close socket connections

0.10.0

better Python3 support by using the six library

Page 2 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.