Skip to main content

Python SDK for Parmana Execution Trust Infrastructure.

Project description

# Parmana

**Proof of Human Authority in AI Systems**

[![PyPI](https://img.shields.io/pypi/v/parmana)](https://pypi.org/project/parmana/)

[![Python](https://img.shields.io/pypi/pyversions/parmana)](https://pypi.org/project/parmana/)

[![License](https://img.shields.io/pypi/l/parmana)](https://github.com/pavancharak/parmana/blob/main/LICENSE)

The official Python SDK for the **Parmana Execution Trust Infrastructure**.

Parmana enables organizations to confidently deploy AI in high-impact workflows by ensuring that **only authorized actions are executed** and every execution is accompanied by verifiable execution evidence.

---

## Why Parmana?

Modern AI systems can plan, reason, call tools, and execute workflows.

What they usually cannot prove is:

- Who authorized an execution?

- Which policy approved it?

- Was the execution verified?

- Can it be independently replayed?

- Is there cryptographic evidence of what occurred?

Parmana provides the execution trust layer that answers those questions.

---

## Installation

pip install parmana

Requirements:

- Python 3.10+

- Parmana Runtime

---

## Quick Start

from parmana import ParmanaClient



client = ParmanaClient(

    endpoint="http://localhost:3000",

)



print(client.version)

---

## Execute a Business Transaction

from parmana.models import BusinessTransaction



transaction = BusinessTransaction(

    business\_transaction\_id="txn-001",

)



trust\_record = client.execute(transaction)



print(trust\_record.trust\_record\_id)

---

## Verify

verification = client.verify("txn-001")



print(verification.status)

---

## Replay

result = client.replay("txn-001")



print(result.success)

---

## Execution Lifecycle

Business Transaction

        |

        v

Execution

        |

        v

Verification

        |

        v

Receipt

        |

        v

Execution Trust Record

---

## Python SDK

The SDK includes:

| Method | Description |

|--------|-------------|

| health() | Runtime health |

| execute() | Execute a Business Transaction |

| verify() | Verify an execution |

| replay() | Replay a previous execution |

| receipt() | Generate an execution receipt |

| transaction() | Retrieve a Business Transaction |

| trust\_record() | Retrieve an Execution Trust Record |

| validate\_policy() | Validate a policy |

---

## Documentation

- Documentation: https://docs.parmana.ai

- GitHub: https://github.com/pavancharak/parmana

- Issues: https://github.com/pavancharak/parmana/issues

---

## License

Apache License 2.0

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

parmana-1.0.5.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

parmana-1.0.5-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file parmana-1.0.5.tar.gz.

File metadata

  • Download URL: parmana-1.0.5.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for parmana-1.0.5.tar.gz
Algorithm Hash digest
SHA256 6889ba589c3589364f0265f757415cf1b359ad0711549b2a56c7646620e18437
MD5 aa4a8126587ce341e907425f315caa0c
BLAKE2b-256 d56431858e47861dd12514a0d9be3da4de5cf1920a7d71d364cddf30ecacfa19

See more details on using hashes here.

File details

Details for the file parmana-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: parmana-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for parmana-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5f85a5d8177060a766218116478fda364abd8d0c499d6e555a1a8dc6a5f7e0c5
MD5 ce3f709fc6ea56a7fe34ca067d29af2e
BLAKE2b-256 9dba90b7d5ff78789e8cacc44d1ba2bb4ee35385a58471b27fde52ca33e79979

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