all options
stretch  ] [  buster  ] [  bullseye  ] [  sid  ]
[ Source: yarl  ]

Package: python3-yarl (0.8.1-1)

Links for python3-yarl


Debian Resources:

Download Source Package yarl:


External Resources:

Similar packages:

yet another URL library for Python

URL is constructed from `str`:

 >>> from yarl import URL
 >>> url = URL('')
 >>> url

All URL parts: scheme, user, passsword, host, port, path, query and fragment are accessible by properties:

 >>> url.scheme
 >>> url.path
 >>> url.query_string
 >>> url.query
 <MultiDictProxy('arg': '1')>
 >>> url.fragment

All URL manipulations produces a new URL object:

 >>> url.parent / 'downloads/source'

Strings passed to constructor and modification methods are automatically encoded giving canonical representation as result::

 >>> url = URL('путь')
 >>> url

Regular properties are percent-decoded, use `raw_` versions for getting encoded strings:

 >>> url.path

 >>> url.raw_path

Human readable representation of URL is available as `.human_repr()`:

 >>> url.human_repr()

Other Packages Related to python3-yarl

  • depends
  • recommends
  • suggests
  • enhances

Download python3-yarl

Download for all available architectures
Architecture Package Size Installed Size Files
armel 27.6 kB98.0 kB [list of files]