yarl 1.8.1-1 source package in Ubuntu
Changelog
yarl (1.8.1-1) unstable; urgency=medium [ Debian Janitor ] * Bump debhelper from old 12 to 13. * Update standards version to 4.6.1, no changes needed. [ Piotr Ożarowski ] * New upstream release -- Piotr Ożarowski <email address hidden> Mon, 07 Nov 2022 15:27:39 +0100
Upload details
- Uploaded by:
- Piotr Ożarowski
- Uploaded to:
- Sid
- Original maintainer:
- Piotr Ożarowski
- Architectures:
- any all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
yarl_1.8.1-1.dsc | 2.1 KiB | 76b59b6d3ea1bedb550df45b12a935798a5d42dad58426f05a0e91ddddf62b79 |
yarl_1.8.1.orig.tar.gz | 168.3 KiB | af887845b8c2e060eb5605ff72b6f2dd2aab7a761379373fd89d314f4752abbf |
yarl_1.8.1-1.debian.tar.xz | 4.7 KiB | 965089d2aca410c3b3b54597f94c4794570e9a6e42d4f65d983423c43d465dd0 |
Available diffs
No changes file available.
Binary packages built by this source
- python-yarl-doc: documentation for the yarl Python library
URL is constructed from `str`:
.
>>> from yarl import URL
>>> url = URL('https://www.python. org/~guido? arg=1#frag')
>>> url
URL('https://www.python. org/~guido? arg=1#frag')
.
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
<MultiDictProxy('arg' : '1')>
>>> url.fragment
'frag'
.
All URL manipulations produces a new URL object:
.
>>> url.parent / 'downloads/source'
URL('https://www.python. org/downloads/ source')
.
Strings passed to constructor and modification methods are automatically
encoded giving canonical representation as result::
.
>>> url = URL('https://www.python. org/путь')
>>> url
URL('https://www.python. org/%D0% BF%D1%83% D1%82%D1% 8C')
.
Regular properties are percent-decoded, use `raw_` versions for getting
encoded strings:
.
>>> url.path
'/путь'
.
>>> url.raw_path
'/%D0%BF%D1%83% D1%82%D1% 8C'
.
Human readable representation of URL is available as `.human_repr()`:
.
>>> url.human_repr()
'https://www.python. org/путь'
.
This package provides documentation for yarl
- python3-yarl: yet another URL library for Python
URL is constructed from `str`:
.
>>> from yarl import URL
>>> url = URL('https://www.python. org/~guido? arg=1#frag')
>>> url
URL('https://www.python. org/~guido? arg=1#frag')
.
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
<MultiDictProxy('arg' : '1')>
>>> url.fragment
'frag'
.
All URL manipulations produces a new URL object:
.
>>> url.parent / 'downloads/source'
URL('https://www.python. org/downloads/ source')
.
Strings passed to constructor and modification methods are automatically
encoded giving canonical representation as result::
.
>>> url = URL('https://www.python. org/путь')
>>> url
URL('https://www.python. org/%D0% BF%D1%83% D1%82%D1% 8C')
.
Regular properties are percent-decoded, use `raw_` versions for getting
encoded strings:
.
>>> url.path
'/путь'
.
>>> url.raw_path
'/%D0%BF%D1%83% D1%82%D1% 8C'
.
Human readable representation of URL is available as `.human_repr()`:
.
>>> url.human_repr()
'https://www.python. org/путь'
- python3-yarl-dbgsym: debug symbols for python3-yarl