Skip to main content

wedos-wapi-client

Wrapper around WEDOS WAPI

(Note: WAPI must be enabled for your account and your IP must be authorized to access it.)

Example usage for DNS:

from wedos_wapi_client import WapiClient

old_ip = "1.2.3.4"
new_ip = "10.20.30.40"

wapi = WapiClient(user="your-email@domain.tld", password="secret-password")

for domain in wapi.domains_list().data["domain"].values():
    for row in wapi.dns_rows_list(domain["name"]).data["row"]:
        if row["rdtype"] == "A" and row["rdata"] == old_ip:
            wapi.dns_row_update(domain=domain["name"], row_id=row["ID"], rdata=new_ip)
    wapi.dns_domain_commit(name=domain["name"])

Metadata

Release files for wedos-wapi-client 0.1.1

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

Source distribution (sdist)

Source distribution for wedos-wapi-client 0.1.1
File Size Uploaded Provenance Actions
wedos_wapi_client-0.1.1.tar.gz 2.5 kB Without provenance Details for wedos_wapi_client-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wedos-wapi-client 0.1.1
File Interpreter ABI Platform Actions
wedos_wapi_client-0.1.1-py3-none-any.whl Python 3 none any Details for wedos_wapi_client-0.1.1-py3-none-any.whl

Total release size: 5.3 kB

Release files / wedos_wapi_client-0.1.1.tar.gz

Download URL wedos_wapi_client-0.1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fc5aba04581cc5d98a165f683a282e4aa741a3a175c8d7671173e8d18bbfdd00
BLAKE2b-256 checksum
How to use checksums
3ba142bb46bcbda8b3d3f1d6fa4ace5ca866f87a255fc68083b29ae429eba3c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-91-generic

Release files / wedos_wapi_client-0.1.1-py3-none-any.whl

Download URL wedos_wapi_client-0.1.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c97609330a92d66dbbedbd764ee94af80afbc17708223c73fa3a62c1934b266
BLAKE2b-256 checksum
How to use checksums
68c513f88a63ece801240dcfed3e627f7ba93f0c09550ce679bb92a8417489e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-91-generic

Security for wedos-wapi-client 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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