Skip to main content

Official Python SDK for the 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.4.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.4-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parmana-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1c25be3ae1b0a34525eae2f5215113fc14bf6c7b0ce96667a476fce3497c8bdb
MD5 690520112d5f7ea22fe4f83cd8d720b2
BLAKE2b-256 fac152c50672d775b4f1944aa70308a98c939a4dd03ebfbcb0eb65614d716749

See more details on using hashes here.

File details

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

File metadata

  • Download URL: parmana-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f547b3d367b6beaa859971935f92fdb68b6ea33efa886ad67e6b29dbb6c6e86f
MD5 e4e5672a75849cebc96611a7be863bb4
BLAKE2b-256 aefbbb6c19b4d10d7e59e0b8c43b9166df5ee3e31db89cb05fa1108b3f58cd26

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