Skip to main content

evgraph-cli

PyPI License Python

The evgraph command-line tool for Evgraph.

What is it

evgraph-cli gives shell scripts, CI pipelines, and pre-commit hooks the same governance scan the evgraph Python API exposes, without writing any Python. It is intentionally a thin wrapper: this package contains no logic of its own beyond argument parsing and output-format selection — scanning and reporting are entirely delegated to evgraph.scan() / evgraph.scan_dataset_manifest() / Report, so the CLI and the library can never drift in behavior.

Main features

  • evgraph scan MODEL_CARD APPROVAL DEPLOYMENT — runs the Model Card adapter across the three linked artifacts and prints a Report.
  • evgraph scan-dataset-manifest MANIFEST — runs the dataset-manifest adapter over a CSV file and prints a Report.
  • --format {json,markdown,sarif,oscal} — selects how the report is rendered (default json); sarif for CI annotations, markdown for a human-readable review, oscal for compliance tooling.
  • Exit code 0 on a completed scan (findings are printed, not turned into a pass/fail exit status — Evgraph reports what the evidence shows, it does not gate a pipeline on your behalf).

Where to get it

The source is hosted on GitHub at: https://github.com/SVamseekar/evgraph

Binary installers for the latest released version are available at the Python Package Index (PyPI):

pip install evgraph-cli

From source, for contributing:

git clone https://github.com/SVamseekar/evgraph.git
cd evgraph
pip install -e reference/python/evgraph-core
pip install -e reference/python/evgraph-rules
pip install -e reference/python/evgraph
pip install -e reference/python/evgraph-cli

Dependencies

  • evgraph — installed automatically as a dependency, which in turn pulls in evgraph-core and evgraph-rules.

pytest>=7 is required for the test suite (pip install "evgraph-cli[test]").

Quickstart

evgraph scan model_card.json approval.json deployment.json --format markdown
evgraph scan-dataset-manifest dataset_manifest.csv --format json

In a CI pipeline, emitting SARIF lets findings show up as inline annotations in tools that already consume that format:

evgraph scan model_card.json approval.json deployment.json --format sarif > evgraph.sarif

Documentation

For Start here
The Python API this CLI wraps evgraph package README
Output format details (SARIF, OSCAL) docs/specs/
Runnable examples examples/
The full library stack Main project README

Getting help

Ask questions and report bugs via GitHub Issues on the main repository.

Contributing

All contributions, bug reports, and feature requests are welcome on the main repository. See CONTRIBUTING.md and the Code of Conduct. Security reports: SECURITY.md.

License

BSD 3-Clause.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evgraph_cli-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

evgraph_cli-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file evgraph_cli-0.1.1.tar.gz.

File metadata

  • Download URL: evgraph_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.12

File hashes

Hashes for evgraph_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9c621014020868a429b6114ad2e21777347c783b7117100e6c59397b5ebf2064
MD5 eb9abbdb755f9c663903a0af89f9ea1b
BLAKE2b-256 80927513862f1e1be562ca7e8b4488b4bbb3f40845e37df40df1597240bb453c

See more details on using hashes here.

File details

Details for the file evgraph_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: evgraph_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.12

File hashes

Hashes for evgraph_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a19c28502213b7d375a259ea419d48dcbaa1240a67028b25f66f52a5865e6f2
MD5 74c3a56f37dab84bdca268d45a9d6691
BLAKE2b-256 f4f4cd91e2ab1b1be128ec66b8b32cf7bae3f1036da081784c1ebf0a17ce704c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page