Registry / http-networking / pyfaup-rs

pyfaup-rs

JSON →
library0.4.11pypypi✓ verified 82d ago

Python bindings for faup-rs, a Rust library for fast URL parsing and normalization. Current version 0.4.6, Python >=3.8, active development on GitHub.

pip install pyfaup-rs
INSTALL
IMPORT
SIG · PYFAUP-RS
P
pyfaup-rs
http-networkingpythonv0.4.11
Install
1.7s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.11 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 20MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FaupCompat
from pyfaup import FaupCompat
from faup import faup
Url
from pyfaup import Url
from faup import faup
Host
from pyfaup import Host
from faup import faup

Parse a URL and access components.

from faup import faup parser = faup() result = parser.parse_url("https://example.com/path?q=1#frag") print(result.scheme, result.host, result.port, result.path, result.query, result.fragment)
Debug
Known issues
gotchaThe library uses 'faup' as the module name, not 'pyfaup'. Many users incorrectly import 'pyfaup'.
fix
Use 'from faup import faup' instead.
affects: all
gotchaThe parser only parses URLs; it does not validate or encode/decode them. Invalid URLs may raise an exception.
fix
Ensure URLs are well-formed. Handle exceptions when parsing.
affects: all
Upgrade
Version history
0.4.11latest on PyPI · released Jun 15, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources