- You can never have enough key value stores that are:
100% python
based on bitcask
very fast (3x to 100x vs SQLite)
crash friendly
tested on millions of desktops for the Ubuntu One file sync client
Sample usage
Create a database
import tritcask
db = tritcask.Tritcask("/tmp/tcask")
Put and get and kill some database
>>> db.put(0, "hello", "data") >>> db.keys() [(0, 'hello')] >>> db.get(0, "hello") 'data' >>> db.delete(0, 'hello') >>> db.keys() []
And it’s fast:
In [1]: time for i in xrange(10000): db.put(0, str(i), str(i)) CPU times: user 124 ms, sys: 52 ms, total: 176 ms Wall time: 175 ms
Release files for Tritcask 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Tritcask-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / Tritcask-0.3-py3-none-any.whl
| Download URL | Tritcask-0.3-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d5175bb0bf05c575976a41b37bd4d1c5bd9bcf3e83bc72ab389135866353015
|
|
BLAKE2b-256 checksum How to use checksums |
8d0869666b344bc131473adf1fe858f3933651c6769470cf377cf36f1f39fd18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|