Skip to main content

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.account
  • compute.action
  • compute.certificate
  • compute.domain
  • compute.domain_records
  • compute.droplet
  • compute.firewall
  • compute.floating_ip
  • compute.image
  • compute.image_action
  • compute.load_balancer
  • compute.plugin
  • compute.region_list
  • compute.size_list
  • compute.snapshot
  • compute.ssh_key
  • compute.tag
  • compute.volume
  • compute.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)

Source distribution for doctl 0.2.3
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)

Table of built distributions (wheels) for doctl 0.2.3
File Interpreter ABI Platform Actions
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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page