Skip to main content

Dove

PyPI version

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

  1. Generate an API access token on Digital Ocean here

  2. Install dove:

    pip install droplet_dove
    
  3. Initialize dove with dove init

  4. Start your droplet with dove up

  5. 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

  1. Check for a running droplet with the name specified in the dove config, abort if one exists
  2. Find the latest snapshot for the prefix provided in dove config or use the default snapshot if none exist
  3. Create the droplet with the configuration params
  4. Wait for the droplet to start

Dove Down

  1. Get droplet based on name provided in dove config, abort if droplet not found
  2. Shutdown droplet and take a snapshot
  3. Destroy old snapshots with same prefix
  4. Destroy droplet

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)

Source distribution for droplet-dove 0.0.3
File Size Uploaded
droplet_dove-0.0.3.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for droplet-dove 0.0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

3 release files

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