FalkorDB
Python client for interacting with FalkorDB database
What it is and what it does
FalkorDB is a Python client library for interacting with FalkorDB, a graph database that uses Cypher as its query language. It provides both synchronous and asynchronous APIs for executing graph queries, managing nodes and relationships, and performing graph operations like copying and deletion. The client connects to a FalkorDB instance (typically running in Docker or via FalkorDB Cloud) through redis as its underlying transport.
The package is built on top of python-dateutil and redis, handling the protocol communication and result parsing. It supports modern Python versions (3.10 through 3.14) and both CPython and PyPy implementations. The asynchronous interface uses asyncio and redis.asyncio for concurrent query execution, making it suitable for applications that need to run multiple graph operations in parallel.
Use it for:
- Build social network applications with friend connections, followers, and relationship queries
- Execute concurrent graph queries in async applications without blocking the event loop
- Perform graph analytics and pattern matching on connected data structures
- Copy and manage multiple graph instances for testing or multi-tenant scenarios
- Query property graphs with typed nodes and relationships using Cypher syntax
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
FalkorDB Python client for querying and managing graph databases using Cypher queries, with support for both synchronous and asynchronous operations.
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. It's the official Python client for FalkorDB and suitable for production use. The main prerequisite is having a FalkorDB instance running separately, which is documented in the package description.
Install
falkordb on PyPI
pip
pip install falkordbuv
uv add falkordbpoetry
poetry add falkordbInstalling FalkorDB
Before you install
Low install friction with a pure Python wheel distribution. Actively maintained with a release from 2026-08-13 and no known vulnerabilities. Requires redis as a runtime dependency, which must be running separately.
License in practice
Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install FalkorDB
from falkordb import FalkorDB
db = FalkorDB(host="localhost", port=6379)
g = db.select_graph("social")
result = g.query("MATCH (n) RETURN n LIMIT 10")
for node in result.result_set:
print(node)
Requires a running FalkorDB instance (typically via Docker or FalkorDB Cloud) accessible at the specified host and port; redis dependency must be installed and running.
Verify before relying
- Performance characteristics and query execution time for large graphs
- Memory overhead and scalability limits for different graph sizes
- Specific Cypher dialect version and feature support coverage
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — python-dateutil, redis |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 781,133/month — #5,081 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: falkordb-1.7.1-py3-none-any.whl
Keywords: Cypher, FalkorDB, GraphDB
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
neo4jOfficial Python driver for connecting to and…
permissive · top 5,000 on PyPI
neo4j-driverPython driver for connecting to and querying…
permissive · top 15,000 on PyPI
graphlibProvides a Python API for creating,…
permissive · top 15,000 on PyPI
kuzuKuzu is an embedded graph database that…
permissive · top 15,000 on PyPI
neomodelAn Object Graph Mapper (OGM) for Neo4j that…
permissive · top 15,000 on PyPI
valkeyPython client library for connecting to and…
permissive · top 5,000 on PyPI
py2neoPy2neo is a Python client library for Neo4j…
permissive · top 15,000 on PyPI
libsql-clientPython SDK for connecting to and querying…
permissive · top 15,000 on PyPI
redlockImplements the RedLock algorithm to provide…
permissive · top 15,000 on PyPI