codekingpro/portable-devtools
114k
1Metadata-Version: 2.12Name: dnspython3Version: 2.6.14Summary: DNS toolkit5Project-URL: homepage, https://www.dnspython.org6Project-URL: repository, https://github.com/rthalley/dnspython.git7Project-URL: documentation, https://dnspython.readthedocs.io/en/stable/8Project-URL: issues, https://github.com/rthalley/dnspython/issues9Author-email: Bob Halley <halley@dnspython.org>10License-Expression: ISC11License-File: LICENSE12Classifier: Development Status :: 5 - Production/Stable13Classifier: Intended Audience :: Developers14Classifier: Intended Audience :: System Administrators15Classifier: License :: OSI Approved :: ISC License (ISCL)16Classifier: Operating System :: Microsoft :: Windows17Classifier: Operating System :: POSIX18Classifier: Programming Language :: Python19Classifier: Programming Language :: Python :: 320Classifier: Programming Language :: Python :: 3.821Classifier: Programming Language :: Python :: 3.922Classifier: Programming Language :: Python :: 3.1023Classifier: Programming Language :: Python :: 3.1124Classifier: Programming Language :: Python :: 3.1225Classifier: Topic :: Internet :: Name Service (DNS)26Classifier: Topic :: Software Development :: Libraries :: Python Modules27Requires-Python: >=3.828Provides-Extra: dev29Requires-Dist: black>=23.1.0; extra == 'dev'30Requires-Dist: coverage>=7.0; extra == 'dev'31Requires-Dist: flake8>=7; extra == 'dev'32Requires-Dist: mypy>=1.8; extra == 'dev'33Requires-Dist: pylint>=3; extra == 'dev'34Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'35Requires-Dist: pytest>=7.4; extra == 'dev'36Requires-Dist: sphinx>=7.2.0; extra == 'dev'37Requires-Dist: twine>=4.0.0; extra == 'dev'38Requires-Dist: wheel>=0.42.0; extra == 'dev'39Provides-Extra: dnssec40Requires-Dist: cryptography>=41; extra == 'dnssec'41Provides-Extra: doh42Requires-Dist: h2>=4.1.0; extra == 'doh'43Requires-Dist: httpcore>=1.0.0; extra == 'doh'44Requires-Dist: httpx>=0.26.0; extra == 'doh'45Provides-Extra: doq46Requires-Dist: aioquic>=0.9.25; extra == 'doq'47Provides-Extra: idna48Requires-Dist: idna>=3.6; extra == 'idna'49Provides-Extra: trio50Requires-Dist: trio>=0.23; extra == 'trio'51Provides-Extra: wmi52Requires-Dist: wmi>=1.5.1; extra == 'wmi'53Description-Content-Type: text/markdown54 55# dnspython56 57[](https://github.com/rthalley/dnspython/actions/)58[](https://dnspython.readthedocs.io/en/latest/?badge=latest)59[](https://badge.fury.io/py/dnspython)60[](https://opensource.org/licenses/ISC)61[](https://codecov.io/github/rthalley/dnspython)62[](https://github.com/psf/black)63 64## INTRODUCTION65 66dnspython is a DNS toolkit for Python. It supports almost all record types. It67can be used for queries, zone transfers, and dynamic updates. It supports TSIG68authenticated messages and EDNS0.69 70dnspython provides both high and low level access to DNS. The high level classes71perform queries for data of a given name, type, and class, and return an answer72set. The low level classes allow direct manipulation of DNS zones, messages,73names, and records.74 75To see a few of the ways dnspython can be used, look in the `examples/`76directory.77 78dnspython is a utility to work with DNS, `/etc/hosts` is thus not used. For79simple forward DNS lookups, it's better to use `socket.getaddrinfo()` or80`socket.gethostbyname()`.81 82dnspython originated at Nominum where it was developed83to facilitate the testing of DNS software.84 85## ABOUT THIS RELEASE86 87This is dnspython 2.6.1.88Please read89[What's New](https://dnspython.readthedocs.io/en/stable/whatsnew.html) for90information about the changes in this release.91 92## INSTALLATION93 94* Many distributions have dnspython packaged for you, so you should95 check there first.96* To use a wheel downloaded from PyPi, run:97 98 pip install dnspython99 100* To install from the source code, go into the top-level of the source code101 and run:102 103```104 pip install --upgrade pip build105 python -m build106 pip install dist/*.whl107```108 109* To install the latest from the master branch, run `pip install git+https://github.com/rthalley/dnspython.git`110 111Dnspython's default installation does not depend on any modules other than112those in the Python standard library. To use some features, additional modules113must be installed. For convenience, pip options are defined for the114requirements.115 116If you want to use DNS-over-HTTPS, run117`pip install dnspython[doh]`.118 119If you want to use DNSSEC functionality, run120`pip install dnspython[dnssec]`.121 122If you want to use internationalized domain names (IDNA)123functionality, you must run124`pip install dnspython[idna]`125 126If you want to use the Trio asynchronous I/O package, run127`pip install dnspython[trio]`.128 129If you want to use WMI on Windows to determine the active DNS settings130instead of the default registry scanning method, run131`pip install dnspython[wmi]`.132 133If you want to try the experimental DNS-over-QUIC code, run134`pip install dnspython[doq]`.135 136Note that you can install any combination of the above, e.g.:137`pip install dnspython[doh,dnssec,idna]`138 139### Notices140 141Python 2.x support ended with the release of 1.16.0. Dnspython 2.0.0 through1422.2.x support Python 3.6 and later. For dnspython 2.3.x, the minimum143supported Python version is 3.7, and for 2.4.x the minimum supported verison is 3.8.144We plan to align future support with the lifetime of the Python 3 versions.145 146Documentation has moved to147[dnspython.readthedocs.io](https://dnspython.readthedocs.io).148 