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.4.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file slimurl-0.5.4.tar.gz
.
File metadata
- Download URL: slimurl-0.5.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd179b3517c8f3584c15d86f24ffeb1c0493b8b9e901b73ab8191dd730966985 |
|
MD5 | 4163db2a6400e4484d8c4a3656bddfbf |
|
BLAKE2b-256 | 9673c6c858c4cfefa25122a249cf1e3314453a532605dcc6deffb09a65e69b6a |
File details
Details for the file slimurl-0.5.4-py2-none-any.whl
.
File metadata
- Download URL: slimurl-0.5.4-py2-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a77153487d743008de7b6285717d3d8313757b75fc0c48182f0accb51c7f5f29 |
|
MD5 | c3167e75472ce59ddc9f6c48df1e6342 |
|
BLAKE2b-256 | b2118f68babfe34c8b826071af51e3332fda23e5eea34052dfb5c47a08ce6b98 |