{"id":35694450,"url":"https://github.com/blockscience/koi-net","last_synced_at":"2026-05-08T21:02:29.565Z","repository":{"id":279576019,"uuid":"928877327","full_name":"BlockScience/koi-net","owner":"BlockScience","description":"Implementation of Knowledge Organization Infrastructure Network (KOI-net) protocol in Python","archived":false,"fork":false,"pushed_at":"2026-04-29T21:18:30.000Z","size":6648,"stargazers_count":16,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-29T23:00:50.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlockScience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-07T11:59:15.000Z","updated_at":"2026-04-29T21:17:44.000Z","dependencies_parsed_at":"2026-01-06T17:00:34.460Z","dependency_job_id":null,"html_url":"https://github.com/BlockScience/koi-net","commit_stats":null,"previous_names":["blockscience/koi-net"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/BlockScience/koi-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockScience%2Fkoi-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockScience%2Fkoi-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockScience%2Fkoi-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockScience%2Fkoi-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlockScience","download_url":"https://codeload.github.com/BlockScience/koi-net/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockScience%2Fkoi-net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32797265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-06T00:14:13.750Z","updated_at":"2026-05-08T21:02:29.527Z","avatar_url":"https://github.com/BlockScience.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KOI-net\n\n[![PyPI](https://img.shields.io/pypi/v/koi-net)](https://pypi.org/project/koi-net/)\n[![Documentation](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://blockscience.github.io/koi-net/index.html)\n\n*This protocol and framework are the result of several iterations of KOI research, [read more here](https://github.com/BlockScience/koi).*\n\nKOI-net (Knowledge Organization Infrastructure Network) can be understood as both a network protocol for distributed knowledge processing, and as a Python framework for building nodes, networks, and applications on top of that protocol. This repo is the implementation of that framework.\n\nFor information about the KOI-net protocol, see the [official specification](https://blockscience.github.io/koi-net-spec). \n# Quick Start\n## Installation\n\n(Optionally) create and activate a virtual environment, and install KOI-net:\n\n```shell\n$ pip install koi-net\n```\n\n## Create a Simple Partial Node\n\nThe KOI-net framework is built around the [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) pattern. Node classes are *containers* for interdependent *components* implementing internal subsystems. Each node inherits from a base partial or full node class, which comes with ~36 default components. At a minimum, each node needs to implement a config component:\n\n```python\nfrom koi_net.config import PartialNodeConfig, KoiNetConfig, PartialNodeProfile  \n\nclass MyPartialNodeConfig(PartialNodeConfig):\n\tkoi_net: KoiNetConfig = KoiNetConfig(\n\t\tnode_name=\"partial\",\n\t\tnode_profile=PartialNodeProfile()\n\t)\n```\n\nWhich is set in the node container:\n\n```python\nfrom koi_net.core import PartialNode\n\nclass MyPartialNode(PartialNode):\n\tconfig_schema = MyPartialNodeConfig\n```\n\nFinally, the main method can be set to build and run the node:\n\n```python\nif __name__ == \"__main__\":\n\tMyPartialNode().run()\n```\n\nSee `examples/coordinator.py` for a more complex example node, or see [the docs](https://blockscience.github.io/koi-net) for more information on the KOI-net framework.\n\nThis framework depends on [rid-lib](https://github.com/BlockScience/rid-lib), the Python implementation of the RID protocol.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockscience%2Fkoi-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockscience%2Fkoi-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockscience%2Fkoi-net/lists"}