pyvalkey: Python implemented Valkey server
Tired of DevOps telling you not deploy Valkey on your system? Stuck in python environment but still want simple data structure store to sync between you threads?
r3dis is a pure python implementation of the popular data store. it's create tcp server that support resp protocol and can be used as regular server.
to install, run:
pip install pyvalkey
to start server, run:
python -m pyvalkey
to start inside python thread:
from threading import Thread
from pyvalkey.server import ValkeyServer
server = ValkeyServer(("127.0.0.1", 6379))
t = Thread(target=server.serve_forever, daemon=True)
t.start()
currently supported commands:
- CONFIG SET
- CONFIG GET
- ACL HELP ~
- ACL GENPASS
- ACL CAT
- ACL DELUSER
- ACL SETUSER
- ACL GETUSER
- LPUSH
- CLIENT LIST
- CLIENT ID
- CLIENT SETNAME
- CLIENT GETNAME
- CLIENT KILL
- CLIENT PAUSE
- CLIENT UNPAUSE
- CLIENT REPLY
- INFO
- AUTH
- FLUSHDB
- SELECT
- PING
- QUIT
- DBSIZE
- ECHO
- GET
- SET
- DEL
- HSET
- HGETALL
- KEYS
- APPEND
in the future:
- more commands
- support for multiple client using asyncio loop instead of thread per client
you are invited to help :)
Metadata
Release files for pyvalkey 0.0.5
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 | |
|---|---|---|---|---|
| pyvalkey-0.0.5.tar.gz | 23.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyvalkey-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.7 kB
Release files / pyvalkey-0.0.5.tar.gz
| Download URL | pyvalkey-0.0.5.tar.gz |
|---|---|
| Size | 23.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
112b39dca16e627fb62e9b740e7157dc4f418f8c30feed0b38bae076c1639868
|
|
BLAKE2b-256 checksum How to use checksums |
5b43404c8c7184def333db9b301667ded0e03e546239fbb63f0e0b56c58f2142
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.1 Windows/10
|
Release files / pyvalkey-0.0.5-py3-none-any.whl
| Download URL | pyvalkey-0.0.5-py3-none-any.whl |
|---|---|
| Size | 34.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a1bd56c40a0cde0debe1792bacea0758fa50acb9440d746ba442e7d21520206
|
|
BLAKE2b-256 checksum How to use checksums |
856fdc8549c793359d3e5b3fcc3a3d60d1004893b325f8a69b08696d82581c79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.1 Windows/10
|
Security for pyvalkey 0.0.5
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.