Skip to main content

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 integration
  • MAIS_MOSAIC_API_URL - Override default API URL
  • MAIS_DEFAULT_VERBOSITY - Set default logging level
  • MAIS_API_TIMEOUT - API request timeout in seconds

All configuration values can be overridden with MAIS_ prefix.

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

mais-0.2.5.tar.gz (34.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mais-0.2.5-py3-none-any.whl (34.6 MB view details)

Uploaded Python 3

File details

Details for the file mais-0.2.5.tar.gz.

File metadata

  • Download URL: mais-0.2.5.tar.gz
  • Upload date:
  • Size: 34.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for mais-0.2.5.tar.gz
Algorithm Hash digest
SHA256 e47f90fbc8ebe0e322111c4424d71a96b5a2a0cb741d5403f088606e747ba822
MD5 a7d31b4748e9537be63ac1beb52093a7
BLAKE2b-256 3b2bf1edfb4f800237515f5b548551da60baaa14051f077fd80afc75f3f186f2

See more details on using hashes here.

File details

Details for the file mais-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: mais-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 34.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for mais-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7c27dafe6fb850a510f7c6c28052d14fe9a64981fc6c3a90bcf86b5999cae9b2
MD5 ec9c483a1628b3e68da7b0f9f82dbeb0
BLAKE2b-256 dc3799d170fc6ae722bff0c91e5a19c9740cf98dd0a3582972315f41ec4476b5

See more details on using hashes here.

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