pyfaup-rs
Python bindings for faup-rs Rust library
Decision gist · record as of 2026-08-14
Yes, if you need fast URL parsing in Python 3.8+ and can accept GPLv3 licensing. The Rust backend, zero runtime dependencies, and broad wheel coverage make it a low-friction choice for URL decomposition tasks. The active maintenance and recent release are positive signals. Avoid if your project requires proprietary licensing or if you are already satisfied with urllib.parse's performance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; pre-built wheels available for Python 3.10–3.11, source builds require Rust toolchain.
- Medium install friction due to compiled wheels; pre-built binaries available for Python 3.10–3.11 across Linux, macOS, and Windows architectures.
- Active maintenance with a recent release (18 days old).
License · maintenance · safety
GPL-3.0 (copyleft) — Licensed under GPLv3 (copyleft); any derivative or distributed work must also be open-source under GPLv3. Acceptable for internal use and open-source projects, but incompatible with proprietary software that cannot adopt the same license.
last release 2026-07-27 (18 days) · last repo commit 2026-07-27 · 7 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 92,474 downloads/mo, #13,451 on PyPI
Alternatives
Verify before relying
pip install pyfaup-rs
from pyfaup import Url
url = Url("https://user:pass@sub.example.com:8080/path?query=value#fragment")
print(url.scheme, url.host, url.port)- Performance benchmarks comparing pyfaup-rs to urllib.parse or other URL parsing libraries.
- Whether the FaupCompat class is materially slower than the Url class in practice.
- Support status and timeline for Python 3.12+ wheels.
What it is and what it does
pyfaup-rs is a Python URL parser built in Rust using PyO3, designed to extract and normalize URL components efficiently. It parses a URL string into scheme, credentials, host, subdomain, domain, TLD, port, path, query, and fragment, exposing them as attributes on a Url object. The package also provides a FaupCompat class that mimics the original Faup C library's API for backward compatibility with legacy code.
The library targets developers who need fast, reliable URL decomposition—particularly in security, web scraping, or data processing pipelines where URL parsing is a frequent operation. It has no runtime dependencies and installs via pre-built wheels for most common Python and platform combinations, though source builds require a Rust toolchain.
Use it for
- Extract domain and TLD from URLs in bulk for security scanning or threat intelligence workflows.
- Parse credentials, host, and port from URLs in web scraping or API client code.
- Normalize and decompose URLs in data pipelines for deduplication or classification.
- Migrate legacy code using the original Faup library to Python without rewriting URL parsing logic.
- Validate and decompose user-supplied URLs in web applications or CLI tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need fast URL parsing in Python 3.8+ and can accept GPLv3 licensing.
The Rust backend, zero runtime dependencies, and broad wheel coverage make it a low-friction choice for URL decomposition tasks. The active maintenance and recent release are positive signals. Avoid if your project requires proprietary licensing or if you are already satisfied with urllib.parse's performance.
Install
pyfaup-rs on PyPI
Before you install
Medium install friction due to compiled wheels; pre-built binaries available for Python 3.10–3.11 across Linux, macOS, and Windows architectures. Active maintenance with a recent release (18 days old).
Requires Python 3.8 or later; pre-built wheels available for Python 3.10–3.11, source builds require Rust toolchain.
License in practice
Licensed under GPLv3 (copyleft); any derivative or distributed work must also be open-source under GPLv3. Acceptable for internal use and open-source projects, but incompatible with proprietary software that cannot adopt the same license.
Quickstart
pip install pyfaup-rs
from pyfaup import Url
url = Url("https://user:pass@sub.example.com:8080/path?query=value#fragment")
print(url.scheme, url.host, url.port)
Verify before relying
- Performance benchmarks comparing pyfaup-rs to urllib.parse or other URL parsing libraries.
- Whether the FaupCompat class is materially slower than the Url class in practice.
- Support status and timeline for Python 3.12+ wheels.
Package facts
| License | GPL-3.0 copyleft |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 92,474 / month, #13,451 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust |
Evidence: pyfaup_rs-0.4.16-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; pyfaup_rs-0.4.16-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; pyfaup_rs-0.4.16-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; pyfaup_rs-0.4.16-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; pyfaup_rs-0.4.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pyfaup_rs-0.4.16-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; pyfaup_rs-0.4.16-cp310-cp310-musllinux_1_2_aarch64.whl; pyfaup_rs-0.4.16-cp310-cp310-musllinux_1_2_armv7l.whl; pyfaup_rs-0.4.16-cp310-cp310-musllinux_1_2_i686.whl; pyfaup_rs-0.4.16-cp310-cp310-musllinux_1_2_x86_64.whl; pyfaup_rs-0.4.16-cp310-cp310-win_amd64.whl; pyfaup_rs-0.4.16-cp311-cp311-macosx_10_12_x86_64.whl; pyfaup_rs-0.4.16-cp311-cp311-macosx_11_0_arm64.whl; pyfaup_rs-0.4.16-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; pyfaup_rs-0.4.16-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; pyfaup_rs-0.4.16-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; pyfaup_rs-0.4.16-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl; pyfaup_rs-0.4.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pyfaup_rs-0.4.16-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl; pyfaup_rs-0.4.16-cp311-cp311-musllinux_1_2_aarch64.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 › “rust url parsing”
- pyfaup-rsParses URLs into components (scheme, host, port, path, query,…
- fast-query-parsersParses query strings and URL-encoded form data into Python objects…
- tree-sitter-rustProvides a Rust language grammar for tree-sitter, enabling…
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 tldparse · tld · furl · moviepilot-rust · tldextract · pyuri · dsnparse · urlpy · git-url-parse · fast-query-parsers