Skip to main content

Governance Decision Engine

The Governance Decision Engine runs policies written with GovernanceDSL. Its PyPI distribution is besser-governance-engine, and its Python import path is governance.

Install

Install it in your project's Python environment:

pip install besser-governance-engine==1.0.0

The package declares Python 3.10 or newer; the release checks were run on Python 3.12.

Check the two primary imports with:

python -c "import governance.engine.parsing; from governance.engine.semantics.runtime_metamodel import Interaction; print(Interaction)"

Run the engine

The engine module can be started with python -m governance.engine.decision_engine; add -t for test mode. Running the agent requires a config.yaml in the current working directory. A minimal shape is:

agent:
  check_transitions:
    delay: 0.1
platforms:
  github:
    personal_token: "YOUR_GITHUB_TOKEN"
    webhook_token: "YOUR_WEBHOOK_SECRET"
    webhook_port: 8901

Provide credentials appropriate for your deployment. The package does not bundle a configuration file or a console script. Projects that only import the parsing or runtime modules do not need config.yaml.

Repository layout

  • governance/engine/ contains the engine, parsing helpers, runtime model, and test-mode support.
  • governance/tests/ contains the repository test suites and policy examples. They stay in the repository and are excluded from both release archives.
  • docs/ contains additional documentation under development.

Metadata

Release files for besser-governance-engine 1.0.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 besser-governance-engine 1.0.0
File Size Uploaded
besser_governance_engine-1.0.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for besser-governance-engine 1.0.0
File Interpreter ABI Platform
besser_governance_engine-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 45.8 kB

Release files / besser_governance_engine-1.0.0.tar.gz

Download URL besser_governance_engine-1.0.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
10aff10e361cc354229fc8fd63cc7683fdb68237224c1b40233e2c0d281bacbd
BLAKE2b-256 checksum
How to use checksums
c0db2c21c6127949fc24cbb291c23a289da16de6502fff62f5e21772b247117f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / besser_governance_engine-1.0.0-py3-none-any.whl

Download URL besser_governance_engine-1.0.0-py3-none-any.whl
Size 26.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
044689dad8111e5ea86cf9dd901ea0d826b604fc995dd42d7f50a39a9dfb3140
BLAKE2b-256 checksum
How to use checksums
c97e171be775e1d4c9742c007ae41f5f55278953e066463d59f35f9618cffce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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