modelgate-core
Reference implementation of MGS (Model Gate Standard) — pure-Python, zero infrastructure dependencies.
pip install modelgate-mgs
No FastAPI, no database, no message queue — this package is meant to be
usable from a plain Python script, a notebook, or a CI job with nothing
but pip install modelgate-mgs.
Usage
from modelgate import audit
report = audit("./my_dataset.zip")
print(report.overall_verdict) # PASS / FAIL / NOT_EVALUATED
for r in report.requirements:
print(r.id, r.verdict, r.metrics)
modelgate check ./my_dataset.zip --spec mgs-1.0 --json > report.json
Stable API surface (D5.1)
Only what's listed in modelgate.__all__ is covered by any stability
guarantee:
modelgate.audit(path, config=None) -> Reportmodelgate.read_dataset(path) -> Manifest— structure-only parsing, no Requirement checks run. Useful if you want a Manifest without paying for a full audit.modelgate.Report,modelgate.RequirementResult,modelgate.Manifest
Anything under modelgate._readers, modelgate._checkers,
modelgate._rounding — the leading underscore is enforced, not just
documented — may change shape between minor versions without notice.
The modelgate check CLI's --json output shape (spec §4) is the other
thing meant to be stable; parse that, not Python internals, if you're
integrating from outside Python.
Metadata
Release files for modelgate-mgs 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modelgate_mgs-1.0.1.tar.gz | 14.3 kB | Without provenance | Details for modelgate_mgs-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| modelgate_mgs-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for modelgate_mgs-1.0.1-py3-none-any.whl |
Total release size: 32.4 kB
Release files / modelgate_mgs-1.0.1.tar.gz
| Download URL | modelgate_mgs-1.0.1.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bca677eb05c0af19068e8af650da84d70eb80b247f729061618d435cbeba5e7e
|
|
BLAKE2b-256 checksum How to use checksums |
c7f2c2eb2f20e0e34517f993567a892c79027d875fcb15cf271ab21d1373a42e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Release files / modelgate_mgs-1.0.1-py3-none-any.whl
| Download URL | modelgate_mgs-1.0.1-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45ab89ae596b385f5e1b0799a568084bdb2e04f6d5b9e213268fc463a44eb91a
|
|
BLAKE2b-256 checksum How to use checksums |
ef0d28536dc562cab2f86e5a2ef1e97dbbdf13a1bb09e3fa58ecd967d0e83a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Security for modelgate-mgs 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.