apiverve-danerecordvalidator 1.2.3__tar.gz

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.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2026 APIVerve and EvlarSoft LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,317 @@
1
+ Metadata-Version: 2.4
2
+ Name: apiverve-danerecordvalidator
3
+ Version: 1.2.3
4
+ Summary: DANE Record Validator validates DANE/TLSA DNS records used for certificate authentication, providing security analysis and best practice recommendations.
5
+ Author-email: APIVerve <hello@apiverve.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://apiverve.com/marketplace/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=homepage
8
+ Project-URL: Documentation, https://docs.apiverve.com/ref/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=docs
9
+ Project-URL: Repository, https://github.com/apiverve/danevalidator-api
10
+ Project-URL: Twitter, https://twitter.com/apivervehq
11
+ Keywords: dane,tlsa,dane validator,tlsa record,dns security
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Topic :: Internet :: WWW/HTTP
17
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
+ Classifier: Natural Language :: English
19
+ Requires-Python: >=3.9
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: requests>=2.25.0
23
+ Dynamic: license-file
24
+
25
+ DANE Record Validator API
26
+ ============
27
+
28
+ DANE Record Validator validates DANE/TLSA DNS records used for certificate authentication, providing security analysis and best practice recommendations.
29
+
30
+
31
+ [![PyPI version](https://img.shields.io/pypi/v/apiverve-danerecordvalidator.svg)](https://pypi.org/project/apiverve-danerecordvalidator/)
32
+
33
+ This is a Python wrapper for the [DANE Record Validator API](https://apiverve.com/marketplace/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=readme)
34
+
35
+ ---
36
+
37
+ ## Installation
38
+
39
+ Using `pip`:
40
+
41
+ ```bash
42
+ pip install apiverve-danerecordvalidator
43
+ ```
44
+
45
+ Using `pip3`:
46
+
47
+ ```bash
48
+ pip3 install apiverve-danerecordvalidator
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Configuration
54
+
55
+ Before using the DANE Record Validator API client, you have to setup your account and obtain your API Key.
56
+ You can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=pypi&utm_medium=referral&utm_content=readme)
57
+
58
+ ---
59
+
60
+ ## Quick Start
61
+
62
+ Here's a simple example to get you started quickly:
63
+
64
+ ```python
65
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
66
+
67
+ # Initialize the client with your APIVerve API key
68
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
69
+
70
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
71
+
72
+ try:
73
+ # Make the API call
74
+ result = api.execute(query)
75
+
76
+ # Print the result
77
+ print(result)
78
+ except Exception as e:
79
+ print(f"Error: {e}")
80
+ ```
81
+
82
+ ---
83
+
84
+ ## Usage
85
+
86
+ The DANE Record Validator API documentation is found here: [https://docs.apiverve.com/ref/danevalidator](https://docs.apiverve.com/ref/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=readme).
87
+ You can find parameters, example responses, and status codes documented here.
88
+
89
+ ### Setup
90
+
91
+ ```python
92
+ # Import the client module
93
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
94
+
95
+ # Initialize the client with your APIVerve API key
96
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
97
+ ```
98
+
99
+ ---
100
+
101
+ ## Perform Request
102
+
103
+ Using the API client, you can perform requests to the API.
104
+
105
+ ###### Define Query
106
+
107
+ ```python
108
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
109
+ ```
110
+
111
+ ###### Simple Request
112
+
113
+ ```python
114
+ # Make a request to the API
115
+ result = api.execute(query)
116
+
117
+ # Print the result
118
+ print(result)
119
+ ```
120
+
121
+ ###### Example Response
122
+
123
+ ```json
124
+ {
125
+ "status": "ok",
126
+ "error": null,
127
+ "data": {
128
+ "raw_record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
129
+ "parsed": {
130
+ "name": "_443._tcp.example.com.",
131
+ "port": 443,
132
+ "protocol": "tcp",
133
+ "hostname": "example.com",
134
+ "ttl": 86400,
135
+ "class": "IN",
136
+ "usage": 3,
137
+ "selector": 1,
138
+ "matching": 1,
139
+ "certificate_data": "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
140
+ "certificate_data_length": 64
141
+ },
142
+ "interpretation": {
143
+ "usage": {
144
+ "name": "DANE-EE",
145
+ "description": "Domain-issued certificate",
146
+ "full_description": "Certificate must exactly match the provided association data (most common)"
147
+ },
148
+ "selector": {
149
+ "name": "SPKI",
150
+ "description": "SubjectPublicKeyInfo",
151
+ "full_description": "Match against the Subject Public Key Info (recommended)"
152
+ },
153
+ "matching": {
154
+ "name": "SHA-256",
155
+ "description": "SHA-256 hash",
156
+ "full_description": "SHA-256 hash of the selected content (recommended)"
157
+ },
158
+ "security_level": "Recommended",
159
+ "recommendation": "This is the recommended DANE configuration (DANE-EE + SPKI + SHA-256)"
160
+ },
161
+ "validation": {
162
+ "is_valid": true,
163
+ "certificate_data_format": "Valid hexadecimal",
164
+ "certificate_data_length_valid": true
165
+ }
166
+ }
167
+ }
168
+ ```
169
+
170
+ ---
171
+
172
+ ## Error Handling
173
+
174
+ The API client provides comprehensive error handling through the `DanevalidatorAPIClientError` exception. Here are some examples:
175
+
176
+ ### Basic Error Handling
177
+
178
+ ```python
179
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient, DanevalidatorAPIClientError
180
+
181
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
182
+
183
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
184
+
185
+ try:
186
+ result = api.execute(query)
187
+ print("Success!")
188
+ print(result)
189
+ except DanevalidatorAPIClientError as e:
190
+ print(f"API Error: {e.message}")
191
+ if e.status_code:
192
+ print(f"Status Code: {e.status_code}")
193
+ if e.response:
194
+ print(f"Response: {e.response}")
195
+ ```
196
+
197
+ ### Handling Specific Error Types
198
+
199
+ ```python
200
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient, DanevalidatorAPIClientError
201
+
202
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
203
+
204
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
205
+
206
+ try:
207
+ result = api.execute(query)
208
+
209
+ # Check for successful response
210
+ if result.get('status') == 'success':
211
+ print("Request successful!")
212
+ print(result.get('data'))
213
+ else:
214
+ print(f"API returned an error: {result.get('error')}")
215
+
216
+ except DanevalidatorAPIClientError as e:
217
+ # Handle API client errors
218
+ if e.status_code == 401:
219
+ print("Unauthorized: Invalid API key")
220
+ elif e.status_code == 429:
221
+ print("Rate limit exceeded")
222
+ elif e.status_code >= 500:
223
+ print("Server error - please try again later")
224
+ else:
225
+ print(f"API error: {e.message}")
226
+ except Exception as e:
227
+ # Handle unexpected errors
228
+ print(f"Unexpected error: {str(e)}")
229
+ ```
230
+
231
+ ### Using Context Manager (Recommended)
232
+
233
+ The client supports the context manager protocol for automatic resource cleanup:
234
+
235
+ ```python
236
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient, DanevalidatorAPIClientError
237
+
238
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
239
+
240
+ # Using context manager ensures proper cleanup
241
+ with DanevalidatorAPIClient("[YOUR_API_KEY]") as api:
242
+ try:
243
+ result = api.execute(query)
244
+ print(result)
245
+ except DanevalidatorAPIClientError as e:
246
+ print(f"Error: {e.message}")
247
+ # Session is automatically closed here
248
+ ```
249
+
250
+ ---
251
+
252
+ ## Advanced Features
253
+
254
+ ### Debug Mode
255
+
256
+ Enable debug logging to see detailed request and response information:
257
+
258
+ ```python
259
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
260
+
261
+ # Enable debug mode
262
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]", debug=True)
263
+
264
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
265
+
266
+ # Debug information will be printed to console
267
+ result = api.execute(query)
268
+ ```
269
+
270
+ ### Manual Session Management
271
+
272
+ If you need to manually manage the session lifecycle:
273
+
274
+ ```python
275
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
276
+
277
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
278
+
279
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
280
+
281
+ try:
282
+ result = api.execute(query)
283
+ print(result)
284
+ finally:
285
+ # Manually close the session when done
286
+ api.close()
287
+ ```
288
+
289
+ ---
290
+
291
+ ## Customer Support
292
+
293
+ Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=pypi&utm_medium=referral&utm_content=readme).
294
+
295
+ ---
296
+
297
+ ## Updates
298
+ Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.
299
+
300
+ ---
301
+
302
+ ## Legal
303
+
304
+ All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=pypi&utm_medium=referral&utm_content=readme) and all legal documents and agreements.
305
+
306
+ ---
307
+
308
+ ## License
309
+ Licensed under the MIT License (MIT)
310
+
311
+ Copyright (&copy;) 2026 APIVerve, and EvlarSoft LLC
312
+
313
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
314
+
315
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
316
+
317
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,293 @@
1
+ DANE Record Validator API
2
+ ============
3
+
4
+ DANE Record Validator validates DANE/TLSA DNS records used for certificate authentication, providing security analysis and best practice recommendations.
5
+
6
+
7
+ [![PyPI version](https://img.shields.io/pypi/v/apiverve-danerecordvalidator.svg)](https://pypi.org/project/apiverve-danerecordvalidator/)
8
+
9
+ This is a Python wrapper for the [DANE Record Validator API](https://apiverve.com/marketplace/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=readme)
10
+
11
+ ---
12
+
13
+ ## Installation
14
+
15
+ Using `pip`:
16
+
17
+ ```bash
18
+ pip install apiverve-danerecordvalidator
19
+ ```
20
+
21
+ Using `pip3`:
22
+
23
+ ```bash
24
+ pip3 install apiverve-danerecordvalidator
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Configuration
30
+
31
+ Before using the DANE Record Validator API client, you have to setup your account and obtain your API Key.
32
+ You can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=pypi&utm_medium=referral&utm_content=readme)
33
+
34
+ ---
35
+
36
+ ## Quick Start
37
+
38
+ Here's a simple example to get you started quickly:
39
+
40
+ ```python
41
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
42
+
43
+ # Initialize the client with your APIVerve API key
44
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
45
+
46
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
47
+
48
+ try:
49
+ # Make the API call
50
+ result = api.execute(query)
51
+
52
+ # Print the result
53
+ print(result)
54
+ except Exception as e:
55
+ print(f"Error: {e}")
56
+ ```
57
+
58
+ ---
59
+
60
+ ## Usage
61
+
62
+ The DANE Record Validator API documentation is found here: [https://docs.apiverve.com/ref/danevalidator](https://docs.apiverve.com/ref/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=readme).
63
+ You can find parameters, example responses, and status codes documented here.
64
+
65
+ ### Setup
66
+
67
+ ```python
68
+ # Import the client module
69
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
70
+
71
+ # Initialize the client with your APIVerve API key
72
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
73
+ ```
74
+
75
+ ---
76
+
77
+ ## Perform Request
78
+
79
+ Using the API client, you can perform requests to the API.
80
+
81
+ ###### Define Query
82
+
83
+ ```python
84
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
85
+ ```
86
+
87
+ ###### Simple Request
88
+
89
+ ```python
90
+ # Make a request to the API
91
+ result = api.execute(query)
92
+
93
+ # Print the result
94
+ print(result)
95
+ ```
96
+
97
+ ###### Example Response
98
+
99
+ ```json
100
+ {
101
+ "status": "ok",
102
+ "error": null,
103
+ "data": {
104
+ "raw_record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
105
+ "parsed": {
106
+ "name": "_443._tcp.example.com.",
107
+ "port": 443,
108
+ "protocol": "tcp",
109
+ "hostname": "example.com",
110
+ "ttl": 86400,
111
+ "class": "IN",
112
+ "usage": 3,
113
+ "selector": 1,
114
+ "matching": 1,
115
+ "certificate_data": "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
116
+ "certificate_data_length": 64
117
+ },
118
+ "interpretation": {
119
+ "usage": {
120
+ "name": "DANE-EE",
121
+ "description": "Domain-issued certificate",
122
+ "full_description": "Certificate must exactly match the provided association data (most common)"
123
+ },
124
+ "selector": {
125
+ "name": "SPKI",
126
+ "description": "SubjectPublicKeyInfo",
127
+ "full_description": "Match against the Subject Public Key Info (recommended)"
128
+ },
129
+ "matching": {
130
+ "name": "SHA-256",
131
+ "description": "SHA-256 hash",
132
+ "full_description": "SHA-256 hash of the selected content (recommended)"
133
+ },
134
+ "security_level": "Recommended",
135
+ "recommendation": "This is the recommended DANE configuration (DANE-EE + SPKI + SHA-256)"
136
+ },
137
+ "validation": {
138
+ "is_valid": true,
139
+ "certificate_data_format": "Valid hexadecimal",
140
+ "certificate_data_length_valid": true
141
+ }
142
+ }
143
+ }
144
+ ```
145
+
146
+ ---
147
+
148
+ ## Error Handling
149
+
150
+ The API client provides comprehensive error handling through the `DanevalidatorAPIClientError` exception. Here are some examples:
151
+
152
+ ### Basic Error Handling
153
+
154
+ ```python
155
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient, DanevalidatorAPIClientError
156
+
157
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
158
+
159
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
160
+
161
+ try:
162
+ result = api.execute(query)
163
+ print("Success!")
164
+ print(result)
165
+ except DanevalidatorAPIClientError as e:
166
+ print(f"API Error: {e.message}")
167
+ if e.status_code:
168
+ print(f"Status Code: {e.status_code}")
169
+ if e.response:
170
+ print(f"Response: {e.response}")
171
+ ```
172
+
173
+ ### Handling Specific Error Types
174
+
175
+ ```python
176
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient, DanevalidatorAPIClientError
177
+
178
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
179
+
180
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
181
+
182
+ try:
183
+ result = api.execute(query)
184
+
185
+ # Check for successful response
186
+ if result.get('status') == 'success':
187
+ print("Request successful!")
188
+ print(result.get('data'))
189
+ else:
190
+ print(f"API returned an error: {result.get('error')}")
191
+
192
+ except DanevalidatorAPIClientError as e:
193
+ # Handle API client errors
194
+ if e.status_code == 401:
195
+ print("Unauthorized: Invalid API key")
196
+ elif e.status_code == 429:
197
+ print("Rate limit exceeded")
198
+ elif e.status_code >= 500:
199
+ print("Server error - please try again later")
200
+ else:
201
+ print(f"API error: {e.message}")
202
+ except Exception as e:
203
+ # Handle unexpected errors
204
+ print(f"Unexpected error: {str(e)}")
205
+ ```
206
+
207
+ ### Using Context Manager (Recommended)
208
+
209
+ The client supports the context manager protocol for automatic resource cleanup:
210
+
211
+ ```python
212
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient, DanevalidatorAPIClientError
213
+
214
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
215
+
216
+ # Using context manager ensures proper cleanup
217
+ with DanevalidatorAPIClient("[YOUR_API_KEY]") as api:
218
+ try:
219
+ result = api.execute(query)
220
+ print(result)
221
+ except DanevalidatorAPIClientError as e:
222
+ print(f"Error: {e.message}")
223
+ # Session is automatically closed here
224
+ ```
225
+
226
+ ---
227
+
228
+ ## Advanced Features
229
+
230
+ ### Debug Mode
231
+
232
+ Enable debug logging to see detailed request and response information:
233
+
234
+ ```python
235
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
236
+
237
+ # Enable debug mode
238
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]", debug=True)
239
+
240
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
241
+
242
+ # Debug information will be printed to console
243
+ result = api.execute(query)
244
+ ```
245
+
246
+ ### Manual Session Management
247
+
248
+ If you need to manually manage the session lifecycle:
249
+
250
+ ```python
251
+ from apiverve_danerecordvalidator.apiClient import DanevalidatorAPIClient
252
+
253
+ api = DanevalidatorAPIClient("[YOUR_API_KEY]")
254
+
255
+ query = { "record": "_443._tcp.example.com. 86400 IN TLSA 3 1 1 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF" }
256
+
257
+ try:
258
+ result = api.execute(query)
259
+ print(result)
260
+ finally:
261
+ # Manually close the session when done
262
+ api.close()
263
+ ```
264
+
265
+ ---
266
+
267
+ ## Customer Support
268
+
269
+ Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=pypi&utm_medium=referral&utm_content=readme).
270
+
271
+ ---
272
+
273
+ ## Updates
274
+ Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.
275
+
276
+ ---
277
+
278
+ ## Legal
279
+
280
+ All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=pypi&utm_medium=referral&utm_content=readme) and all legal documents and agreements.
281
+
282
+ ---
283
+
284
+ ## License
285
+ Licensed under the MIT License (MIT)
286
+
287
+ Copyright (&copy;) 2026 APIVerve, and EvlarSoft LLC
288
+
289
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
290
+
291
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
292
+
293
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
1
+ [project]
2
+ name = "apiverve-danerecordvalidator"
3
+ version = "1.2.3"
4
+ authors = [
5
+ { name="APIVerve", email="hello@apiverve.com" },
6
+ ]
7
+ description = "DANE Record Validator validates DANE/TLSA DNS records used for certificate authentication, providing security analysis and best practice recommendations."
8
+ keywords = ["dane", "tlsa", "dane validator", "tlsa record", "dns security"]
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = {text = "MIT"}
12
+ dependencies = [
13
+ "requests>=2.25.0"
14
+ ]
15
+ classifiers = [
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Programming Language :: Python :: 3",
18
+ "Operating System :: OS Independent",
19
+ "Intended Audience :: Developers",
20
+ "Topic :: Internet :: WWW/HTTP",
21
+ "Topic :: Software Development :: Libraries :: Python Modules",
22
+ "Natural Language :: English",
23
+ ]
24
+
25
+ [project.urls]
26
+ Homepage = "https://apiverve.com/marketplace/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=homepage"
27
+ Documentation = "https://docs.apiverve.com/ref/danevalidator?utm_source=pypi&utm_medium=referral&utm_content=docs"
28
+ Repository = "https://github.com/apiverve/danevalidator-api"
29
+ Twitter = "https://twitter.com/apivervehq"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ from .apiClient import DanevalidatorAPIClient, DanevalidatorAPIClientError
2
+
3
+ __all__ = ['DanevalidatorAPIClient', 'DanevalidatorAPIClientError']