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.5.3.tar.gz
(3.4 kB
view hashes)
Built Distributions
Close
Hashes for slimurl-0.5.3.macosx-10.11-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b41038e14827b36788ab6cef5278b6b7fb0f931fbff0e91fed296cdbdea474 |
|
MD5 | 8632f1ee771bf5b310225c69db7e801e |
|
BLAKE2b-256 | 69aee284beb5ebccae8ac9cb17b0375b75131008d8506e1cd55045b2b5869a6a |