Dove
A command line utility to help manage your development server in Digital Ocean
Why?
Developing on a remote environment provides several advantages over local development such as resource scaling, OS selection, security, and portability. However, as an unemployed student, paying 20-30 dollars a month for a hosted server directly impacts my food budget. Dove helps ease this burden by making it easy to snapshot/rebuild your environment. Given that snapshot pricing is 0.05/GB/month, dove helps reduce the cost of maintaining a remote environment when it's frequently idle.
How
-
Generate an API access token on Digital Ocean here
-
Install dove:
pip install droplet_dove -
Initialize dove with
dove init -
Start your droplet with
dove up -
Clean up your droplet and take a snapshot with
dove down
Additional help: dove --help
How Does It Work?
Dove maintains all of its configuration in ~/.dove_config.json. You can edit these values manually; however you can use dove init for an initial population. Note that all properties under the droplet key are passed directly to digital ocean (with exception to the sshkeys array), so if addiitonal configuration is required it can be edited there.
Dove Up
- Check for a running droplet with the name specified in the dove config, abort if one exists
- Find the latest snapshot for the prefix provided in dove config or use the default snapshot if none exist
- Create the droplet with the configuration params
- Wait for the droplet to start
Dove Down
- Get droplet based on name provided in dove config, abort if droplet not found
- Shutdown droplet and take a snapshot
- Destroy old snapshots with same prefix
- Destroy droplet
Metadata
Release files for droplet-dove 0.0.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 | |
|---|---|---|---|---|
| droplet_dove-0.0.3.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| droplet_dove-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / droplet_dove-0.0.3.tar.gz
| Download URL | droplet_dove-0.0.3.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e1f16dd71118e9bf498ee7ad9f68d38d9a001829a0d6f592b6f5f2f9e85a3ea
|
|
BLAKE2b-256 checksum How to use checksums |
2b55ce9ea080aa852bc4cdbb6f4832ce85f920cc0b2bc84c78c7d116e7b9b1dc
|
| 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/40.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
|
Release files / droplet_dove-0.0.3-py3-none-any.whl
| Download URL | droplet_dove-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1abf487d0bde200a1730bb62a27b106605119c5ba3ad89c76c3d62e9ddbe1175
|
|
BLAKE2b-256 checksum How to use checksums |
bb8a4cb0fd54f6c97881e18bd33fec2997545b475565f81dd8c9378e9e92e1f9
|
| 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/40.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
|
Security for droplet-dove 0.0.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.