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 details)
Built Distributions
File details
Details for the file slimurl-0.5.3.tar.gz
.
File metadata
- Download URL: slimurl-0.5.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d7d0be69083154d72a93d5d2725fc5302866c58150bb544448234ff3dae811 |
|
MD5 | c567bc8c2a5f56a5157c80ac7b9bc3a5 |
|
BLAKE2b-256 | c801bd15641a9f585211d452bc89d8c9f91e329e35ce53d76d719a0b6a6b5336 |
File details
Details for the file slimurl-0.5.3.macosx-10.11-x86_64.tar.gz
.
File metadata
- Download URL: slimurl-0.5.3.macosx-10.11-x86_64.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b41038e14827b36788ab6cef5278b6b7fb0f931fbff0e91fed296cdbdea474 |
|
MD5 | 8632f1ee771bf5b310225c69db7e801e |
|
BLAKE2b-256 | 69aee284beb5ebccae8ac9cb17b0375b75131008d8506e1cd55045b2b5869a6a |
File details
Details for the file slimurl-0.5.3-py2-none-any.whl
.
File metadata
- Download URL: slimurl-0.5.3-py2-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40b936aa324d3ceba49e0f0df69d7eda7776205e40eee98b6d27011aa1dcdd2 |
|
MD5 | 365f39eb9b07e13a8b07ba83ea05e7e9 |
|
BLAKE2b-256 | 190b7e11f31b277cca298154c1800148c3e74a6209a417fa8401e339b0d6373f |