Skip to main content

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.

Metadata

Release files for pyxon-governance 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyxon-governance 0.1.0
File Size Uploaded Provenance
pyxon_governance-0.1.0.tar.gz 24.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyxon-governance 0.1.0
File Interpreter ABI Platform
pyxon_governance-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.5 kB

Release files / pyxon_governance-0.1.0.tar.gz

Download URL pyxon_governance-0.1.0.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b7f9eac288890679f880c338c8f561ba1b45be7969179096f84a7b54dfa84faf
BLAKE2b-256 checksum
How to use checksums
dd9d42e141806064326680ef6db41f75dc06c813132908fcda95494e32f8a590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / pyxon_governance-0.1.0-py3-none-any.whl

Download URL pyxon_governance-0.1.0-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
950e79817ef13d769ab569e1319f7a2d8eed1cff7c7206bc860794d8055d9637
BLAKE2b-256 checksum
How to use checksums
d6e8e6c38e61193891d37a724f9d4e5f508bd8ca3c25dbf38e414249832ac37a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for pyxon-governance 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page