Project details
Installation
Install with pip:
$ pip install murl
Getting Started
from murl import Url
url = Url('https://bugzilla.mozilla.org/show_bug.cgi?id=698201#c0')
print url.scheme, url.host, url.querystring, url.fragment
# https bugzilla.mozilla.org id=698201 c0
url.scheme = 'http'
url.host = 'bugzilla.webkit.org'
print url
print url.url
print url.scheme
print url.host
print url.netloc
print url.host == url.netloc
# http://bugzilla.webkit.org/show_bug.cgi?id=698201#c0
# http://bugzilla.webkit.org/show_bug.cgi?id=698201#c0
# http
# bugzilla.webkit.org
# bugzilla.webkit.org
# True
url.path = 'list_bugs.cgi'
print url.path, url.url
# list_bugs.cgi http://bugzilla.webkit.org/list_bugs.cgi?id=698201#c0
url.fragment = 'c1'
print url.fragment
print url.url
# c1
# http://bugzilla.webkit.org/list_bugs.cgi?id=698201#c1
url.fragment = ''
print url.fragment
print url.url
# ''
# http://bugzilla.webkit.org/list_bugs.cgi?id=698201
License
All files that are part of this project are covered by the following license, except where explicitly noted.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Metadata
Release files for murl 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| murl-0.5.1.tar.gz | 3.3 kB | Without provenance | Details for murl-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| murl-0.5.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for murl-0.5.1-py2.py3-none-any.whl |
Total release size: 7.9 kB
Release files / murl-0.5.1.tar.gz
| Download URL | murl-0.5.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53c27d8dc55a81f1af15c03c44e111b30d86e22aac9fb6c82cb447c39783d1f7
|
|
BLAKE2b-256 checksum How to use checksums |
fd040e6413a745d9c69bc6085bcda15b5ae06867d35f0c3c0b210fe2bb203a4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / murl-0.5.1-py2.py3-none-any.whl
| Download URL | murl-0.5.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cbc9e213a99a300bbddd678bd46c2defc3c79dab9091d0c7fc465a2c12d98754
|
|
BLAKE2b-256 checksum How to use checksums |
9bfd957f44bc1cec3fe4e3b5e43c9899210350ab4eacd9614ff0e4e9cfaebc87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for murl 0.5.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.