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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
254190a360a21d0c0b86aa6bdd05b7c6403e72dcd4f6ba90dd4ca2fa3108985d
|
|
| MD5 |
d23d4c608c79748c5c01c2a09b809e1e
|
|
| BLAKE2b-256 |
7004a349181942d4b4616f27b34faa68deeffd61657b11f9bbf358685b6e3070
|
Provenance
The following attestation bundles were made for moose_inventory-2.1.2.tar.gz:
Publisher:
publish.yml on RusDavies/moose-inventory-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moose_inventory-2.1.2.tar.gz -
Subject digest:
254190a360a21d0c0b86aa6bdd05b7c6403e72dcd4f6ba90dd4ca2fa3108985d - Sigstore transparency entry: 1711775619
- Sigstore integration time:
-
Permalink:
RusDavies/moose-inventory-python@2947981d119ca5c9a04ff640a3f0e93bde32f1dc -
Branch / Tag:
refs/heads/master - Owner: https://github.com/RusDavies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2947981d119ca5c9a04ff640a3f0e93bde32f1dc -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file moose_inventory-2.1.2-py3-none-any.whl.
File metadata
- Download URL: moose_inventory-2.1.2-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9377adc78a0288e88b2cc6273960c239d715cd6d81f0098849dd8138fe1c6f7d
|
|
| MD5 |
b4924679d48b9de370ef0da436d0b96e
|
|
| BLAKE2b-256 |
4a8bc3c51ee634d0b0d22cd4a472b1fee5bb21be4adfe94931ce86b93e23fc4d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moose_inventory-2.1.2-py3-none-any.whl -
Subject digest:
9377adc78a0288e88b2cc6273960c239d715cd6d81f0098849dd8138fe1c6f7d - Sigstore transparency entry: 1711775670
- Sigstore integration time:
-
Permalink:
RusDavies/moose-inventory-python@2947981d119ca5c9a04ff640a3f0e93bde32f1dc -
Branch / Tag:
refs/heads/master - Owner: https://github.com/RusDavies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2947981d119ca5c9a04ff640a3f0e93bde32f1dc -
Trigger Event:
workflow_dispatch
-
Statement type: