Back to all databases

CogDB

An embedded graph database for Python with built-in persistence, traversal, and semantic vector search. It runs entirely in-process, stores graph data as triples, and exposes Torque, a Python-native API for querying relationships.

Overall rank
#125
First released
July 2018
License
MIT
Built with
Python

Details

Vendor
NodeFn Inc.
Type
RDF
Kind
Embedded
Category
Emerging
License
MIT
Language
Python
Query Languages
Custom API
Protocols
HTTP/REST

Feature scores

Community & Business

Active development
Updated within last 3 months
Commercial support
0%
No commercial support
Live community
50%
25-50% of issues addressed
Open Source
Open source license
Pricing
Pricing publicly available
Trendiness
0%
Declining trend

Deployment

Containerization
0%
No container image
Work as dedicated instance
Can run as standalone server
Work as embedded
Can embed in application
Testing in-memory version
0%
No in-memory option

Platform

Operating on Linux
Linux officially supported
Operating on Windows
75%
Open source (Windows compatible)
SaaS offering
Cloud service available

Operations

Automatic updates
0%
Manual updates only
Client side caching
0%
No client-side caching
Data versioning support
0%
No versioning
Live backups
0%
No live backups

Distribution

Cluster Re-balancing
0%
No auto-rebalancing
Data Distribution
0%
No sharding
High-Availability
0%
No HA support
Query Distribution
0%
No distributed queries
Replication support
0%
No replication

Developer Experience

Data types defined
50%
Basic data types only
Logging/Auditing
0%
No logging/auditing
Object-Graph Mapper
0%
No object mapper
Reactive programming
0%
No reactive programming
Documentation up-to-date
Docs current with latest version
Binary protocol
0%
Text-based protocols only
CLI
0%
No CLI
GUI
0%
No GUI

Data Model

Multi-database
0%
Graph-only
Graph-native data
Native graph storage
REST API
REST endpoint available
Query Language
50%
Proprietary query language

Transactions

Granular locking
0%
No granular locking
Multiple isolation levels
0%
Read uncommitted only
Read committed transaction
0%
Not available
Transaction support
0%
No transactions

Schema & Security

Constraints
0%
No constraints
Schema support
0%
Schema-less
Secondary indexes
0%
Primary index only
Server side procedures
0%
No stored procedures
Triggers
0%
No triggers
Authentication
0%
No authentication
Authorization
0%
No authorization
Data encryption
0%
No encryption
Sources 5 references

Protocols HTTP/REST

Primarily an embedded Python library; g.serve() exposes an HTTP endpoint that remote clients query via Graph.connect().

License MIT

SPDX identifier as classified by GitHub from the repository licence file.

Released 2018-07

First PyPI upload (0.0.3) confirms the current value.

  • "python_version":"py2","requires_python":null,"size":5988,"upload_time":"2018-07-09T02:20:39","upload_time_iso_8601":"2018-07-09T02:20:39.823856Z"
    cogdb PyPI JSON API · reviewed 2026-08-02

Language Python

README states this directly; GitHub language stats show 100% Python.

  • CogDB is a persistent, embedded graph database implemented in Python.
    arun1729/cog · reviewed 2026-08-02