Skip to main content

simt-py-fly-machines

Python checks

A python API to start, stop and list Fly.io machines using the Machines REST API.

Local Development

> python3 -m venv .venv
> source .venv/bin/activate

(.venv)> pip install -U pip setuptools
(.venv)> pip install poetry

(.venv)> poetry install

Local Testing CLI (Fire)

Locally fire is available to invoke the API from CLI.

Example invocation:

# List machines
python -m simt_fly_machines.cli list mediators-hmce

# Create new machine
python -m simt_fly_machines.cli \
    create \
        mediators-hmce \
        simt-emlite:0.9.4 \
        '["simt_emlite.orchestrate.mediators"]' \
            --name "mediator-100.79.244.203" \
            --env_vars '{"EMLITE_HOST": "100.79.244.203"}' \
            --metadata '{"meter_id": "a4d636c3-9b13-4261-89ab-c018e86120e8"}'

# Destroy machine
python -m simt_fly_machines.cli destroy mediators-hmce d8dd67ea074138

Metadata

Release files for simt-fly-machines 0.2.6

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

Source distribution (sdist)

Source distribution for simt-fly-machines 0.2.6
File Size Uploaded
simt_fly_machines-0.2.6.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simt-fly-machines 0.2.6
File Interpreter ABI Platform
simt_fly_machines-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 33.7 kB

Release files / simt_fly_machines-0.2.6.tar.gz

Download URL simt_fly_machines-0.2.6.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4bd9e955846afb1f0eb0863da3c8374b55c1075a589f6605231548413cc39ec2
BLAKE2b-256 checksum
How to use checksums
d749855e6d6de8bc574df296738ea8e2fad2d8771244c3087d8dffd1fe34711a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / simt_fly_machines-0.2.6-py3-none-any.whl

Download URL simt_fly_machines-0.2.6-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46b68bad4defd316d20fc8b1de00cba1c2700ec5b8a80671646f5071cf275b46
BLAKE2b-256 checksum
How to use checksums
be44a47138e5f9c1cfc883fb88f4213c20462fbd3ed215d0ec3fe77ea0dcb6ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 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