Skip to main content

ubami

A module and CLI for listing and filtering the latest Ubuntu AMIs from cloud-images.ubuntu.com.

For when you'd rather not hard-code an Ubuntu AMI ID.

Installation

pip install ubami

Usage

# find the latest Jammy Jellyfish AMI for amd64+hvm:ebs-ssd in London
ami_id = ubami.find(region='eu-west-2',
                    version='22.04 LTS',
                    arch='amd64',
                    instance_type='hvm:ebs-ssd')[0]['ami_id']
# fetch a list of all the latest official Ubuntu AMIs
ami_list = ubami.list()
# first example as a shell command
ubami --region=eu-west-2 --version='22.04 LTS' --arch=amd64 --instance-type=hvm:ebs-ssd | jq -r '.[0].ami_id'
# second example as a shell command
ubami

Metadata

Release files for ubami 0.1.2

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

Source distribution (sdist)

Source distribution for ubami 0.1.2
File Size Uploaded Provenance Actions
ubami-0.1.2.tar.gz 2.4 kB Without provenance Details for ubami-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ubami 0.1.2
File Interpreter ABI Platform Actions
ubami-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for ubami-0.1.2-py2.py3-none-any.whl

Total release size: 5.7 kB

Release files / ubami-0.1.2.tar.gz

Download URL ubami-0.1.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
83216c2aa505278eebdf12c92bf4ec93fbf6cc4e3e17ef83693f45d5670d6a60
BLAKE2b-256 checksum
How to use checksums
ae49d56932ca6ae5e3063f6052b3a9d2faf5c442cfbd91eb053ae67eff723f54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / ubami-0.1.2-py2.py3-none-any.whl

Download URL ubami-0.1.2-py2.py3-none-any.whl
Size 3.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4803dac4754a4f74f8165ee1ed729a64e690bafc0bc76ef5822944058a148b1f
BLAKE2b-256 checksum
How to use checksums
1db60474b9a487e11ddf17b91662b1ad87e416ee3d72c3bbc574df301c2964ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for ubami 0.1.2

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