Skip to main content

os-flavor-selector - A tool to filter OpenStack flavors based on resource criteria

Build and Test License: MIT Code style: black

About

os-flavor-selector is a command-line and interactive tool to filter and explore OpenStack flavors. When there are many flavors available, it is sometimes difficult to find the correct one that fills our requirements. This tool makes it easy to filter, sort, and display flavors.

Example

$ os-flavor-selector --help
usage: os-flavor-selector [-h] [-d] [--os-cloud OS_CLOUD] [--output {interactive,text,json}]
                          [--visibility {all,public,private}] [--memory-min MEMORY_MIN]
                          [--memory-max MEMORY_MAX] [--vcpus-min VCPUS_MIN] [--vcpus-max VCPUS_MAX]
                          [--extra-spec KEY=VALUE] [--name NAME]

A tool to filter OpenStack flavors based on resource criteria

options:
  -h, --help            show this help message and exit
  -d, --debug           debug flag
  --os-cloud OS_CLOUD   Name of the cloud to load from clouds.yaml. (Default 'envvars', which uses
                        OS_* env vars)
  --output {interactive,text,json}
                        Output format (default: interactive)
  --visibility {all,public,private}
                        Filter by flavor visibility (default: all)
  --memory-min MEMORY_MIN
                        Minimum Amount of Memory
  --memory-max MEMORY_MAX
                        Maximum Amount of Memory
  --vcpus-min VCPUS_MIN
                        Minimum Amount of VCPUs
  --vcpus-max VCPUS_MAX
                        Maximum Amount of VCPUs
  --extra-spec KEY=VALUE
                        Filter by extra_specs (can be used multiple times). Example: --extra-spec
                        hw:cpu_policy=dedicated --extra-spec trait:HW_CPU_X86_AVX2=required
  --name NAME           Filter by name using a regular expression (case-insensitive)

    Example of use:
        os-flavor-selector
        os-flavor-selector --vcpus-min 4
        os-flavor-selector --vcpus-min 4 --vcpus-max 8
        os-flavor-selector --vcpus-min 4 --vcpus-max 8 --output json

Interactive GIF

Installation

$ pip install os-flavor-selector

Or clone the repo and install from source.

$ pip install .

Development mode

$ pip install -e .

or using pipx:

$ pipx install -e .

Metadata

Release files for os-flavor-selector 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 os-flavor-selector 0.0.3
File Size Uploaded Provenance Actions
os_flavor_selector-0.0.3.tar.gz 11.1 kB Without provenance Details for os_flavor_selector-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for os-flavor-selector 0.0.3
File Interpreter ABI Platform Actions
os_flavor_selector-0.0.3-py3-none-any.whl Python 3 none any Details for os_flavor_selector-0.0.3-py3-none-any.whl

Total release size: 21.5 kB

Release files / os_flavor_selector-0.0.3.tar.gz

Download URL os_flavor_selector-0.0.3.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
21604d55843a6695a39bc8b8e4bc05c3bb50a8725d55c17227e07c75e345ea1b
BLAKE2b-256 checksum
How to use checksums
72d604fdd6294cb4c118f304ff6521021c9d46242f81f75cd285fda75c8a2d1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / os_flavor_selector-0.0.3-py3-none-any.whl

Download URL os_flavor_selector-0.0.3-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8c99ca815b0ae94c1ff04a19b99bd994c2addf7d2622637011066b61cb12971
BLAKE2b-256 checksum
How to use checksums
cae0c449b8f1b5970e7ad01c0de9e754f97a3d09e74ef66f8976c5278ce3bd1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for os-flavor-selector 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.

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