Package: python3-yarl (1.3.0-1)
Links for python3-yarl
Debian Resources:
Download Source Package yarl:
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
Endnu et URL-bibliotek for Python
Adresse konstrueres fra `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')
Alle adressedele: scheme, user, passsword, host, port, path, query og fragment kan tilgås via egenskaber:
>>> url.scheme 'https' >>> url.host 'www.python.org' >>> url.path '/~guido' >>> url.query_string 'arg=1' >>> url.query <MultiDictProxy('arg': '1')> >>> url.fragment 'frag'
Alle adressemanipuleringer fremstiller et nyt adresseobjekt:
>>> url.parent / 'downloads/source' URL('https://www.python.org/downloads/source')
Strenge sendt til konstruktøren og ændringsmetoder kodes automatisk med kanonisk repræsentation som resultat:
>>> url = URL('https://www.python.org/путь') >>> url URL('https://www.python.org/%D0%BF%D1%83%D1%82%D1%8C')
Regulære egenskaber er procentafkodede, brug `raw_` versioner for kodede strenge:
>>> url.path '/путь'
>>> url.raw_path '/%D0%BF%D1%83%D1%82%D1%8C'
Læsevenlig repræsentation af adresse er tilgængelig som `.human_repr()`:
>>> url.human_repr() 'https://www.python.org/путь'
Other Packages Related to python3-yarl
|
|
|
|
-
- dep: libc6 (>= 2.14) [amd64]
- GNU C-bibliotek: Delte biblioteker
also a virtual package provided by libc6-udeb
- dep: libc6 (>= 2.17) [arm64]
- dep: libc6 (>= 2.4) [armhf, i386]
-
- dep: python3
- Interaktivt objektorienteret højniveausprog - standardversion af python3
- dep: python3 (<< 3.8)
- dep: python3 (>= 3.7~)
-
- dep: python3-idna
- Python IDNA2008-styring (RFC 5891) - Python 3
-
- dep: python3-multidict (>= 4.0.0)
- Multidict-implementering - Pythonbibliotek
Download python3-yarl
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
amd64 | 47.1 kB | 161.0 kB | [list of files] |
arm64 | 42.4 kB | 157.0 kB | [list of files] |
armhf | 43.0 kB | 126.0 kB | [list of files] |
i386 | 46.6 kB | 158.0 kB | [list of files] |