ua-parser-rs
native accelerator for ua-parser
Decision gist · record as of 2026-08-14
Yes, if you use ua-parser and want a performance boost without API changes. The package is actively maintained, has no known vulnerabilities, and offers precompiled wheels for common platforms. Install friction is medium but manageable. Not recommended for direct use outside ua-parser integration—check ua-parser's documentation for how to enable this accelerator.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; precompiled wheels available for common architectures, but installation on unsupported platforms may require Rust toolchain.
- Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (x86_64, ARM64 on Linux, macOS, Windows) and Python versions 3.10–3.14, reducing build complexity.
- Active maintenance with recent commits.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions; suitable for most projects.
last release 2026-04-05 (131 days) · last repo commit 2026-03-22 · 11 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,529,694 downloads/mo, #2,590 on PyPI
Alternatives
Verify before relying
pip install ua-parser-rs
import ua_parser_rs
# Typically used as a backend to ua-parser, not directly
result = ua_parser_rs.parse_user_agent("Mozilla/5.0...")- Whether this package can be used standalone or only through ua-parser's integration layer.
- Performance improvement magnitude compared to pure-Python ua-parser.
- Stability of the public API beyond the stated 'very simplistic' export.
What it is and what it does
ua-parser-rs is a Rust-based accelerator for user-agent parsing, designed as a native backend for the ua-parser library rather than for direct use. It wraps uap-rust, a Rust implementation of the user-agent parsing specification, and exposes a minimal Python API to parse HTTP user-agent strings into structured data about browsers, operating systems, and devices.
The package trades ease of development for speed: it requires Python 3.10+ and is distributed as precompiled wheels for major platforms and Python implementations (CPython, GraalPy, PyPy). Installation is straightforward on common systems, though unsupported architectures may need a Rust build environment. The API is intentionally simple and stable to minimize maintenance burden, though the maintainers make no formal guarantee of backward compatibility.
Use it for
- Speed up web request logging and analytics by parsing user-agent strings faster than pure-Python implementations.
- Integrate into ua-parser as a drop-in accelerator backend for existing applications already using ua-parser.
- Analyze HTTP traffic in high-throughput services where user-agent parsing is a bottleneck.
- Extract browser, OS, and device details from server logs or request streams in real time.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use ua-parser and want a performance boost without API changes.
The package is actively maintained, has no known vulnerabilities, and offers precompiled wheels for common platforms. Install friction is medium but manageable. Not recommended for direct use outside ua-parser integration—check ua-parser's documentation for how to enable this accelerator.
Install
ua-parser-rs on PyPI
Before you install
Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (x86_64, ARM64 on Linux, macOS, Windows) and Python versions 3.10–3.14, reducing build complexity. Active maintenance with recent commits.
Requires Python 3.10 or later; precompiled wheels available for common architectures, but installation on unsupported platforms may require Rust toolchain.
License in practice
Apache 2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions; suitable for most projects.
Quickstart
pip install ua-parser-rs
import ua_parser_rs
# Typically used as a backend to ua-parser, not directly
result = ua_parser_rs.parse_user_agent("Mozilla/5.0...")
Verify before relying
- Whether this package can be used standalone or only through ua-parser's integration layer.
- Performance improvement magnitude compared to pure-Python ua-parser.
- Stability of the public API beyond the stated 'very simplistic' export.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 131 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,529,694 / month, #2,590 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: GraalPyProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust |
Evidence: ua_parser_rs-0.1.5-cp310-abi3-macosx_10_12_x86_64.whl; ua_parser_rs-0.1.5-cp310-abi3-macosx_11_0_arm64.whl; ua_parser_rs-0.1.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; ua_parser_rs-0.1.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; ua_parser_rs-0.1.5-cp310-abi3-manylinux_2_34_aarch64.whl; ua_parser_rs-0.1.5-cp310-abi3-manylinux_2_34_x86_64.whl; ua_parser_rs-0.1.5-cp310-abi3-win_amd64.whl; ua_parser_rs-0.1.5-cp310-abi3-win_arm64.whl; ua_parser_rs-0.1.5-cp314-cp314t-macosx_10_12_x86_64.whl; ua_parser_rs-0.1.5-cp314-cp314t-macosx_11_0_arm64.whl; ua_parser_rs-0.1.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; ua_parser_rs-0.1.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; ua_parser_rs-0.1.5-cp314-cp314t-manylinux_2_34_aarch64.whl; ua_parser_rs-0.1.5-cp314-cp314t-manylinux_2_34_x86_64.whl; ua_parser_rs-0.1.5-cp314-cp314t-win_amd64.whl; ua_parser_rs-0.1.5-cp314-cp314t-win_arm64.whl; ua_parser_rs-0.1.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl; ua_parser_rs-0.1.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl; ua_parser_rs-0.1.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; ua_parser_rs-0.1.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “user agent parser”
- ua-parser-rsProvides a Rust-accelerated user-agent parser that integrates as a…
- httpagentparserParses HTTP User-Agent strings to extract and identify the operating…
- ua-parserParses user-agent strings to extract browser, operating system, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also ua-parser · ua-parser-builtins · user-agents · ua-generator · fake-useragent · httpagentparser · django-user-agents · device-detector · browser-use-core · user-agent