docs.rs failed to build sekejap-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
sekejap-0.1.8
Sekejap DB
A graph-first, embedded multi-model database engine for Rust and Python.
1: Overview
Sekejap-DB is a graph-native database designed for high-performance, relationship-heavy workloads like Root Cause Analysis (RCA), RAG, and Agentic AI.
It unifies Graph, Vector, Spatial, and Full-Text search into a single, cohesive engine where the Graph acts as the primary structure and other models serve as attributes or filters.
1.1 Features
- HNSW Engine: Custom, SIMD-accelerated HNSW implementation for high-concurrency vector search.
- Graph-First: Relationships are first-class citizens. Queries traverse edges to prune the search space.
- Hybrid Querying: Native Index Intersection allows combining Graph, Vector, Spatial, and Text conditions via a pipeline API.
- Embedded: Runs directly in your application process (Rust/Python). Zero network overhead.
- Zero-Copy Storage: Memory-mapped arenas for ultra-fast data access.
2: Main Usage (Rust & Python)
2.1 Basic CRUD Operations
Write Data
Rust:
use SekejapDB;
// Initialize with path and capacity
let db = new?;
// Simple write
db.nodes.put?;
// JSON with Vector & Geo
db.nodes.put?;
Python:
# Initialize with path and capacity
=
# Simple write
# JSON with Vector & Geo
Read Data
Rust:
if let Some = db.nodes.get
Python:
=
Delete Data
Rust:
db.nodes.remove?;
Python:
2.2 Edges & Traversal
Link Nodes
Rust:
db.edges.link?;
Python:
Hybrid Query Pipeline
Find events starting from "cuisine/italian", traversing backward via "related", and filtering by rating.
Rust:
let results = db.nodes.one
.backward
.where_gt
.collect?;
Python:
=
Pipeline query (SekejapQL JSON)
Same logic via a JSON pipeline: one → forward/backward → where_* → take → result.
Rust:
let q = r#"{"pipeline": [{"op": "one", "slug": "cuisine/italian"}, {"op": "backward", "type": "related"}, {"op": "where_gt", "field": "rating", "value": 4.5}, {"op": "take", "n": 10}]}"#;
let outcome = db.query_json?;
Python:
=
= # returns JSON string of outcome
3: Building and Testing
# Run tests
# Run an example (e.g. RCA or benchmark)
# Benchmarks
# Check for errors
License
MIT