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
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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc1dbf4583683af5afb38b95e041bec033942734cd020470be63e4e7f248c162
|
|
| MD5 |
854e1622d2beb254dc1a43364d687243
|
|
| BLAKE2b-256 |
938c24e55ad283e1500c560f0766a6fda20fdbfdc66b57ff00c43c58d6f8aa73
|
Provenance
The following attestation bundles were made for moose_inventory-2.1.0.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.0.tar.gz -
Subject digest:
fc1dbf4583683af5afb38b95e041bec033942734cd020470be63e4e7f248c162 - Sigstore transparency entry: 1696377393
- Sigstore integration time:
-
Permalink:
RusDavies/moose-inventory-python@d9e5792c1db18a97b7847aa0aea6c025fa2b06b4 -
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@d9e5792c1db18a97b7847aa0aea6c025fa2b06b4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file moose_inventory-2.1.0-py3-none-any.whl.
File metadata
- Download URL: moose_inventory-2.1.0-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 |
cc9a37b48d9505b54a0f402ba552587ef9b89d3128748efbcd1e33f98ee71335
|
|
| MD5 |
2b8b3691e69f2cca8cac4336046bd2b0
|
|
| BLAKE2b-256 |
7ae7ff697e54a014fac8d089c7ce301070fce417f73cea433a32e5d1d93174ce
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moose_inventory-2.1.0-py3-none-any.whl -
Subject digest:
cc9a37b48d9505b54a0f402ba552587ef9b89d3128748efbcd1e33f98ee71335 - Sigstore transparency entry: 1696377560
- Sigstore integration time:
-
Permalink:
RusDavies/moose-inventory-python@d9e5792c1db18a97b7847aa0aea6c025fa2b06b4 -
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@d9e5792c1db18a97b7847aa0aea6c025fa2b06b4 -
Trigger Event:
workflow_dispatch
-
Statement type: