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.18.0.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.18.0-py3-none-any.whl
(755.9 kB
view details)
File details
Details for the file omnibase_spi-0.18.0.tar.gz.
File metadata
- Download URL: omnibase_spi-0.18.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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 |
c72847d229ccf6a5c53e2b67d0bf8a16be60da7c233af87a17557a69f3145791
|
|
| MD5 |
fb15d19ff06062f17d0eb9a2c2ecf6cc
|
|
| BLAKE2b-256 |
cd9de7f04394a22bc4641727576b393d7aca8c828db3829d60576a50f745e7df
|
File details
Details for the file omnibase_spi-0.18.0-py3-none-any.whl.
File metadata
- Download URL: omnibase_spi-0.18.0-py3-none-any.whl
- Upload date:
- Size: 755.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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 |
f40c0e7f9c73ecbb33c498acd5f4762e20456a387c71c02bd7acd8e43a34ba53
|
|
| MD5 |
0ac98e62012be1b471ca8da33e9869fc
|
|
| BLAKE2b-256 |
7212d25528501e092f7a142c3ac6ebbae2ba1fdf848a8341864918513992d63d
|