ONEX Service Provider Interface - Protocol definitions
Project description
omnibase_spi
Service provider interface protocols for the ONEX platform.
Install
uv add omnibase-spi
Minimal Example
from omnibase_spi.protocols.event_bus import ProtocolEventBusProducer
class MyProducer(ProtocolEventBusProducer):
"""Implement the event bus producer protocol."""
async def publish(self, topic: str, payload: bytes) -> None:
# Your implementation here
...
Key Features
- 176+ protocol interfaces: Runtime-checkable protocols for all ONEX service boundaries
- 22 domains: Event bus, handlers, nodes, registry, storage, and more
- Zero implementations: Protocols only -- concrete implementations live in omnibase_infra
- Structural typing: All protocols use
@runtime_checkablefor duck typing - Contract-first: Protocols define the contract, implementations fulfill it
Documentation
- Protocol registry
- Architecture
- CLAUDE.md -- developer context and conventions
- AGENT.md -- LLM navigation guide
License
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
omnibase_spi-0.17.1.tar.gz
(1.1 MB
view details)
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
omnibase_spi-0.17.1-py3-none-any.whl
(755.6 kB
view details)
File details
Details for the file omnibase_spi-0.17.1.tar.gz.
File metadata
- Download URL: omnibase_spi-0.17.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc900a2bbf324f1a3c5fc6c1a9d04fabe73d785375c5518d80e5e9e9ccb3adbb
|
|
| MD5 |
cb96404211e1a122929b78ea3705b791
|
|
| BLAKE2b-256 |
d59681f30da159542309753addb0beb5c5dada42476229aec0c09a661862d938
|
File details
Details for the file omnibase_spi-0.17.1-py3-none-any.whl.
File metadata
- Download URL: omnibase_spi-0.17.1-py3-none-any.whl
- Upload date:
- Size: 755.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac455f99ef6b9c8c9fbf777f43f965e286932de7b6738a7ff0946c79ac8466e8
|
|
| MD5 |
b2535d0e5409fa1ba4d77a324b37d065
|
|
| BLAKE2b-256 |
76078919faa748393ca2e937d74e968865c0d652376ce234667dee15eb69fcf9
|