PyPI wrapper for TenantGuard, a tenant-isolation security-audit CLI for self-hosted multi-tenant AI-agent platforms. Downloads and runs the official prebuilt Go binary from GitHub Releases.
Project description
tenantguard-cli (PyPI)
PyPI wrapper for TenantGuard,
a tenant-isolation security-audit CLI for self-hosted multi-tenant AI-agent
platforms. This package does not reimplement TenantGuard in Python -- it
downloads the official prebuilt tenantguard binary for your platform from
TenantGuard's GitHub Releases
(published by goreleaser), verifies its SHA-256 checksum, caches it locally,
and execs it.
Install
pip install tenantguard-cli
or run without installing:
uvx tenantguard-cli scan --demo
Usage
tenantguard scan --demo
tenantguard scan --format sarif
tenantguard scan --format json
See the main TenantGuard README for the full rule reference (TA01-TA16), SARIF/JSON output schema, and the GitHub Action.
How this differs from the npm package
The tenantguard-cli npm package ships six platform-specific
optionalDependencies, each embedding a cosign-verified binary at publish
time -- no network access happens on an end user's npm install. A single
pure-Python wheel can't embed six platform binaries the same way, so this
package instead downloads the matching release archive the first time you
run tenantguard, verifies its SHA-256 against the release's
checksums.txt, and caches the verified binary locally (per package
version) -- every run after that is offline. See src/tenantguard_cli/cli.py
for the exact verification logic.
Other distribution channels for TenantGuard: Homebrew, go install, and
GitHub Releases directly -- see the main README for details.
License
Apache-2.0, matching the main TenantGuard repository.
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 tenantguard_cli-0.1.1.tar.gz.
File metadata
- Download URL: tenantguard_cli-0.1.1.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bdb9a4588bd8c976eef8d9ac4d282ee0673939c985e194d894849db71b8a7dc
|
|
| MD5 |
5d54dcfae738416b588fa789ce5e049e
|
|
| BLAKE2b-256 |
c1300b047a3f003d9eb399355dcf79568d36661e17e4b128391b7567376669cb
|
Provenance
The following attestation bundles were made for tenantguard_cli-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on RudrenduPaul/TenantGuard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tenantguard_cli-0.1.1.tar.gz -
Subject digest:
5bdb9a4588bd8c976eef8d9ac4d282ee0673939c985e194d894849db71b8a7dc - Sigstore transparency entry: 2195370926
- Sigstore integration time:
-
Permalink:
RudrenduPaul/TenantGuard@9dd66f4a7d09627b3087743ab1ca565f8e8ea228 -
Branch / Tag:
refs/tags/python-v0.1.1 - Owner: https://github.com/RudrenduPaul
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@9dd66f4a7d09627b3087743ab1ca565f8e8ea228 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tenantguard_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tenantguard_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
473b6d480d920eab33383fc0269c446e91d912c3153b4d24f314afaaf84ec71d
|
|
| MD5 |
6f740a77f5a48f117b2ee2542e73640d
|
|
| BLAKE2b-256 |
ffe8937d7876997ed6623632b925fccc1263aaf0e8be846e8a247ecf6f047740
|
Provenance
The following attestation bundles were made for tenantguard_cli-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on RudrenduPaul/TenantGuard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tenantguard_cli-0.1.1-py3-none-any.whl -
Subject digest:
473b6d480d920eab33383fc0269c446e91d912c3153b4d24f314afaaf84ec71d - Sigstore transparency entry: 2195370938
- Sigstore integration time:
-
Permalink:
RudrenduPaul/TenantGuard@9dd66f4a7d09627b3087743ab1ca565f8e8ea228 -
Branch / Tag:
refs/tags/python-v0.1.1 - Owner: https://github.com/RudrenduPaul
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@9dd66f4a7d09627b3087743ab1ca565f8e8ea228 -
Trigger Event:
release
-
Statement type: