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.

User guide

See docs/user-guide.md 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 docs/backend-adapters.md for config examples and adapter smoke-test coverage.

Release operations

See docs/release.md for PyPI publication, ownership, artifact integrity, vulnerability intake, and release evidence expectations.

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       # python -m pytest
make coverage   # pytest with coverage report
make lint       # ruff check src tests
make format     # ruff format plus import-order fixes
make typecheck  # mypy
make build      # build sdist/wheel
make package    # twine check dist/*
make check      # full release-readiness gate

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: moose_inventory-2.1.0.tar.gz
  • Upload date:
  • Size: 229.5 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.0.tar.gz
Algorithm Hash digest
SHA256 fc1dbf4583683af5afb38b95e041bec033942734cd020470be63e4e7f248c162
MD5 854e1622d2beb254dc1a43364d687243
BLAKE2b-256 938c24e55ad283e1500c560f0766a6fda20fdbfdc66b57ff00c43c58d6f8aa73

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for moose_inventory-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc9a37b48d9505b54a0f402ba552587ef9b89d3128748efbcd1e33f98ee71335
MD5 2b8b3691e69f2cca8cac4336046bd2b0
BLAKE2b-256 7ae7ff697e54a014fac8d089c7ce301070fce417f73cea433a32e5d1d93174ce

See more details on using hashes here.

Provenance

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