dnspython
DNS toolkit for Python enabling DNS queries, zone transfers and dynamic updates.
Used in agent projects
47
0.4% of 12,697 public repos built with AI coding agents
Rank in http clients and networking
#19 of 29
by use in those projects
Downloads
59.8M
PyPI, last 7 days, dnspython
GitHub stars
2,681
last push Oct 9, 2026
How dnspython is used
dnspython is a dependency in 47 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.4%), #19 of 29 in http clients and networking. The most used alternative there is Axios. Projects that use it most often also use Requests (85.1%), python-dotenv (76.6%), Click (72.3%).
Often used with dnspython
| Requests | 85.1% of dnspython projects · 16.0× more than average |
|---|---|
| python-dotenv | 76.6% of dnspython projects · 11.7× more than average |
| Click | 72.3% of dnspython projects · 41.2× more than average |
| urllib3 | 70.2% of dnspython projects · 46.2× more than average |
| AnyIO | 68.1% of dnspython projects · 46.5× more than average |
| charset-normalizer | 68.1% of dnspython projects · 54.7× more than average |
By coding agent
| GitHub Copilot | 0.5% of projects set up for it |
|---|---|
| Claude Code | 0.4% of projects set up for it |
| Cursor | 0.3% of projects set up for it |
Share of public repos configured for each agent that list dnspython as a dependency.
Install
| Package | pip install dnspython |
|---|---|
| Main stacks | Python (43), Next.js (2), Other (1), React Native / Expo (1) |
| Example projects | capture0x/AdStrike, twjackysu/TWSEMCPServer, assafkip/kipi, leonardsellem/readwise-vector-db, mdlmarkham/TailOpsMCP |
Alternatives to dnspython
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Axios npm Promise-based HTTP client for browser and Node.js with interceptors. |
1,264 (10.0%) | 115M | 109K | MIT |
| Requests pypi Elegant Python HTTP library for making web requests. |
675 (5.3%) | 309M | 54.6K | Apache-2.0 |
| aiohttp pypi Async HTTP client/server framework for Python with WebSocket support. |
295 (2.3%) | 117M | 16.6K | — |
| ws npm Simple, fast WebSocket client and server for Node.js with full RFC support. |
287 (2.3%) | 283M | 22.8K | MIT |
| websockets pypi WebSocket implementation for Python with RFC 6455 and 7692 compliance. |
286 (2.3%) | 109M | 5,732 | — |
| httpx pypi Modern Python HTTP client with async support, replacing the standard requests library. |
266 (2.1%) | 16M | 15.6K | BSD-3-Clause |
| node-fetch npm Bring the Fetch API to Node.js for making HTTP requests. |
219 (1.7%) | 207M | 8,852 | MIT |
| urllib3 pypi HTTP client with thread-safe connection pooling, file uploads and advanced features. |
193 (1.5%) | 338M | 4,071 | — |