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