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.2.tar.gz (231.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.2-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moose_inventory-2.1.2.tar.gz
  • Upload date:
  • Size: 231.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.2.tar.gz
Algorithm Hash digest
SHA256 254190a360a21d0c0b86aa6bdd05b7c6403e72dcd4f6ba90dd4ca2fa3108985d
MD5 d23d4c608c79748c5c01c2a09b809e1e
BLAKE2b-256 7004a349181942d4b4616f27b34faa68deeffd61657b11f9bbf358685b6e3070

See more details on using hashes here.

Provenance

The following attestation bundles were made for moose_inventory-2.1.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for moose_inventory-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9377adc78a0288e88b2cc6273960c239d715cd6d81f0098849dd8138fe1c6f7d
MD5 b4924679d48b9de370ef0da436d0b96e
BLAKE2b-256 4a8bc3c51ee634d0b0d22cd4a472b1fee5bb21be4adfe94931ce86b93e23fc4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for moose_inventory-2.1.2-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