Skip to main content

Python n-o-id component framework

Project description

noid — Node OID

noid (node + oid) is the Python-side component framework of the mundorum ecosystem. It mirrors the architecture of the companion JavaScript library oid so that components can be split cleanly across the stack: the JS side handles UI and rendering in the browser; the Python side handles data processing, workflows, and business logic on the server — or runs standalone on the desktop.

The name reflects the role: a noid is a processing node in a network of oid components.

Companion project

noid and oid share design principles and should always be developed together. The JS library lives at ~/git/mundorum/oid.

Core concepts

Concept Role
Bus Asyncio pub/sub + provide/connect/invoke, same API as the JS Bus
OidBase Spec-driven handler building, lifecycle, topic/notice mapping
OidComponent Extension point for application components
Connection Protocol abstraction that decouples the Bus bridge from any web framework
WorkflowAdapter Protocol abstraction that decouples workflow orchestration from the engine

Design principles

  • Framework-independent core. The Bus, component model, and bridge logic import no web framework. noid can run with no server at all.
  • Swappable adapters. Web frameworks (FastAPI, Django/Channels) and workflow engines (Dagster, Temporal, LangGraph) attach via Protocol adapters, not hard dependencies.
  • Mirror the JS API. Where the JS oid library defines the shape of something, the Python side replicates it as closely as the language allows.

Installation

pip install n-o-id              # core only — no web or workflow deps
pip install n-o-id[fastapi]     # + FastAPI transport adapter
pip install n-o-id[django]      # + Django Channels transport adapter
pip install n-o-id[dagster]     # + Dagster workflow adapter (dataflow workloads)
pip install n-o-id[temporal]    # + Temporal workflow adapter (agent workloads)
pip install n-o-id[langgraph]   # + LangGraph workflow adapter (agent workloads)

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mundorum_noid-0.1.5.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mundorum_noid-0.1.5-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file mundorum_noid-0.1.5.tar.gz.

File metadata

  • Download URL: mundorum_noid-0.1.5.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mundorum_noid-0.1.5.tar.gz
Algorithm Hash digest
SHA256 000dab770a8da89804b4d4c0ddb3532f706f3c04bce96d8b9be8ee5da8f209f8
MD5 1c8f49262347acb2ea2c5291101ff985
BLAKE2b-256 e7fea1a5d2175a00c5a54374ac3e1fcedcaf03ae4b96866cef866121058d9e51

See more details on using hashes here.

File details

Details for the file mundorum_noid-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: mundorum_noid-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mundorum_noid-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b83bf9a45ca21beacab73db8f638c2b955b2154153ae78cb1978c2ef718697f4
MD5 a5ebe6ef920efaf556d196560fe8b3b0
BLAKE2b-256 08f98eed3edb2a9f19e730aa4acdd14d3ee56b43441a89ba2c2b8c32123be39e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page