Skip to main content

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) — calls POST /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.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

progressdb-0.1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file progressdb-0.1.2.tar.gz.

File metadata

  • Download URL: progressdb-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for progressdb-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3e55bda654bfe9d58e6d783bc3232863f3934a4780de85d4ac78774334d92dd2
MD5 5c7a152578cdf8456a0b7c496c468ce0
BLAKE2b-256 09bf8548e99e705baf91917ce2e8c030b1474552318ce3b2c253ea9042b88c1e

See more details on using hashes here.

File details

Details for the file progressdb-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: progressdb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for progressdb-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8251650ac1cfded29d36334d95e367ab1b63af8f8c336dfdd2eb8cf36d07c16a
MD5 ddb399ce9a6cb5ad53056425e0a90c1f
BLAKE2b-256 38209890e992d4191e1dc5576b47df19b386b7eb7f4cebd218b6a3bb0660fcf4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page