alle opties
stretch  ] [  buster  ] [  bullseye  ] [  sid  ]
[ Bron: yarl  ]

Pakket: python3-yarl (0.8.1-1)

Verwijzigingen voor python3-yarl


Debian bronnen:

Het bronpakket yarl downloaden:


Externe bronnen:

Vergelijkbare pakketten:

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()

Andere aan python3-yarl gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

python3-yarl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
armel 27,6 kB98,0 kB [overzicht]