The purpose of this package is to standardize URL declaration in the codebase
Project description
UrlX
urlx - provide new data type - Url.
The purpose of this package is to standardize URL declaration in the codebase.
This approach should reduce the number of errors and speed up code writing.
Example
from pathlib import Path
from urlx import Url, Protocol, Port
url = Url(
protocol=Protocol.HTTPS,
host='localhost',
port=Port.HTTPS_443,
path=Path('api/user-list'),
query={
'limit': '100',
'skip': '20',
},
)
print(url)
Output:
Links
Source code: github.com/VolodymyrBor/urlx
Documentation: urlx
Changelog: changelog
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file urlx-1.0.1.tar.gz.
File metadata
- Download URL: urlx-1.0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1e7b92f207a7f968eded182f0070e4859e02e1c000e1772ee22f62c1f730925
|
|
| MD5 |
bd0485ca727ca0fd1c25b27159e9c5cd
|
|
| BLAKE2b-256 |
225385d0708bdc4e19e2f94865dcc7464b22b8f544ef99c7c77fac61a5e4ebb0
|
File details
Details for the file urlx-1.0.1-py3-none-any.whl.
File metadata
- Download URL: urlx-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4bae4cc635e93194b1af857cf5652027529120b275421899ecf5dd84f546a03
|
|
| MD5 |
29f0a7b484dc9ff718cca8bae7098a08
|
|
| BLAKE2b-256 |
563b36524717d1d14a25080b7aafc00b1d7ab34e8e782313e9c58f87839d01b7
|