Depozit
Slim, efficient file storage over gRPC.
Self-hosted Go server that stores and serves your files. Upload, read, list and organize files in containers from a typed Python client, sync or async.
- Go
- Python
- gRPC
- async
pip install depozit
# installs the Go server as a systemd user service
depozit server install
# API key is generated on first install
cat ~/.depozit/.env
depozit server uninstall # stored files are kept
# pip install depozit
import depozit
depozit.connect("localhost:50051", api_key="your-api-key")
depozit.upload("photo.jpg", "images/photo.jpg")
data = depozit.read("images/photo.jpg")
for path in depozit.find(prefix="images/"):
print(path)
import depozit.aio as depozit
await depozit.connect("localhost:50051", api_key="your-api-key")
data = await depozit.read("images/photo.jpg")