pyki
pyki is an open-source Python library that provides a lightweight platform for creating, querying, and reasoning over simple knowledge graphs within Python applications. The project emphasizes a compact API, interoperability with existing data formats, and easy integration with data science workflows. It aims to serve developers who want to embed knowledge graph capabilities without adopting heavier RDF stacks or database-backed graph systems.
Its data model centers on nodes and edges, with user-definable types and properties. Queries are expressed through
Usage typically begins by constructing a Graph object, adding nodes and relationships, optionally attaching metadata, and
Development and governance are community-driven, with contributions managed through an open repository and accompanying documentation. The