Skip to content

SDK Overview

Redlite provides SDKs for multiple programming languages, all implementing the same Redis-compatible API with SQLite storage.

LanguageInstallBinding Type
Pythonpip install redlitePyO3 (native)
TypeScriptnpm install redliteNAPI (native)
Gogo get github.com/russellromney/redlite/sdks/redlite-goFFI
Rubygem install redliteFFI
Dart/FlutterSee docsflutter_rust_bridge
C++CMakeFFI
Elixir{:redlite, ...}NIF
LuaLuaRocksFFI
PHPComposerFFI
SwiftSPMFFI
.NETNuGetP/Invoke
LanguageStatus
WASMBrowser support
ZigExperimental
Java/KotlinStub

For the adventurous: Brainf*ck, Chef, COW, LOLCODE, Piet, SPL, Whitespace

All SDKs implement the same core API:

# Strings
SET, GET, INCR, DECR, APPEND, STRLEN, MGET, MSET...
# Keys
DEL, EXISTS, TYPE, TTL, EXPIRE, KEYS, SCAN...
# Hashes
HSET, HGET, HDEL, HGETALL, HMGET, HMSET, HINCRBY...
# Lists
LPUSH, RPUSH, LPOP, RPOP, LLEN, LRANGE, LINDEX...
# Sets
SADD, SREM, SMEMBERS, SISMEMBER, SCARD, SINTER...
# Sorted Sets
ZADD, ZREM, ZSCORE, ZRANK, ZRANGE, ZREVRANGE...
# Redlite Extensions
FTS (full-text search), VECTOR (similarity search), GEO (geospatial)

All production SDKs pass the oracle test suite for cross-language compatibility verification.