Skip to main content

Official Python SDK for the Parmana Execution Trust Infrastructure.

Project description

I agree. The PyPI page should have a **purpose-built README**, not the full project documentation.

Here's the structure I'd use for the **official PyPI README** (around 200 lines):

\# 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 autonomous 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

\- Invoke APIs

\- Execute business workflows



However, they often cannot answer critical governance questions:



\- Who authorized this execution?

\- Which policy approved it?

\- Can this execution be independently verified?

\- Can it be replayed?

\- Is there cryptographic evidence of what occurred?



Parmana addresses these challenges by providing an execution trust layer for AI systems.



\---



\## Installation



```bash

pip install parmana

---

## Requirements

* Python 3.10+

* Parmana Runtime

---

## Quick Start

from parmana import ParmanaClient



client = ParmanaClient(

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

)



print(client.version)

---

## Runtime Health

status = client.health()



print(status)

---

## Execute a Business Transaction

from parmana import ParmanaClient

from parmana.models import BusinessTransaction



client = ParmanaClient(

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

)



transaction = BusinessTransaction(

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

)



trust\_record = client.execute(transaction)



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

---

## Verify an Execution

verification = client.verify(

    "txn-001",

)



print(verification.status)

---

## Replay an Execution

result = client.replay(

    "txn-001",

)



print(result.success)

---

## Execution Lifecycle

Business Transaction

        |

        v

Execution

        |

        v

Verification

        |

        v

Receipt

        |

        v

Execution Trust Record

---

## SDK APIs

| Method | Description |

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

| health() | Runtime health check |

| execute() | Execute a Business Transaction |

| verify() | Verify an execution |

| replay() | Replay a previous execution |

| receipt() | Retrieve an execution receipt |

| transaction() | Retrieve a Business Transaction |

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

---

## Documentation

Documentation: [https://docs.parmana.ai](https://docs.parmana.ai)

GitHub Repository: [https://github.com/pavancharak/parmana](https://github.com/pavancharak/parmana)

Issue Tracker: [https://github.com/pavancharak/parmana/issues](https://github.com/pavancharak/parmana/issues)

---

## License

Apache License 2.0




\### My recommendation for your documentation strategy



Keep the documentation layered:



\- \*\*PyPI README\*\* (this file): concise overview, installation, quick examples, and links.

\- \*\*GitHub README\*\*: richer developer guide with architecture and additional examples.

\- \*\*Mintlify documentation site\*\*: the complete reference for concepts, APIs, SDKs, architecture, tutorials, and contribution guides.



That approach gives PyPI users a clean first experience while keeping the comprehensive documentation where it belongs.

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.3.tar.gz (14.7 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.3-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parmana-1.0.3.tar.gz
  • Upload date:
  • Size: 14.7 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.3.tar.gz
Algorithm Hash digest
SHA256 f6aca68aae465a19432f766e575308d45da0b996dabfe27694ff8b44a326c996
MD5 733e0d157a1962e23d7d8dfc5341b9d7
BLAKE2b-256 2fd60919ecae9722087c879237fa0079120214351de5d04370e6e99fab4c880e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: parmana-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 20.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0e1b6acd9ae5b4eba83de647f11415c33bae8b02afec24a2bfdba1484598a1b0
MD5 f0c4dfc8e1add1d913e963f1c86ef7dd
BLAKE2b-256 641f62e877e68cd6ddf91c91ac5c4bbf5985c5916f4a0941a309ebeb2069c905

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