Skip to main content

urledit

>>> from urledit import Url

URL parsing and editing:

>>> url = Url('forum/showthread.php?s=9b5d99fc6a61a17cc07326714500b3ab&p=728386#post728386')
>>> url.scheme, url.netloc, url.path, url.qs, url.fragment
('', '', 'forum/showthread.php', 's=9b5d99fc6a61a17cc07326714500b3ab&p=728386', 'post728386')
>>> url.scheme, url.netloc, url.fragment = 'http', 'host.com', ''
>>> url.join()
'http://host.com/forum/showthread.php?s=9b5d99fc6a61a17cc07326714500b3ab&p=728386'

Working with query string:

>>> url.query
{'p': '728386', 's': '9b5d99fc6a61a17cc07326714500b3ab'}
>>> del url.query['s']
>>> url.join()
'http://host.com/forum/showthread.php?p=728386'
>>> url.query['a'] = 1
>>> url.query['b'] = ['x', 'y', 'z']
>>> url.join()
'http://host.com/forum/showthread.php?p=728386&a=1&b=x&b=y&b=z'

Metadata

Release files for urledit 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for urledit 0.1
File Size Uploaded Provenance Actions
urledit-0.1.tar.gz 2.1 kB Without provenance Details for urledit-0.1.tar.gz

Release files / urledit-0.1.tar.gz

Download URL urledit-0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0dc1dbeee58f61eb8c8e4f0df6074afa38372e1f14172c4fe200223b6ec42a9a
BLAKE2b-256 checksum
How to use checksums
c608574b02419732990834ea2f146d67d19676630181d7e219f371a027efc345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for urledit 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page