buddyns-python
A python client library to easily consume BuddyNS's API.
Installation and compatibility
Simply install the library from PyPI:
pip install buddyns
The library supports Python 2.7+ and 3+ natively.
Quick start
from BuddyNS import BuddyNSAPI
# initialize the API object with your BuddyNS API token (from your BuddyBoard)
bd = BuddyNSAPI(key='api_token_from_BuddyNS_account')
# list domain names currently hosted on my account
l = bd.list_domains()
print(l)
# add new domain 'testdomain1761826433.com' using '1.2.3.4' as primary address
bd.add_domain('testdomain1761826433.com', '1.2.3.4')
# remove a domain
bd.remove_domain('testdomain1761826433.com')
# get status of a domain
s = bd.get_domain_status('testdomain1761826433.com')
print(s)
How to get your account key
Get your API key from your BuddyNS account:
- Log into your BuddyNS account
- Reach your settings by clicking the respective button
- Reach section "Integration", and generate or copy your API key
If you do not have an account on BuddyNS already, create one at BuddyNS.
Bugs, enhancements and feedback
Pull requests, bug reports, enhancement proposals and any feedback are welcome on the project's page.
Support and further information
Do not contact BuddyNS for developer support with this library. Rely on this further documentation instead:
You can get general support on Python from the great people of the #python channel on the freenode IRC network.
Metadata
Release files for BuddyNS 2.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 |
|---|---|---|---|---|
| BuddyNS-2.0.3.tar.gz | 4.3 kB | Without provenance | Details for BuddyNS-2.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| BuddyNS-2.0.3-py3-none-any.whl | Python 3 | none | any | Details for BuddyNS-2.0.3-py3-none-any.whl |
Total release size: 9.0 kB
Release files / BuddyNS-2.0.3.tar.gz
| Download URL | BuddyNS-2.0.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e47d0ee1eaf86494a060828b3c91db0c00b39b541e10ba9ec88b8a97ab916e05
|
|
BLAKE2b-256 checksum How to use checksums |
b9665cb59a0b86d06fc2fe85a7804fa96e34c84cbf6da8936bbb09261d761114
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Release files / BuddyNS-2.0.3-py3-none-any.whl
| Download URL | BuddyNS-2.0.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e049becb36f298f0276d0bda7a12652c9a73a69b0a47fd717e4eb4860ef8fe57
|
|
BLAKE2b-256 checksum How to use checksums |
0da01969b2ab822fe6386085afd0f03035e9caedac789cfa40fd15d34f4b3d84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Security for BuddyNS 2.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.