python-doctl
A Python wrapper for the excellent doctl command-line utility, from Digital Ocean.
Usage
>>> import doctl
>>> for droplet in doctl.compute.droplet.list():
... print(droplet['name'])
pypi.kennethreitz.org
code.kennethreitz.org
build.kennethreitz.org
…
>>> for key in doctl.compute.ssh_key.list():
... print(key['name'])
Blink (iPad)
thoth
macbook
All methods return Python data structures, includinging timezone–aware Datetime objects.
Notes
Use of the DIGITALOCEAN_ACCESS_TOKEN environment variable is recommended.
Available Namespaces
The entire API surface of doctl is covered by this library, so the following namespaces are available for your use and enjoyment:
compute.accountcompute.actioncompute.certificatecompute.domaincompute.domain_recordscompute.dropletcompute.firewallcompute.floating_ipcompute.imagecompute.image_actioncompute.load_balancercompute.plugincompute.region_listcompute.size_listcompute.snapshotcompute.ssh_keycompute.tagcompute.volumecompute.volume_action
Installation
$ pipenv install doctl
✨🍰✨
Metadata
Release files for doctl 0.2.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 |
|---|---|---|---|---|
| doctl-0.2.3.tar.gz | 7.6 kB | Without provenance | Details for doctl-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doctl-0.2.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for doctl-0.2.3-py2.py3-none-any.whl |
Total release size: 14.1 kB
Release files / doctl-0.2.3.tar.gz
| Download URL | doctl-0.2.3.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5c108dadd1ace103c645d46b33a9e94ec749c3b7831679c76547d9a062ef50d
|
|
BLAKE2b-256 checksum How to use checksums |
5332747df793926553bc30821c3eabd4d61201ef2598c05c4a42e43ff36a6589
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0
|
Release files / doctl-0.2.3-py2.py3-none-any.whl
| Download URL | doctl-0.2.3-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c4451a6153da39b128374d8ab3b3a9a2150a830b085886f57a22c8b818cbdddc
|
|
BLAKE2b-256 checksum How to use checksums |
2453962cad2ee7562a37bc972e7ff7b35af9224e5fb7579b982b94b1665a4e1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0
|
Security for doctl 0.2.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.