Metadata-Version: 2.4
Name: pluginart
Version: 0.2.1
Summary: Python runtime for pluginart hosts and plugins
Author: pluginart contributors
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: flatbuffers>=24.3.25
Description-Content-Type: text/markdown

# pluginart Python runtime

`pluginart` manages plugin lifecycle from `pluginart.toml`, speaks the pluginart wire protocol, and provides plugin-side server helpers.

```python
from pluginart import PluginManager

with PluginManager.from_config("pluginart.toml") as manager:
    response = manager.call("echo", request_bytes)
```

Plugin authors can expose a raw-byte handler:

```python
from pluginart import serve

def handle(payload: bytes) -> bytes:
    ...

serve(handle, contract_hash="sha256:...")
```
