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.6.0.tar.gz
(3.9 kB
view details)
File details
Details for the file slimurl-0.6.0.tar.gz
.
File metadata
- Download URL: slimurl-0.6.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d27f4b4f59255af2be060041a129fc69de15db819e2bc52b867661c01918530 |
|
MD5 | 24ef0be8d7d87fd6125ca67dc016d7f9 |
|
BLAKE2b-256 | 413793787c41cf7a39964430f217a888435fcc116538bebfb860c792d96f66ca |