Metadata-Version: 2.4
Name: phenotype-skills
Version: 0.1.0
Summary: Python bindings for the phenotype-skills Rust library
Home-page: https://github.com/phenotype/skills
Author: Phenotype Team
Author-email: team@phenotype.dev
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: home-page
Dynamic: requires-python

# phenotype-skills-python

> Python bindings for the phenotype-skills Rust library

## Installation

```bash
pip install phenotype-skills
```

## Usage

```python
from phenotype_skills import SkillRegistry, Skill, SkillManifest, Runtime

# Create a skill registry
registry = SkillRegistry()

# Register a skill
manifest = SkillManifest(
    name="my-skill",
    version="1.0.0",
    runtime=Runtime.WASM,
    entry_point="main.wasm"
)
skill = Skill.from_manifest(manifest)
registry.register(skill)

# Execute the skill
from phenotype_skills.runtime import SkillRuntime
runtime = SkillRuntime()
result = runtime.execute(skill, {"input": "data"})
```

## Building

Requires Rust toolchain and Python 3.9+.

```bash
cd bindings/python
pip install maturin
maturin develop
```
