Skip to main content

EC2 Demo

Unstable package

A small cli util to create, list and delete EC2 instances.

Design

ec2-demo create <env> <file.yaml>
ec2-demo list <env>
ec2-demo destroy <env> <id>

Step 0

Set up environment.

virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -r requirements.txt

Step 1

Set up structure.

- setup.py (note `ec2-demo` vs `ec2_demo`)
- ec2_demo/cli.py
- pip install -e .
- config/
- instances/

Step 2

Add boto3 code.

- instances.py
- utils/tags.py

Step 3

- replace with logging.debug
- add list command
- add destroy command

Step 4

- Use env vars
- Use yaml constructors for dynamic lookups

Metadata

Release files for ec2-demo 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ec2-demo 0.1.9
File Size Uploaded Provenance
ec2-demo-0.1.9.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ec2-demo 0.1.9
File Interpreter ABI Platform
ec2_demo-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / ec2-demo-0.1.9.tar.gz

Download URL ec2-demo-0.1.9.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0452fbf496f7d04dabbdb6a610b194a3362e9d0dfdeaea5b33c41007dc374490
BLAKE2b-256 checksum
How to use checksums
9dd5591e35eaafa72d6772d9f850a8fd048364510d5dbbf87abe1aa1f475873d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / ec2_demo-0.1.9-py3-none-any.whl

Download URL ec2_demo-0.1.9-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20f66ecc3d5b16996a8759d0582555f90bc0ecca2b0b98937be70481cb923656
BLAKE2b-256 checksum
How to use checksums
951ff5ef26ba02b5940c0d1cbf2dec50f88892539e273dc51b25374caa7147f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Security for ec2-demo 0.1.9

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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