A low-calorie library for managing DNS zones
import localzone
with localzone.manage("db.example.com") as z:
r = z.add_record("greeting", "TXT", "hello, world!")
r.name # the record name, i.e. "greeting"
r.rdtype # the record type, i.e. "TXT"
r.content # the record content, i.e. "hello," "world!"
Powered by dnspython.
Features
A simple API focused on managing resource records in local zone files
Support for almost all resource record types
Auto-save and auto-serial
Built for automation
Installing localzone
$ pip install localzone
Raison d’être
Comprehensive, low-level DNS toolkits can be cumbersome for the more common zone management tasks–especially those related to making simple changes to zone records. They can also come with a steep learning curve. Enter localzone: a simple library for managing DNS zones. While localzone may be a low-calorie library, it’s stuffed full of everything that a hungry hostmaster needs.
License
BSD
Calzone image by sobinsergey from the Noun Project
Where did the calories go? The likely suspect.
Metadata
Release files for localzone 0.9.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| localzone-0.9.8.tar.gz | 10.6 kB | Without provenance | Details for localzone-0.9.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| localzone-0.9.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for localzone-0.9.8-py2.py3-none-any.whl |
Total release size: 20.2 kB
Release files / localzone-0.9.8.tar.gz
| Download URL | localzone-0.9.8.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23cb6b55a620868700b3f44e93d7402518e08eb7960935b3352ad3905c964597
|
|
BLAKE2b-256 checksum How to use checksums |
f91a2406e73b9dedafc761526687a60a09aaa8b0b2f2268aa084c56cbed81959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|
Release files / localzone-0.9.8-py2.py3-none-any.whl
| Download URL | localzone-0.9.8-py2.py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
123a917c59d7e488152ff98d37ebf5af7a2949a4cdad7edecc9f5a91b8186d47
|
|
BLAKE2b-256 checksum How to use checksums |
90b776759d7eb2aba44dee5e7ef754c90dbc85a24d3a1c099b21c8867ea90028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|
Security for localzone 0.9.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.