SlimURL - Fast library for parsing and building URL addresses
Project description
This module is deprecated. Please use the YARL instead.
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.8.tar.gz
(4.3 kB
view details)
File details
Details for the file slimurl-0.7.8.tar.gz.
File metadata
- Download URL: slimurl-0.7.8.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f971c69925e373941b0ed785bf582d9a4fe50cb4a89cb1c2e8260fd87f19fdaf
|
|
| MD5 |
7c9f9e8c30974caf127d119048e29153
|
|
| BLAKE2b-256 |
9d7a6e2872c971a0e81a3637eb895f4e9e668c5264e440a52a6c1ef69a88a10e
|