pycares 4.4.0__cp39-cp39-win32.whl → 4.5.0__cp39-cp39-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pycares/_cares.pyd ADDED
Binary file
pycares/_version.py CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- __version__ = '4.4.0'
2
+ __version__ = '4.5.0'
@@ -0,0 +1,151 @@
1
+ Metadata-Version: 2.1
2
+ Name: pycares
3
+ Version: 4.5.0
4
+ Summary: Python interface for c-ares
5
+ Home-page: http://github.com/saghul/pycares
6
+ Author: Saúl Ibarra Corretgé
7
+ Author-email: s@saghul.net
8
+ License: MIT
9
+ Platform: POSIX
10
+ Platform: Microsoft Windows
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Operating System :: Microsoft :: Windows
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: Implementation :: CPython
24
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
25
+ Requires-Python: >=3.9
26
+ Description-Content-Type: text/x-rst
27
+ License-File: LICENSE
28
+ Requires-Dist: cffi>=1.5.0
29
+ Provides-Extra: idna
30
+ Requires-Dist: idna>=2.1; extra == "idna"
31
+
32
+ Looking for new maintainers
33
+ ===========================
34
+
35
+ https://github.com/saghul/pycares/issues/139
36
+
37
+ pycares: Python interface for c-ares
38
+ ====================================
39
+
40
+ pycares is a Python module which provides an interface to c-ares.
41
+ `c-ares <https://c-ares.org>`_ is a C library that performs
42
+ DNS requests and name resolutions asynchronously.
43
+
44
+
45
+ Documentation
46
+ -------------
47
+
48
+ http://readthedocs.org/docs/pycares/
49
+
50
+
51
+ Bundled c-ares
52
+ --------------
53
+
54
+ pycares currently bundles c-ares as a submodule for ease of building. Using the system
55
+ provided c-ares is possible if the ``PYCARES_USE_SYSTEM_LIB`` environment variable is
56
+ set to ``1`` when building.
57
+
58
+ NOTE: Versions prior to 4.0.0 used to embed a modified c-ares with extended TTL support.
59
+ That is no longer the case and as a result only A and AAAA records will have TTL information.
60
+ Follow this PR in uppstream c-ares, looks like TTLs will be added: https://github.com/c-ares/c-ares/pull/393
61
+
62
+
63
+ Installation
64
+ ------------
65
+
66
+ GNU/Linux, macOS, Windows, others:
67
+
68
+ ::
69
+
70
+ pip install pycares
71
+
72
+ FreeBSD:
73
+
74
+ ::
75
+
76
+ cd /usr/ports/dns/py-pycares && make install
77
+
78
+
79
+ IDNA 2008 support
80
+ ^^^^^^^^^^^^^^^^^
81
+
82
+ If the ``idna`` package is installed, pycares will support IDNA 2008 encoding otherwise the builtin idna codec will be used,
83
+ which provides IDNA 2003 support.
84
+
85
+ You can force this at installation time as follows:
86
+
87
+ ::
88
+
89
+ pip install pycares[idna]
90
+
91
+
92
+ Running the test suite
93
+ ----------------------
94
+
95
+ From the top level directory, run: ``python -m unittest -v``
96
+
97
+ NOTE: Running the tests requires internet access and are somewhat environment sensitive because real DNS quesries
98
+ are made, there is no mocking. If you observe a failure that the CI cannot reproduce, please try to setup an
99
+ environment as close as the current CI.
100
+
101
+
102
+ Using it from the cli, a la dig
103
+ -------------------------------
104
+
105
+ This module can be used directly from the command line in a similar fashion to dig (limited, of course):
106
+
107
+ ::
108
+
109
+ $ python -m pycares google.com
110
+ ;; QUESTION SECTION:
111
+ ;google.com IN A
112
+
113
+ ;; ANSWER SECTION:
114
+ google.com 300 IN A 172.217.17.142
115
+
116
+ $ python -m pycares mx google.com
117
+ ;; QUESTION SECTION:
118
+ ;google.com IN MX
119
+
120
+ ;; ANSWER SECTION:
121
+ google.com 600 IN MX 50 alt4.aspmx.l.google.com
122
+ google.com 600 IN MX 10 aspmx.l.google.com
123
+ google.com 600 IN MX 40 alt3.aspmx.l.google.com
124
+ google.com 600 IN MX 20 alt1.aspmx.l.google.com
125
+ google.com 600 IN MX 30 alt2.aspmx.l.google.com
126
+
127
+
128
+ Author
129
+ ------
130
+
131
+ Saúl Ibarra Corretgé <s@saghul.net>
132
+
133
+
134
+ License
135
+ -------
136
+
137
+ Unless stated otherwise on-file pycares uses the MIT license, check LICENSE file.
138
+
139
+
140
+ Supported Python versions
141
+ -------------------------
142
+
143
+ Python >= 3.9 are supported. Both CPython and PyPy are supported.
144
+
145
+
146
+ Contributing
147
+ ------------
148
+
149
+ If you'd like to contribute, fork the project, make a patch and send a pull
150
+ request. Have a look at the surrounding code and please, make yours look
151
+ alike :-)
@@ -0,0 +1,11 @@
1
+ pycares/__init__.py,sha256=EIkDaFs0MmRAYi6Ce2VzcA3H14-25zPyiD_6TfSBCSQ,30609
2
+ pycares/__main__.py,sha256=-WwwGX4NQ8hpOqrNuCy59quCQJt7IAwQXdQjga5s4WA,2880
3
+ pycares/_cares.pyd,sha256=2AN-ZEcyIaK32XkRApiFzd-ld7Y8UyFBba6E5IR_Vug,106496
4
+ pycares/_version.py,sha256=LndxDVTCo2jR91ipCX7gSKfdLq7B21t2ofpRE-CSa_E,25
5
+ pycares/errno.py,sha256=cForwpErZsnPUQYttEgUjWZgi37cyrOGCWxUcO76HUE,1089
6
+ pycares/utils.py,sha256=lKohvVcx0fjDcbkK0hGgvgY5WWnshj1Snxy-gGRbDNo,1399
7
+ pycares-4.5.0.dist-info/LICENSE,sha256=ZzIVbIpf5QFzaiLCDSjxhvH5EViAWLVO-W4ZgBzWvb8,1090
8
+ pycares-4.5.0.dist-info/METADATA,sha256=2zq6M_4O0AU22YCieCf9t1DXPLZzHvlce5fYCA1JFYs,4331
9
+ pycares-4.5.0.dist-info/WHEEL,sha256=uIt2rWmgA-iArqraHKJlTj0JKyNuTJXoB0gCO60ou14,95
10
+ pycares-4.5.0.dist-info/top_level.txt,sha256=nIeo7L2XUVBQZO2YE6pH7tlKaBWTfmmRcXbqe_NWYCw,15
11
+ pycares-4.5.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-win32
5
5
 
Binary file
@@ -1,271 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: pycares
3
- Version: 4.4.0
4
- Summary: Python interface for c-ares
5
- Home-page: http://github.com/saghul/pycares
6
- Author: Saúl Ibarra Corretgé
7
- Author-email: s@saghul.net
8
- License: MIT
9
- Platform: POSIX
10
- Platform: Microsoft Windows
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Operating System :: POSIX
15
- Classifier: Operating System :: Microsoft :: Windows
16
- Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.8
19
- Classifier: Programming Language :: Python :: 3.9
20
- Classifier: Programming Language :: Python :: 3.10
21
- Classifier: Programming Language :: Python :: 3.11
22
- Classifier: Programming Language :: Python :: 3.12
23
- Classifier: Programming Language :: Python :: Implementation :: CPython
24
- Classifier: Programming Language :: Python :: Implementation :: PyPy
25
- Requires-Python: >=3.8
26
- Description-Content-Type: text/x-rst
27
- License-File: LICENSE
28
- Requires-Dist: cffi >=1.5.0
29
- Provides-Extra: idna
30
- Requires-Dist: idna >=2.1 ; extra == 'idna'
31
-
32
- Looking for new maintainers
33
-
34
- ===========================
35
-
36
-
37
-
38
- https://github.com/saghul/pycares/issues/139
39
-
40
-
41
-
42
- pycares: Python interface for c-ares
43
-
44
- ====================================
45
-
46
-
47
-
48
- pycares is a Python module which provides an interface to c-ares.
49
-
50
- `c-ares <https://c-ares.org>`_ is a C library that performs
51
-
52
- DNS requests and name resolutions asynchronously.
53
-
54
-
55
-
56
-
57
-
58
- Documentation
59
-
60
- -------------
61
-
62
-
63
-
64
- http://readthedocs.org/docs/pycares/
65
-
66
-
67
-
68
-
69
-
70
- Bundled c-ares
71
-
72
- --------------
73
-
74
-
75
-
76
- pycares currently bundles c-ares as a submodule for ease of building. Using the system
77
-
78
- provided c-ares is possible if the ``PYCARES_USE_SYSTEM_LIB`` environment variable is
79
-
80
- set to ``1`` when building.
81
-
82
-
83
-
84
- NOTE: Versions prior to 4.0.0 used to embed a modified c-ares with extended TTL support.
85
-
86
- That is no longer the case and as a result only A and AAAA records will have TTL information.
87
-
88
- Follow this PR in uppstream c-ares, looks like TTLs will be added: https://github.com/c-ares/c-ares/pull/393
89
-
90
-
91
-
92
-
93
-
94
- Installation
95
-
96
- ------------
97
-
98
-
99
-
100
- GNU/Linux, macOS, Windows, others:
101
-
102
-
103
-
104
- ::
105
-
106
-
107
-
108
- pip install pycares
109
-
110
-
111
-
112
- FreeBSD:
113
-
114
-
115
-
116
- ::
117
-
118
-
119
-
120
- cd /usr/ports/dns/py-pycares && make install
121
-
122
-
123
-
124
-
125
-
126
- IDNA 2008 support
127
-
128
- ^^^^^^^^^^^^^^^^^
129
-
130
-
131
-
132
- If the ``idna`` package is installed, pycares will support IDNA 2008 encoding otherwise the builtin idna codec will be used,
133
-
134
- which provides IDNA 2003 support.
135
-
136
-
137
-
138
- You can force this at installation time as follows:
139
-
140
-
141
-
142
- ::
143
-
144
-
145
-
146
- pip install pycares[idna]
147
-
148
-
149
-
150
-
151
-
152
- Running the test suite
153
-
154
- ----------------------
155
-
156
-
157
-
158
- From the top level directory, run: ``python -m unittest -v``
159
-
160
-
161
-
162
- NOTE: Running the tests requires internet access and are somewhat environment sensitive because real DNS quesries
163
-
164
- are made, there is no mocking. If you observe a failure that the CI cannot reproduce, please try to setup an
165
-
166
- environment as close as the current CI.
167
-
168
-
169
-
170
-
171
-
172
- Using it from the cli, a la dig
173
-
174
- -------------------------------
175
-
176
-
177
-
178
- This module can be used directly from the command line in a similar fashion to dig (limited, of course):
179
-
180
-
181
-
182
- ::
183
-
184
-
185
-
186
- $ python -m pycares google.com
187
-
188
- ;; QUESTION SECTION:
189
-
190
- ;google.com IN A
191
-
192
-
193
-
194
- ;; ANSWER SECTION:
195
-
196
- google.com 300 IN A 172.217.17.142
197
-
198
-
199
-
200
- $ python -m pycares mx google.com
201
-
202
- ;; QUESTION SECTION:
203
-
204
- ;google.com IN MX
205
-
206
-
207
-
208
- ;; ANSWER SECTION:
209
-
210
- google.com 600 IN MX 50 alt4.aspmx.l.google.com
211
-
212
- google.com 600 IN MX 10 aspmx.l.google.com
213
-
214
- google.com 600 IN MX 40 alt3.aspmx.l.google.com
215
-
216
- google.com 600 IN MX 20 alt1.aspmx.l.google.com
217
-
218
- google.com 600 IN MX 30 alt2.aspmx.l.google.com
219
-
220
-
221
-
222
-
223
-
224
- Author
225
-
226
- ------
227
-
228
-
229
-
230
- Saúl Ibarra Corretgé <s@saghul.net>
231
-
232
-
233
-
234
-
235
-
236
- License
237
-
238
- -------
239
-
240
-
241
-
242
- Unless stated otherwise on-file pycares uses the MIT license, check LICENSE file.
243
-
244
-
245
-
246
-
247
-
248
- Supported Python versions
249
-
250
- -------------------------
251
-
252
-
253
-
254
- Python >= 3.8 are supported. Both CPython and PyPy are supported.
255
-
256
-
257
-
258
-
259
-
260
- Contributing
261
-
262
- ------------
263
-
264
-
265
-
266
- If you'd like to contribute, fork the project, make a patch and send a pull
267
-
268
- request. Have a look at the surrounding code and please, make yours look
269
-
270
- alike :-)
271
-
@@ -1,11 +0,0 @@
1
- pycares/__init__.py,sha256=EIkDaFs0MmRAYi6Ce2VzcA3H14-25zPyiD_6TfSBCSQ,30609
2
- pycares/__main__.py,sha256=-WwwGX4NQ8hpOqrNuCy59quCQJt7IAwQXdQjga5s4WA,2880
3
- pycares/_cares.cp39-win32.pyd,sha256=ZXwSAlqHprspWawVRQrRMQuUrjBgUQZJ4IGjYuBImes,106496
4
- pycares/_version.py,sha256=buznFPbE02AhKSlwGt5SQ5JVt8sGNwDi8x7ugj-5D08,25
5
- pycares/errno.py,sha256=cForwpErZsnPUQYttEgUjWZgi37cyrOGCWxUcO76HUE,1089
6
- pycares/utils.py,sha256=lKohvVcx0fjDcbkK0hGgvgY5WWnshj1Snxy-gGRbDNo,1399
7
- pycares-4.4.0.dist-info/LICENSE,sha256=ZzIVbIpf5QFzaiLCDSjxhvH5EViAWLVO-W4ZgBzWvb8,1090
8
- pycares-4.4.0.dist-info/METADATA,sha256=TpMurCYkzSHcxQ52Qw99F10bUdEusS_FGPr6U-qWvLc,4453
9
- pycares-4.4.0.dist-info/WHEEL,sha256=f7KcxEC-t0Gqz4jsLWrEKtFkz8Ns4-1YqJU5A6LXwLY,96
10
- pycares-4.4.0.dist-info/top_level.txt,sha256=nIeo7L2XUVBQZO2YE6pH7tlKaBWTfmmRcXbqe_NWYCw,15
11
- pycares-4.4.0.dist-info/RECORD,,