Python sdk for name.com v4 api
Installation
pip install namecom --upgrade
Command line guidance
If you do not want to append --name and --token to the command every time, run the following command should do some help
export NAMECOM_NAME=<your namecom username>
export NAMECOM_TOKEN=<your namecom token>
To delete a DNS record
namecli create-dns
--domain example.org
--host www
--dns-type A
--answer 127.0.0.1
--name <your namecom username>
--token <your namecom token>
To delete a DNS record
namecli delete-dns
--domain example.org
--host www
--name <your namecom username>
--token <your namecom token>
To create a DDNS record
namecli ddns
--domain example.org
--host www
--name <your namecom username>
--token <your namecom token>
SDK development
So far, not all name.com api are supported.
Initialization
from namecom import Name
name = Name(name, token)
name.list_records("example.org", page=1, perPage=1000)
name.delete_record("example.org", id_="12345", )
name.create_record("example.org", "www", "A", "127.0.0.1")
Metadata
Release files for namecom 0.6.0
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 |
|---|---|---|---|---|
| namecom-0.6.0.tar.gz | 6.8 kB | Without provenance | Details for namecom-0.6.0.tar.gz |
Release files / namecom-0.6.0.tar.gz
| Download URL | namecom-0.6.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c400eeeefdc11337b4596ce81216d04d162f6c33e1670c5e8f36cf870d0fdc3c
|
|
BLAKE2b-256 checksum How to use checksums |
1b83a3e3504f46f98a0189525b55028c7b77ad7d976109ced8513630de9612de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.1
|
Security for namecom 0.6.0
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.