Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.4
2 Name: dnspython
3 Version: 2.8.0
4 Summary: DNS toolkit
5 Project-URL: homepage, https://www.dnspython.org
6 Project-URL: repository, https://github.com/rthalley/dnspython.git
7 Project-URL: documentation, https://dnspython.readthedocs.io/en/stable/
8 Project-URL: issues, https://github.com/rthalley/dnspython/issues
9 Author-email: Bob Halley <[email protected]>
10 License: ISC
11 License-File: LICENSE
12 Classifier: Development Status :: 5 - Production/Stable
13 Classifier: Intended Audience :: Developers
14 Classifier: Intended Audience :: System Administrators
15 Classifier: License :: OSI Approved :: ISC License (ISCL)
16 Classifier: Operating System :: Microsoft :: Windows
17 Classifier: Operating System :: POSIX
18 Classifier: Programming Language :: Python
19 Classifier: Programming Language :: Python :: 3
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 :: 3.13
24 Classifier: Topic :: Internet :: Name Service (DNS)
25 Classifier: Topic :: Software Development :: Libraries :: Python Modules
26 Requires-Python: >=3.10
27 Provides-Extra: dev
28 Requires-Dist: black>=25.1.0; extra == 'dev'
29 Requires-Dist: coverage>=7.0; extra == 'dev'
30 Requires-Dist: flake8>=7; extra == 'dev'
31 Requires-Dist: hypercorn>=0.17.0; extra == 'dev'
32 Requires-Dist: mypy>=1.17; extra == 'dev'
33 Requires-Dist: pylint>=3; extra == 'dev'
34 Requires-Dist: pytest-cov>=6.2.0; extra == 'dev'
35 Requires-Dist: pytest>=8.4; extra == 'dev'
36 Requires-Dist: quart-trio>=0.12.0; extra == 'dev'
37 Requires-Dist: sphinx-rtd-theme>=3.0.0; extra == 'dev'
38 Requires-Dist: sphinx>=8.2.0; extra == 'dev'
39 Requires-Dist: twine>=6.1.0; extra == 'dev'
40 Requires-Dist: wheel>=0.45.0; extra == 'dev'
41 Provides-Extra: dnssec
42 Requires-Dist: cryptography>=45; extra == 'dnssec'
43 Provides-Extra: doh
44 Requires-Dist: h2>=4.2.0; extra == 'doh'
45 Requires-Dist: httpcore>=1.0.0; extra == 'doh'
46 Requires-Dist: httpx>=0.28.0; extra == 'doh'
47 Provides-Extra: doq
48 Requires-Dist: aioquic>=1.2.0; extra == 'doq'
49 Provides-Extra: idna
50 Requires-Dist: idna>=3.10; extra == 'idna'
51 Provides-Extra: trio
52 Requires-Dist: trio>=0.30; extra == 'trio'
53 Provides-Extra: wmi
54 Requires-Dist: wmi>=1.5.1; (platform_system == 'Windows') and extra == 'wmi'
55 Description-Content-Type: text/markdown
56
57 # dnspython
58
59 [![Build Status](https://github.com/rthalley/dnspython/actions/workflows/ci.yml/badge.svg)](https://github.com/rthalley/dnspython/actions/)
60 [![Documentation Status](https://readthedocs.org/projects/dnspython/badge/?version=latest)](https://dnspython.readthedocs.io/en/latest/?badge=latest)
61 [![PyPI version](https://badge.fury.io/py/dnspython.svg)](https://badge.fury.io/py/dnspython)
62 [![License: ISC](https://img.shields.io/badge/License-ISC-brightgreen.svg)](https://opensource.org/licenses/ISC)
63 [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
64
65 ## INTRODUCTION
66
67 `dnspython` is a DNS toolkit for Python. It supports almost all record types. It
68 can be used for queries, zone transfers, and dynamic updates. It supports
69 TSIG-authenticated messages and EDNS0.
70
71 `dnspython` provides both high- and low-level access to DNS. The high-level
72 classes perform queries for data of a given name, type, and class, and return an
73 answer set. The low-level classes allow direct manipulation of DNS zones,
74 messages, names, and records.
75
76 To see a few of the ways `dnspython` can be used, look in the `examples/`
77 directory.
78
79 `dnspython` is a utility to work with DNS, `/etc/hosts` is thus not used. For
80 simple forward DNS lookups, it's better to use `socket.getaddrinfo()` or
81 `socket.gethostbyname()`.
82
83 `dnspython` originated at Nominum where it was developed to facilitate the
84 testing of DNS software.
85
86 ## ABOUT THIS RELEASE
87
88 This is of `dnspython` 2.8.0.
89 Please read
90 [What's New](https://dnspython.readthedocs.io/en/stable/whatsnew.html) for
91 information about the changes in this release.
92
93 ## INSTALLATION
94
95 * Many distributions have dnspython packaged for you, so you should check there
96 first.
97 * To use a wheel downloaded from PyPi, run:
98
99 ```
100 pip install dnspython
101 ```
102
103 * To install from the source code, go into the top-level of the source code
104 and run:
105
106 ```
107 pip install --upgrade pip build
108 python -m build
109 pip install dist/*.whl
110 ```
111
112 * To install the latest from the main branch, run
113 `pip install git+https://github.com/rthalley/dnspython.git`
114
115 `dnspython`'s default installation does not depend on any modules other than
116 those in the Python standard library. To use some features, additional modules
117 must be installed. For convenience, `pip` options are defined for the
118 requirements.
119
120 If you want to use DNS-over-HTTPS, run
121 `pip install dnspython[doh]`.
122
123 If you want to use DNSSEC functionality, run
124 `pip install dnspython[dnssec]`.
125
126 If you want to use internationalized domain names (IDNA)
127 functionality, you must run
128 `pip install dnspython[idna]`
129
130 If you want to use the Trio asynchronous I/O package, run
131 `pip install dnspython[trio]`.
132
133 If you want to use WMI on Windows to determine the active DNS settings
134 instead of the default registry scanning method, run
135 `pip install dnspython[wmi]`.
136
137 If you want to try the experimental DNS-over-QUIC code, run
138 `pip install dnspython[doq]`.
139
140 Note that you can install any combination of the above, e.g.:
141 `pip install dnspython[doh,dnssec,idna]`
142
143 ### Notices
144
145 Python 2.x support ended with the release of 1.16.0. `dnspython` supports Python 3.10
146 and later. Future support is aligned with the lifetime of the Python 3 versions.
147
148 Documentation has moved to
149 [dnspython.readthedocs.io](https://dnspython.readthedocs.io).