ProgressDB backend Python SDK
Project description
ProgressDB Python SDK (backend)
Lightweight Python SDK for backend callers of ProgressDB. Designed for server-side use (holds backend/admin API keys).
Install (when published):
pip install progressdb
Quickstart
from progressdb import ProgressDBClient
client = ProgressDBClient(base_url='https://api.example.com', api_key='ADMIN_KEY')
# Sign a user id (backend-only)
sig = client.sign_user('user-123')
# Create a thread
thread = client.create_thread({'title': 'General'})
# Create a message
msg = client.create_message({'thread': thread['id'], 'body': {'text': 'hello'}})
Features
sign_user(user_id)— callsPOST /v1/_sign(backend-only)admin_health(),admin_stats()— admin endpoints- Thread and message helpers:
list_threads,create_thread,create_message,delete_thread, etc.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
progressdb-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file progressdb-0.1.0.tar.gz.
File metadata
- Download URL: progressdb-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280bce8aa27370dc1dff9ce39ae2c8a23faa1117f459995157f86b508385168f
|
|
| MD5 |
0874551085638a8a8aca794fadb5b284
|
|
| BLAKE2b-256 |
4c23bb2a0c1d262152a78fee408565c0967ee12056b9a283c42536410c10854e
|
File details
Details for the file progressdb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: progressdb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
736f6b4275119830c880975019de8e48b34be9fa7a727da48b630ab7771de75b
|
|
| MD5 |
9ecc30b8c72b389028b5f662f524798f
|
|
| BLAKE2b-256 |
21bcfeba3ed18cd54022bb62cb66b7d4ce497e4c33420cc7eb5d3f4e0dafc0e8
|