Skip to main content

A Python wrapper of Technitium DNS server's API

Project description

tdnss

A Python API wrapper for Technitium DNS Server's HTTP API.

Notice

This project is a work in progress. A list of features will be added, for now some basic methods of API such as login/logout are implemented, with work on the zone API and the settings API is ongoing.

Any feedback is welcome!

Why?

TL;DR: the main reason I use this DNS server is its API, since it gives full control over the server without having to login to the web console. The idea is that scripts/CLIs/other tools can be built upon a library that wraps the API.

Installation

The tdnss package is available on PyPI.

For development, use the provided Pipfile:

pipenv install --dev

This creates a virtual environment, installs the dependencies to run the package, the development tools, and the package itself as an editable dependency in order to test the changes live.

If you don't use Pipenv, there's a requirements.txt provided to install runtime dependencies and a requirements-dev.txt to install development tools and tdnss as an editable package.

Contributing

Do you want to contribute to this project? Great! We welcome any contributions, from code to documentation through feedback. Read CONTRIBUTING for more information.

License

This project is licensed under the GNU General Public License v3.0 only.

See COPYING to see the full text.

Versioning

This project follows Semantic Versioning 2.0.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdnss-0.2.1.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

tdnss-0.2.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file tdnss-0.2.1.tar.gz.

File metadata

  • Download URL: tdnss-0.2.1.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for tdnss-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e54c7fcb2f85fc8824322a66e158820c8a5c9596034884be543ad00d500d7289
MD5 e4b38efed3e247e5d424c535809aea08
BLAKE2b-256 b46b934191f795973978938890a01aa5b16d5f46e09aa2084db91c6091f4246d

See more details on using hashes here.

File details

Details for the file tdnss-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: tdnss-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for tdnss-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e363313dd0ec3da981a8957c337123165e2e8bc0eecc89327a495b7d8f5ee9e
MD5 07d45a3dc8959b11b2daa916edf3bd4b
BLAKE2b-256 ef86ff223ff5c29b912b55e7f20fde8f873655fb0be75e99e8f1870f3e3695d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page