An open API service indexing awesome lists of open source software.

https://github.com/cospectrum/memcrab-py

Memcrab Python Client
https://github.com/cospectrum/memcrab-py

Last synced: 12 months ago
JSON representation

Memcrab Python Client

Awesome Lists containing this project

README

          

# memcrab-py
Memcrab Python Client

```sh
pip install memcrab
```

## Usage

### Tcp

```py
from memcrab.blocking import RawClient

host = "127.0.0.1"
port = 9900
client = RawClient.tcp((host, port))
client.ping()

client.set("letters", b"ABC")
val = client.get("letters")
print(f"{val=}")
```