Python bindings for the phenotype-skills Rust library
Project description
phenotype-skills-python
Python bindings for the phenotype-skills Rust library
Installation
pip install phenotype-skills
Usage
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+.
cd bindings/python
pip install maturin
maturin develop
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phenotype_skills-0.1.0.tar.gz.
File metadata
- Download URL: phenotype_skills-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e75f924b16ad9d425354bb6703283f63b9358e33868273444d107df0e204352
|
|
| MD5 |
9a886cbc44b8367efc2b2227076873f0
|
|
| BLAKE2b-256 |
eb35302f86e8ab59e4837c17fc72530dfe331f3c5806be2fb7b579b8ef626763
|
File details
Details for the file phenotype_skills-0.1.0-py3-none-any.whl.
File metadata
- Download URL: phenotype_skills-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa0bb90542db98dd42949d9028e51a48ed6c7fc8798d5a11d20a552c1db92bac
|
|
| MD5 |
12b08828d0214773c475cd3157d8fd51
|
|
| BLAKE2b-256 |
c5e9d59215890ba807aff63e697ba4b9d6762f668ac60bab4362524520d4d794
|