Skip to main content

Python CLI replacement for the Ruby moose-inventory tool.

Project description

Moose Inventory Python

Python CLI/package replacement for the Ruby moose-inventory command.

Install from PyPI:

python -m pip install moose-inventory

Check the installed CLI:

moose-inventory version
moose-inventory help

User guide

See the user guide for installation, configuration, Ruby migration, doctor, snapshot, Ansible, and read-only console usage.

Database backends

The Python CLI supports the Ruby-compatible sqlite3, mysql, and postgresql adapter names.

SQLite works with the base install. MySQL/MariaDB and PostgreSQL use optional extras:

python -m pip install 'moose-inventory[mysql]'
python -m pip install 'moose-inventory[postgresql]'

See database backend adapters for config examples and adapter smoke-test coverage.

Release operations

Release and security-maintenance notes live in release operations.

Publication uses PyPI Trusted Publishing from GitHub Actions.

Development commands

Install development dependencies first:

python -m pip install -e '.[dev]'

Common checks are available through either make targets or scripts/dev.sh:

make test
make coverage
make lint
make format
make typecheck
make build
make package
make check

The full CI/release gate used during development is:

./scripts/check.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moose_inventory-2.1.1.tar.gz (230.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moose_inventory-2.1.1-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

Details for the file moose_inventory-2.1.1.tar.gz.

File metadata

  • Download URL: moose_inventory-2.1.1.tar.gz
  • Upload date:
  • Size: 230.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for moose_inventory-2.1.1.tar.gz
Algorithm Hash digest
SHA256 3551eeec42cd43e7837be53fa6f531117c9a48dd3c846be6d4a0e3a1032e390e
MD5 0feb3e01af7f63202b0a5373dbe3befc
BLAKE2b-256 dc3ef0b5031b349ccecdff339e83f88f1811a7969113d6ed9ce4cf25cb9d0c0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for moose_inventory-2.1.1.tar.gz:

Publisher: publish.yml on RusDavies/moose-inventory-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file moose_inventory-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for moose_inventory-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76b5314d9f447493a1b151933fc1ab16d9369050c705389e40063cc7161c2846
MD5 a4306f59b87978398d2eb5040b81ce9d
BLAKE2b-256 1f43423796df8d64a549f8354ae7468f6b30ad2598b4bc6cfecb8a6eed909f76

See more details on using hashes here.

Provenance

The following attestation bundles were made for moose_inventory-2.1.1-py3-none-any.whl:

Publisher: publish.yml on RusDavies/moose-inventory-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page