File: control

package info (click to toggle)
yarl 1.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,096 kB
  • sloc: python: 3,448; makefile: 211
file content (132 lines) | stat: -rw-r--r-- 3,701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Source: yarl
Section: python
Priority: optional
Maintainer: Piotr Ożarowski <piotr@debian.org>
Uploaders: Debian Python Team <team+python@tracker.debian.org>
Build-Depends: debhelper-compat (= 12), dh-python (>= 2),
               cython3,
               python3-all-dev,
               python3-setuptools,
               python3-sphinx (>= 1.3),
               python3-idna (>= 2.0),
               python3-multidict (>= 4.0.0),
               python3-pytest <!nocheck>,
               python3-pytest-runner <!nocheck>,
               python3-pytest-cov <!nocheck>,
Standards-Version: 4.5.0
Homepage: https://github.com/aio-libs/yarl/
Vcs-Git: https://salsa.debian.org/python-team/packages/yarl.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/yarl
Testsuite: autopkgtest-pkg-python

Package: python3-yarl
Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends},
Recommends: ${python3:Recommends}
Suggests: ${python3:Suggests}
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
  <MultiDictProxy('arg': '1')>
  >>> 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/путь'

Package: python-yarl-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
Multi-Arch: foreign
Description: documentation for the yarl Python library
 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
  <MultiDictProxy('arg': '1')>
  >>> 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/путь'
 .
 This package provides documentation for yarl