DiceDB for Python
⚠️ This is not an official sdk for python and still in development.
Installation and Usage
From PyPI
pip install dicedb
From Source
Clone the repository and install the package:
$ git clone https://github.com/un4gt/dicedb.git --depth 1 --branch main
$ uv sync
$ uv buid
Supported Commands
| command | description |
|---|---|
decr |
DECRBY |
decrby |
DECRBY |
delete |
DEL |
echo |
ECHO |
exists |
EXISTS |
expire |
EXPIRE |
expire_at |
EXPIREAT |
expire_time |
EXPIRETIME |
flushdb |
FLUSHDB |
get |
GET |
get_del |
GET_DEL |
get_ex |
GET_EX |
hget |
HGET |
hget_all |
HGETALL |
hset |
HSET |
incr_by |
INCRBY |
incr |
INCRBY |
ping |
PING |
ttl |
TTL |
typeof |
TYPE |
set |
SET |
Roadmap
- More documentation/tests/examples
- Support for all commands
- Connection pool
- Support for async
Contributing
PRs and issues are welcome!
About Developing
Generate Python Proto Files
cmd.proto and res.proto comes from https://github.com/DiceDB/dicedb-protos
On Windows:
protoc -I=protos\ --python_out=src\dicedb\proto\ --pyi_out=src\dicedb\proto cmd.proto res.proto
Metadata
Release files for dicedb 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dicedb-0.1.1.tar.gz | 23.0 kB | Without provenance | Details for dicedb-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dicedb-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for dicedb-0.1.1-py3-none-any.whl |
Total release size: 35.8 kB
Release files / dicedb-0.1.1.tar.gz
| Download URL | dicedb-0.1.1.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00a299825bf7cba28d8104b678ccb48667dffd7310681daa4de28b0b52dede6a
|
|
BLAKE2b-256 checksum How to use checksums |
0529bc8b3e9aae921b4956ff8e50d42a7d05a00ae9fde1ae2c2cb4ba76880c7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.16
|
Release files / dicedb-0.1.1-py3-none-any.whl
| Download URL | dicedb-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b0ce1e02a6f798a1c744684a16f68b4a69651848ab7788a889a66d5abcebec7
|
|
BLAKE2b-256 checksum How to use checksums |
74f973aecd5cd058c0eae5d6d438fb9f41c7a92c6291428ba99ffa55780b4d9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.16
|
Security for dicedb 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.