How to Install and Uninstall python-yarl-doc Package on Ubuntu 21.10 (Impish Indri)
Last updated: November 22,2024
1. Install "python-yarl-doc" package
Please follow the steps below to install python-yarl-doc on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
python-yarl-doc
Copied
2. Uninstall "python-yarl-doc" package
Learn how to uninstall python-yarl-doc on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
python-yarl-doc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-yarl-doc package on Ubuntu 21.10 (Impish Indri)
Package: python-yarl-doc
Architecture: all
Version: 1.6.3-2
Multi-Arch: foreign
Priority: extra
Section: universe/doc
Source: yarl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Piotr Ożarowski
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 405
Depends: libjs-sphinxdoc (>= 2.4.3-5~)
Filename: pool/universe/y/yarl/python-yarl-doc_1.6.3-2_all.deb
Size: 60860
MD5sum: 1a3836ebbf6a7bd85490fabceb6f7339
SHA1: 0b0ee6ef02f22adcb047a17b47c11d498d52a8f5
SHA256: a3846946ed9d51e7d2b1345e414828fa4374c2d42bc15d817a4dbfb4b76248ed
SHA512: e8c4442972e89a611386f47fb0b0a94722be4f3fe0413e1c416ac8dc11d66f6585c1254a1299ba78956ae1e88697e96f2f9277adcd2335dbb6c9d3b5a672b27e
Homepage: https://github.com/aio-libs/yarl/
Description-en: 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
>>> 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
Description-md5: 2f38e511d0c65d03f5f47496d5e82a79
Architecture: all
Version: 1.6.3-2
Multi-Arch: foreign
Priority: extra
Section: universe/doc
Source: yarl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Piotr Ożarowski
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 405
Depends: libjs-sphinxdoc (>= 2.4.3-5~)
Filename: pool/universe/y/yarl/python-yarl-doc_1.6.3-2_all.deb
Size: 60860
MD5sum: 1a3836ebbf6a7bd85490fabceb6f7339
SHA1: 0b0ee6ef02f22adcb047a17b47c11d498d52a8f5
SHA256: a3846946ed9d51e7d2b1345e414828fa4374c2d42bc15d817a4dbfb4b76248ed
SHA512: e8c4442972e89a611386f47fb0b0a94722be4f3fe0413e1c416ac8dc11d66f6585c1254a1299ba78956ae1e88697e96f2f9277adcd2335dbb6c9d3b5a672b27e
Homepage: https://github.com/aio-libs/yarl/
Description-en: 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
>>> 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
Description-md5: 2f38e511d0c65d03f5f47496d5e82a79