Unified Key-Value Store for Java.
A no-frills, reliable persistence library for Java. Whether you are maintaining a legacy Swing app or building a modern Android utility, PolyKV keeps your data handling simple.
One API, Everywhere. This library is part of the PolyKV ecosystem. Use the same consistent API across 12+ languages.
-
☕️ Pure Java Zero native code (JNI). Compiles anywhere a JVM exists.
-
🔄 Android Compatible Designed to work alongside Android's
Fileand Context APIs, making it a great alternative to rawSharedPreferences. -
📦 Lightweight Minimal dependency footprint. No heavy ORM frameworks required.
implementation 'com.polykv:polykv:1.0.0'import com.polykv.PolyKV;
public class Main {
public static void main(String[] args) {
// Init
PolyKV kv = new PolyKV("ServerConfig");
// 1. Save
kv.setString("db_host", "localhost");
kv.setNumber("max_pool", 20);
// 2. Read
String host = kv.getString("db_host");
System.out.println("Host: " + host);
// 3. Update
kv.setNumber("max_pool", 50);
// 4. Delete
kv.remove("db_host");
// 5. Clear All
kv.clear();
}
}| Language | Verified Runtime (✅) | Build Only (🛠) |
|---|---|---|
| TypeScript | CLI (Node.js), Browser, React Native (iOS/Android) | - |
| Dart | Flutter (iOS/Android/macOS), CLI | - |
| Go | macOS, Linux, Windows, iOS, Android, CLI | - |
| Rust | macOS, iOS, Android, CLI | Linux, Windows |
| Swift | iOS, macOS, CLI | - |
| C++ | macOS, iOS, Android, CLI | - |
| Python | CLI, Web, Android | - |
| Kotlin | CLI, Web, Android | - |
| C# | CLI | Android, Windows |
| Java | CLI, Android | - |
| Ruby | CLI | - |
| PHP | CLI | - |
✅ Runtime Verified: Full CRUD operations verified via automated tests on actual devices/simulators.
MIT