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>
Release files for dropman 1.1.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 | |
|---|---|---|---|
| dropman-1.1.3.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dropman-1.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / dropman-1.1.3.tar.gz
| Download URL | dropman-1.1.3.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
899c5ffbad199c676e3f986a499923d2eaad54f1b82bc016771eae24777557d8
|
|
BLAKE2b-256 checksum How to use checksums |
83dbcd8851f393fbd81dae556bace8fe4f54fb64f7c7c18be526145ccd115397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dropman-1.1.3-py2.py3-none-any.whl
| Download URL | dropman-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2da897f1a4cbeb3cdd157e5a38e2e0425d749d3468aed0ec4ff189ed7cfe6672
|
|
BLAKE2b-256 checksum How to use checksums |
f151c06bb42a563826c94efd2ac259bba2b47587963a4a6043299605ebcc4c80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|