Ua-parser

Latest version: v1.0.1

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

Scan your dependencies

1.0.1

This led to the parser having to be re-created on every access, which is quite expensive for the re2 and regex-based parser and completely negates their purpose.

This can be worked around by using a from-import (as Python will do the memoizing in that case, although every such from-import would create its own parser still)

from ua_parser import parser

or setting the global parser "by hand" e.g.

ua_parser.parser = ua_parser.parser

but obviously that requires knowing about the issue.

Major thanks to Rafiot for the report.

1.0.0

1.0.0a2

previous release had a bunch of broken urls (doc and pypi), this should hopefully fix them

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.