A python interface to the ClouDNS.net API
Project description
cloudns_api
####
A python interface to the ClouDNS.net API
===========================================================
Please note that this is still in Beta. Use at your own risk.
This project is an independent project and is not endorsed by
`CloudNS.net <https://cloudns.net>`_.
The interface is designed to be simple and intuitive. Entities are represented
as modules and there is a simple list, create, update, and delete function
(when appropriate, ie, you cannot delete an SOA record) for each entity. Some
entities have functions specific to them, but whenever possible, the arguments
are consistent. The code reads pretty clearly.
For information on the `CloudNS.net <https://cloudns.net>`_ API see `here
<https://www.cloudns.net/wiki/article/41/>`_.
Installing and including in projects
====================================
Installing cloudns_api
---------------
.. code:: bash
$ pip install cloudns_api
In order to authenticate correctly, create the following environment variables
(using your own credentials):
.. code:: bash
export CLOUDNS_AUTH_USER=my_user
export CLOUDNS_AUTH_PASSWORD=my_password
Running Tests
-------------
.. code:: bash
$ cd <project directory>
$ py.test
Importing and Basic Usage
-------------------------
.. code:: python
>>> import cloudns_api
>>> app = nwid.App()
>>> app.window.add( {
nwid.Title : { 'text' : 'An nwid App!' },
nwid.LabeledTextBox : {
'text' : 'Your input:',
'validator' : App.validate_function,
'name' :
}
nwid.Button : {
'text' : 'Click me!',
'click' : App.callback_function,
}
})
>>> app.run()
----
Soli Deo gloria.
####
A python interface to the ClouDNS.net API
===========================================================
Please note that this is still in Beta. Use at your own risk.
This project is an independent project and is not endorsed by
`CloudNS.net <https://cloudns.net>`_.
The interface is designed to be simple and intuitive. Entities are represented
as modules and there is a simple list, create, update, and delete function
(when appropriate, ie, you cannot delete an SOA record) for each entity. Some
entities have functions specific to them, but whenever possible, the arguments
are consistent. The code reads pretty clearly.
For information on the `CloudNS.net <https://cloudns.net>`_ API see `here
<https://www.cloudns.net/wiki/article/41/>`_.
Installing and including in projects
====================================
Installing cloudns_api
---------------
.. code:: bash
$ pip install cloudns_api
In order to authenticate correctly, create the following environment variables
(using your own credentials):
.. code:: bash
export CLOUDNS_AUTH_USER=my_user
export CLOUDNS_AUTH_PASSWORD=my_password
Running Tests
-------------
.. code:: bash
$ cd <project directory>
$ py.test
Importing and Basic Usage
-------------------------
.. code:: python
>>> import cloudns_api
>>> app = nwid.App()
>>> app.window.add( {
nwid.Title : { 'text' : 'An nwid App!' },
nwid.LabeledTextBox : {
'text' : 'Your input:',
'validator' : App.validate_function,
'name' :
}
nwid.Button : {
'text' : 'Click me!',
'click' : App.callback_function,
}
})
>>> app.run()
----
Soli Deo gloria.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloudns_api-0.2.tar.gz
(7.8 kB
view hashes)
Built Distribution
cloudns_api-0.2-py2-none-any.whl
(11.7 kB
view hashes)
Close
Hashes for cloudns_api-0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2a7b1aa8895a5045e063495a0823465411d7c06901a948820023de94b7e8877 |
|
MD5 | 861bf155735a9c4337146d45325c04a4 |
|
BLAKE2b-256 | baf79430d7aced8d93a9d7e587480c3a9b12a4120a654e3af3fccfe341c3c72a |