python3-yarl binary package in Ubuntu Focal armhf
URL is constructed from `str`:
.
>>> from yarl import URL
>>> url = URL('https:/
>>> url
URL('https:/
.
All URL parts: scheme, user, passsword, host, port, path, query and fragment
are accessible by properties:
.
>>> url.scheme
'https'
>>> url.host
'www.python.org'
>>> url.path
'/~guido'
>>> url.query_string
'arg=1'
>>> url.query
<MultiDictPro
>>> url.fragment
'frag'
.
All URL manipulations produces a new URL object:
.
>>> url.parent / 'downloads/source'
URL('https:/
.
Strings passed to constructor and modification methods are automatically
encoded giving canonical representation as result::
.
>>> url = URL('https:/
>>> url
URL('https:/
.
Regular properties are percent-decoded, use `raw_` versions for getting
encoded strings:
.
>>> url.path
'/путь'
.
>>> url.raw_path
'/%D0%
.
Human readable representation of URL is available as `.human_repr()`:
.
>>> url.human_repr()
'https:/
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2020-03-09 09:48:26 UTC | Published | Ubuntu Focal armhf | release | universe | python | Optional | 1.4.2-2 | ||
|
|||||||||
Deleted | Ubuntu Focal armhf | proposed | universe | python | Optional | 1.4.2-2 | |||
|
|||||||||
2020-03-09 09:49:28 UTC | Superseded | Ubuntu Focal armhf | release | universe | python | Optional | 1.4.2-1ubuntu1 | ||
|
|||||||||
2020-03-10 12:10:10 UTC | Deleted | Ubuntu Focal armhf | proposed | universe | python | Optional | 1.4.2-1ubuntu1 | ||
|
|||||||||
2020-02-22 13:28:22 UTC | Superseded | Ubuntu Focal armhf | proposed | universe | python | Optional | 1.4.2-1build1 | ||
|
|||||||||
2020-02-22 16:48:21 UTC | Superseded | Ubuntu Focal armhf | release | universe | python | Optional | 1.4.2-1 | ||
|
|||||||||
2020-02-23 18:10:14 UTC | Deleted | Ubuntu Focal armhf | proposed | universe | python | Optional | 1.4.2-1 | ||
|
|||||||||
2019-12-30 08:23:16 UTC | Superseded | Ubuntu Focal armhf | release | universe | python | Optional | 1.3.0-1build1 | ||
|
|||||||||
2019-12-31 12:10:11 UTC | Deleted | Ubuntu Focal armhf | proposed | universe | python | Optional | 1.3.0-1build1 | ||
|
|||||||||
2019-10-23 13:28:26 UTC | Superseded | Ubuntu Focal armhf | release | universe | python | Optional | 1.3.0-1 | ||
|