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.20.4.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.20.4-py3-none-any.whl
(758.3 kB
view details)
File details
Details for the file omnibase_spi-0.20.4.tar.gz.
File metadata
- Download URL: omnibase_spi-0.20.4.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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 |
79a81568150d89c97f97661cd7ad1443258cc5fdb46c380c9306b02c65001073
|
|
| MD5 |
fec946b311d165b63f8f465a4f492355
|
|
| BLAKE2b-256 |
38ed23668a820fea9b87a88f619f8df1944e8522d7f2ff8d2e34993709be69f7
|
File details
Details for the file omnibase_spi-0.20.4-py3-none-any.whl.
File metadata
- Download URL: omnibase_spi-0.20.4-py3-none-any.whl
- Upload date:
- Size: 758.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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 |
dc263d4e0474a9031f5159e90ba05c3cb318703740e236b717d61072962921b7
|
|
| MD5 |
dfd107acc4cf6a24533fbd0313c7af70
|
|
| BLAKE2b-256 |
661fe41b898a9f023795376e2a254e64c27889427155c42555a872cdcc0ee67e
|