Skip to main content

A Python wrapper for the Digital Ocean CLI utility — doctl.

Project description

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

Features

  • Automatically downloads doctl, if unavailable for your system (at runtime).

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

Coming soon!

Project details


Download files

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

Source Distribution

doctl-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

doctl-0.1.0-py2.py3-none-any.whl (1.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file doctl-0.1.0.tar.gz.

File metadata

  • Download URL: doctl-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for doctl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82bb88b0533118b6a2e7a6ba942e31260e7067ce98d08858fda833b4cc52ba3e
MD5 3763eafb4fb73d89e88e494cf196aebd
BLAKE2b-256 58482752c9ddd99565ad95a78e126ae32a6df9b87da4ad90facea21c84e731ab

See more details on using hashes here.

File details

Details for the file doctl-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for doctl-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e8f13836d678bccaaf954d757956d9921381c5cbe414929b1e15410c9b1a55da
MD5 43cc966152dd697faa0bd907e6e02877
BLAKE2b-256 50b41492c01edcfc8d5ee0a239754915f4924f40c1da5c0b8439ec6350d2cd01

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page