Skip to main content

digital-ocean-dynamic-dns

pre-commit enabled Ruff CI status badge

Dynamic DNS python tool for Digital Ocean

This project offers a way to manage dynamic DNS, with specific support for DigitalOcean authoritative DNS servers.

Example:

  1. I own the domain nivin.tech
  2. DigitalOcean is my authoritative name server provider for the nivin.tech domain.
  3. I use this package (installed as a command line utility and deployed on a device on my home network) to update the DNS records for nivin.tech to point at my home gateway, which is assigned a dynamic IP address by my internet service provider (ISP).

Documentation

Full docs — installation, first-run setup, the complete command reference, and troubleshooting — live under docs/. These are repo-relative links: they render correctly on GitHub, but not from PyPI's rendered long description (this README) — see nivintw/ddns#38 to switch to absolute links once this content actually exists on main (converting now would 404 until this very PR merges):

This project carries the shared quality baseline: prek hooks (git hygiene, gitleaks, typos, rumdl, SPDX/REUSE headers, ruff, ty) that run identically locally and in CI. Conventional Commits are enforced at commit-msg time (.cz.toml); releases on main are managed by release-please (a Release PR → vX.Y.Z tag + GitHub Release on merge).

Installation

See Getting Started for install instructions (pipx or uv).

Publishing to PyPI

Every GitHub Release triggers a publish workflow (.github/workflows/publish.yml) that builds once, publishes to TestPyPI first (install + import the built wheel as a smoke test), then — gated on that — publishes to PyPI. Auth is OIDC Trusted Publishing (no long-lived secret), bound to two GitHub deployment environments — testpypi and pypi — each restricted to v* tag deployments. This only actually publishes once the one-time setup below is complete — until then, the workflow runs and fails at the TestPyPI step.

One-time setup before the first release:

  1. Create the testpypi and pypi environments (repo Settings → Environments), each with a deployment branch/tag policy restricted to v* tags.
  2. Add a pending Trusted Publisher on test.pypi.org and pypi.org, each pointing at owner nivintw, repo ddns, workflow publish.yml, and the matching environment (testpypi / pypi).

Until both publishers exist, uv publish fails loudly rather than silently skipping.

License

MIT — and REUSE-compliant.

Metadata

Release files for digital-ocean-dynamic-dns 1.3.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for digital-ocean-dynamic-dns 1.3.11
File Size Uploaded Provenance Actions
digital_ocean_dynamic_dns-1.3.11.tar.gz 116.1 kB Without provenance Details for digital_ocean_dynamic_dns-1.3.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for digital-ocean-dynamic-dns 1.3.11
File Interpreter ABI Platform Actions
digital_ocean_dynamic_dns-1.3.11-py3-none-any.whl Python 3 none any Details for digital_ocean_dynamic_dns-1.3.11-py3-none-any.whl

Total release size: 137.9 kB

Release files / digital_ocean_dynamic_dns-1.3.11.tar.gz

Download URL digital_ocean_dynamic_dns-1.3.11.tar.gz
Size 116.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a9e9653ca4efa577ac3e52b175c15f207ceaba00fc875cfb5af7e136de9ebbf
BLAKE2b-256 checksum
How to use checksums
cfc2b2e6e4bf0d653a7ec56b0015190bfded5d289c5e155e1f283af25b90ae2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / digital_ocean_dynamic_dns-1.3.11-py3-none-any.whl

Download URL digital_ocean_dynamic_dns-1.3.11-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f425a3f890da58a0f9380598ac911742f2b347b2481730cae6ce5c3012394e2c
BLAKE2b-256 checksum
How to use checksums
cb4e20354e9e19fd3fbbf6931c4653037865e2df3d461e66d0e4b9aad6a50f4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for digital-ocean-dynamic-dns 1.3.11

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page