Skip to main content

easyuri is a dumb URL parser with a smart interface.

>>> import easyuri
>>> uri = easyuri.parse("en.wikipedia.org/wiki/Jabberwocky")
>>> uri.is_secure, uri.in_hsts
(True, True)
>>> uri.scheme, uri.host, uri.port
('https', 'en.wikipedia.org', 443)
>>> uri.subdomain, uri.domain, uri.suffix, uri.path
('en', 'wikipedia', 'org', 'wiki/Jabberwocky')
>>> str(uri)
'https://en.wikipedia.org/wiki/Jabberwocky'

>>> uri = easyuri.parse("http://evil.com\\@good.com/")  # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
DifficultURLError

Release files for easyuri 0.1.4

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

Source distribution (sdist)

Source distribution for easyuri 0.1.4
File Size Uploaded
easyuri-0.1.4.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for easyuri 0.1.4
File Interpreter ABI Platform
easyuri-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / easyuri-0.1.4.tar.gz

Download URL easyuri-0.1.4.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e4775bf66c1bf0455ba5565e3c58ba484d43ec8c668207001688aa8e1784fbc0
BLAKE2b-256 checksum
How to use checksums
44f47e83f566fdc2dd0c3225615a9c15f8c51cb2865b2153d2a088983bd7b5a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.1 Linux/5.10.0-23-amd64

Release files / easyuri-0.1.4-py3-none-any.whl

Download URL easyuri-0.1.4-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4646ab4bf2b2c47c0eea2a2c7f819834d86f0ea65eaa29bc2ff3200fafea2db0
BLAKE2b-256 checksum
How to use checksums
1b4e6abd32dbc18cfeb8559e8f364574adbd4980ef04c6e8ccca1c651b26aa6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.1 Linux/5.10.0-23-amd64

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.5

2 release files

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