How to Install and Uninstall python3-yarl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 20,2024

1. Install "python3-yarl" package

Please follow the guidance below to install python3-yarl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install python3-yarl

2. Uninstall "python3-yarl" package

Here is a brief guide to show you how to uninstall python3-yarl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove python3-yarl $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-yarl package on Ubuntu 20.10 (Groovy Gorilla)

Package: python3-yarl
Architecture: amd64
Version: 1.4.2-2
Priority: optional
Section: universe/python
Source: yarl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Piotr Ożarowski
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 172
Depends: python3 (<< 3.9), python3 (>= 3.8~), python3-idna (>= 2.0), python3-multidict (>= 4.0.0), python3:any, libc6 (>= 2.14)
Filename: pool/universe/y/yarl/python3-yarl_1.4.2-2_amd64.deb
Size: 51812
MD5sum: 55afc720159191535b57808c4bbae5d3
SHA1: 8f74207d7729d7217fee7f183e2e9966ec2f6c7b
SHA256: bc1bba26383b9994571da3f63c6a699446cf66e68e3660d037ae777b2ffbd5c5
SHA512: bd01ba84ef76de45b9571ae9cd293221989d69ca5c36c535902579aa41232c8bba5a53528d75ba7811ddf691795ca4de0f02977ed05c8048351178f7433cbb5c
Homepage: https://github.com/aio-libs/yarl/
Description-en: 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

>>> 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/путь'
Description-md5: c6ae3a2ef96a4bd5e4dceb9c2d630346