dynu-renew
A Python module to renew public IP address associated with a Dynu domain.
This Python module, through the "renew_domains_ip" function, retrieves the current public IP address, stores it in a local SQLite database, and communicates it to Dynu.
Quick Start
First you need to download the "dynu-renew" package, for example via pip:
pip install dynu-renew
At this point you need to create the "instance" folder:
mkdir instance
And create the "config.py" file inside, taking inspiration from what you can find inside the "configs" folder of this repo.
In the "DYNU_PASSWORD" field I recommend you enter the Dynu IP Update Password instead of the Dynu account access password, because the Dynu IP Update Password has limited privileges.
Finally, to start it via CLI simply send the command:
python -m dynu_renew
If the output is empty, then the IP renewal was successful, otherwise the error received from the Dynu API is returned.
I recommend you add scheduled execution of dynu-renew by adding it to the crontab, as follows:
crontab -e
Then inserting a new line like this:
*/5 * * * * python -m dynu_renew >> ~/dynu_renew.log 2>&1
Metadata
Release files for dynu-renew 1.0.3
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 |
|---|---|---|---|---|
| dynu_renew-1.0.3.tar.gz | 7.1 kB | Without provenance | Details for dynu_renew-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dynu_renew-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for dynu_renew-1.0.3-py3-none-any.whl |
Total release size: 15.1 kB
Release files / dynu_renew-1.0.3.tar.gz
| Download URL | dynu_renew-1.0.3.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dace33ac13481d435f1f83d1719b64823e9c2cd0b261795f220be574e73cffeb
|
|
BLAKE2b-256 checksum How to use checksums |
dd4826e212c983a80b527a766e5be1e6b6d38ffe2c94d8dfa4ad61f157536d5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.0 Windows/10
|
Release files / dynu_renew-1.0.3-py3-none-any.whl
| Download URL | dynu_renew-1.0.3-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03848ffeda79946acc7141e2e1d0e6d69b3fc7c3951d39b68456ce270126b179
|
|
BLAKE2b-256 checksum How to use checksums |
fbc485f703c8fec0bbbbede79886bd8fe7cd5a30eac5e839c567ef4d04a8e321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.0 Windows/10
|
Security for dynu-renew 1.0.3
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.