How to Install and Uninstall python3-yarl Package on Kali Linux

Last updated: December 23,2024

1. Install "python3-yarl" package

Please follow the step by step instructions below to install python3-yarl on Kali Linux

$ sudo apt update $ sudo apt install python3-yarl

2. Uninstall "python3-yarl" package

Please follow the steps below to uninstall python3-yarl on Kali Linux:

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

3. Information about the python3-yarl package on Kali Linux

Package: python3-yarl
Source: yarl (1.8.2-3)
Version: 1.8.2-3+b1
Installed-Size: 253
Maintainer: Piotr Ożarowski
Architecture: amd64
Depends: python3 (<< 3.13), python3 (>= 3.11~), python3-idna, python3-multidict, python3-typing-extensions | python3-supported-min (>= 3.8), python3:any, libc6 (>= 2.14)
Size: 70440
SHA256: 3db906c348de35ee679ee0f8086e7a5735c9bec46201b79771e23bfe73a25506
SHA1: 3c2fbbc13cae1af98eab128c0b64e81d7fd4a3a7
MD5sum: 58653c39e7001b959e994f833726469d
Description: 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:
Homepage: https://github.com/aio-libs/yarl/
Section: python
Priority: optional
Filename: pool/main/y/yarl/python3-yarl_1.8.2-3+b1_amd64.deb