User-Agent parsing library for PyPI analytics. Extracts and normalizes client information from HTTP User-Agent strings, used by the Warehouse packaging repository. Current version 1.0.3 supports Python 3.11+ with a simple API for parsing and categorizing user agents into known bots, browsers, and package managers.
pip install linehaulNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize parser and parse a User-Agent string.
Upgrade to Python 3.11 or later.
try: result = parser.parse(user_agent); except ValueError: handle_error()
Consider forking or using alternative libraries if new features needed.
No dependency data recorded yet.