Skip to main content

A CLI Tool to manage Digital Ocean Droplets.

Project description

Installation

To install simply

$ pip install dropman

Configuration

DropMan will read the configuration file by default from your home directory ~/.dropman but you can also create the configuration file wherever you want and specify as an option $ dropman my_command --config-path=path/to/my/ .dropman

Create the .dropman configuration file in your home directory or in any .

$ touch ~/.dropman

Add the Digital Ocean API token to the configuration file:

token: "YOUR DIGITAL OCEAN API TOKEN"

Run

To list the options available:

$ dropman --help

List all droplets:

$ dropman list

Reboot a droplet:

$ dropman reboot <id>

Shutdown a droplet:

$ dropman shutdown <id>

Power On a droplet:

$ dropman poweron <id>

Power Off (hard shutdown) a droplet:

$ dropman poweroff <id>

Power Cycle (hard reboot) a droplet:

$ dropman powercycle <id>

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

dropman-1.1.3.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dropman-1.1.3-py2.py3-none-any.whl (14.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dropman-1.1.3.tar.gz.

File metadata

  • Download URL: dropman-1.1.3.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for dropman-1.1.3.tar.gz
Algorithm Hash digest
SHA256 899c5ffbad199c676e3f986a499923d2eaad54f1b82bc016771eae24777557d8
MD5 384cf1301e6b1f64b57cfcca49908819
BLAKE2b-256 83dbcd8851f393fbd81dae556bace8fe4f54fb64f7c7c18be526145ccd115397

See more details on using hashes here.

File details

Details for the file dropman-1.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: dropman-1.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for dropman-1.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2da897f1a4cbeb3cdd157e5a38e2e0425d749d3468aed0ec4ff189ed7cfe6672
MD5 dafcb8c70f3961406cc9d8a9ae4550cc
BLAKE2b-256 f151c06bb42a563826c94efd2ac259bba2b47587963a4a6043299605ebcc4c80

See more details on using hashes here.

Supported by

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