Skip to main content

Python SDK for

Project description

Python sdk for v4 api


pip install namecom --upgrade

Command line guide

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 account>
export NAMECOM_TOKEN=<your namecom token>

To create a dns record

namecli create_dns 
    --host www
    --dns_type A
    --name <your namecom account>
    --token <your namecom token>

To delete a DNS record

namecli delete_dns 
    --host www
    --name <your namecom account>
    --token <your namecom token>

SDK development

So far, not all api are supported.


from namecom import Name
name = Name(name, token)
name.list_records("", page=1, perPage=1000)
name.delete_record("", id_="12345", )
name.create_record("", "www", "A", "")

DDNS usage

    --host www
    --username <your namecom account>
    --token <your namecom token>

Project details

Download files

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

Files for namecom, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size namecom-0.3.0-py3.7.egg (11.5 kB) File type Egg Python version 3.7 Upload date Hashes View hashes
Filename, size namecom-0.3.0-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size namecom-0.3.0.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page