A Jupyter-compatible plugin that detects risky ML model and dataset loads.
Project description
MAIS - ML Model Audit & Inspection System
A Python notebook plugin that watches for potentially risky model or dataset loads in Jupyter notebooks. MAIS analyzes code in real-time to detect when you're trying to load models that might require special permissions or licensing.
Installation
# Using pip
pip install mais
# Import and initialize the MAIS plugin
from mais import MAIS
m = MAIS(api_token="<manifest-api-token>")
# Now run your notebook as normal
# MAIS will monitor for potentially risky model loads
SBOM Generation
# Generate an SBOM for your project or notebook environment.
m.create_sbom(path=".", publish=False)
SBOM Publishing
m.create_sbom(path=".", publish=True)
Environment Variables
MAIS supports configuration through environment variables:
MANIFEST_API_TOKEN- API token for MOSAIC/Manifest integrationMAIS_MOSAIC_API_URL- Override default API URLMAIS_DEFAULT_VERBOSITY- Set default logging levelMAIS_API_TIMEOUT- API request timeout in seconds
All configuration values can be overridden with MAIS_ prefix.
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 mais-0.3.1.tar.gz.
File metadata
- Download URL: mais-0.3.1.tar.gz
- Upload date:
- Size: 46.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03dfefca51ce3efc2eeedf9ba7d615af436101fbc2242ded3b28f42fc56abaa1
|
|
| MD5 |
736c30deb6f8607e4fdc98483ee13b2a
|
|
| BLAKE2b-256 |
1916050bac8de61b8b2f201670af48adbc1b5d6631a8476d82938655e1550a06
|
File details
Details for the file mais-0.3.1-py3-none-any.whl.
File metadata
- Download URL: mais-0.3.1-py3-none-any.whl
- Upload date:
- Size: 46.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
948d42b164bde72216af0fc6f9120b20ec9380e9d937fe55e20a4364506eb56f
|
|
| MD5 |
ffa81f7707b423d348f0613fb7230123
|
|
| BLAKE2b-256 |
9cad2bfe64a0bbc17d2dccf184865860bed3ea3e74bb95ec331b063d28deefda
|