Skip to main content

Country-aware AI governance scoring for LLMs and RAG (Ollama probes + policy evidence)

Project description

pyxon-governance (Python)

Library + CLI for country-aware AI governance scoring (Ollama probes, no Flask).

Install

pip install pyxon-governance
# local editable:
pip install -e .

Usage

from pyxon_governance import assess, compare

r = assess("llama3.2:latest", country="SAU", system_prompt=True)
print(r.to_dict())

print(compare(["llama3.2:latest", "qwen2.5-coder:7b"], country="ARE"))
pyxon-gov assess llama3.2:latest --country SAU --governance-prompt
python -m pyxon_governance assess llama3.2:latest --country EU --no-probes

Publish

python -m build && twine upload dist/*

See the parent README for full publish and npm instructions.

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

pyxon_governance-0.1.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

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

pyxon_governance-0.1.0-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file pyxon_governance-0.1.0.tar.gz.

File metadata

  • Download URL: pyxon_governance-0.1.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pyxon_governance-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b7f9eac288890679f880c338c8f561ba1b45be7969179096f84a7b54dfa84faf
MD5 b9ecfe3351e6f23be584cbe4f7ffb6d4
BLAKE2b-256 dd9d42e141806064326680ef6db41f75dc06c813132908fcda95494e32f8a590

See more details on using hashes here.

File details

Details for the file pyxon_governance-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyxon_governance-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 950e79817ef13d769ab569e1319f7a2d8eed1cff7c7206bc860794d8055d9637
MD5 80aeab437a42b0b9b80aa6c1577d2c9b
BLAKE2b-256 d6e8e6c38e61193891d37a724f9d4e5f508bd8ca3c25dbf38e414249832ac37a

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