Python URL Library
Project description
Documentation
A high-level Url
class to make parsing, looking at and manipulating
urls much easier.
Also allows for easily composable urls.
Everything is subject to change!
📄 Detailed Documentation | 🐍 PyPi
Getting Started
poetry install xurls
or
pip install xurls
Very basic example:
from xurls import Url
url = Url("http://www.google.com/some/path")
assert url.host == "www.google.com"
url.host = "apple.com"
assert str(url) == "http://apple.com/some/path"
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
xurls-1.1.0.tar.gz
(18.7 kB
view details)
Built Distribution
xurls-1.1.0-py3-none-any.whl
(18.1 kB
view details)
File details
Details for the file xurls-1.1.0.tar.gz
.
File metadata
- Download URL: xurls-1.1.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0fa2448076ca9211e8c6dca45826129d2e615ba38dd0f4db175a1533fc87e42 |
|
MD5 | d78043c8c7ac22f9d83889544e84eb1e |
|
BLAKE2b-256 | 0af3a7dfcbe5aadd46794c36917353ff70ceef9a8252aaca9f15bd64a99c5ff1 |
File details
Details for the file xurls-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: xurls-1.1.0-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23a7292b748648107457365aa431a8fd1f98d1d039c51d87a189c24f49a2f00c |
|
MD5 | 1682a1131b08de95424e1429652ccad8 |
|
BLAKE2b-256 | f6cb58989fa3946a33db730d7fecb4c47193fa91899199c09a8887a1e0e1260a |