SlimURL - Fast library for parsing and building URL addresses
Project description
Slim URL - is fast wrapper for construction or/and parse URL components. Parsing based on regular expressions.
Example:
from slimurl import URL url = URL('http://example.net') print("%r" % url) # <URL "http://example.net/"> print((url.host, url.port, url.scheme)) # ('example.net', 80, 'http') URL('http://example.net') == URL('http://example.net/') # True URL('http://example.net:80') == URL('http://example.net/') # True URL('http://example.net') == URL('http://example.net/?foo=bar') # False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slimurl-0.7.7.tar.gz
(4.3 kB
view details)
File details
Details for the file slimurl-0.7.7.tar.gz
.
File metadata
- Download URL: slimurl-0.7.7.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a175d27beda92f594d443cc439433b7de79e7a11d8bd0d34ebfd2db3754400e |
|
MD5 | 566fcb52719fc0526feb787c55735f29 |
|
BLAKE2b-256 | ceb4f223fea5eb92617a17d3a4bca77028376a401b8d4310ee972ac98c0d9614 |