Skip to main content

Python SDK for the Stillworks REST API

Project description

stillworks-sdk

Python SDK for the Stillworks REST API.

Installation

Not yet published on PyPI. Install directly from the repo:

git clone https://github.com/clumsyquest/stillworks
cd stillworks/stillworks-sdk
pip install httpx
pip install -e .

Usage

from stillworks_sdk import StillworksClient

client = StillworksClient(token="swt_your_token_here")
print(client.whoami())           # {'github_login': 'alice', 'plan': 'free'}
print(client.repos())            # list of linked repos
print(client.runs("alice", "my-app", limit=5))
client.run_now("alice", "my-app")
print(client.analytics(days=7))

Auth header sent automatically: X-Stillworks-Token: <token>. Errors raise StillworksError, UnauthorizedError, or RateLimitError.

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

stillworks_sdk-0.1.0.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.

stillworks_sdk-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file stillworks_sdk-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for stillworks_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f0fe9b8a81dbcec4586643902e036a8cb6f9f6a3d93cfb61c826a75eb2e62e8e
MD5 ee6dfebd9f317400d97e9f1c58e8e3f6
BLAKE2b-256 f7fe83f078d44e715facc086011f19a0992aa7ca6118cc6e0a54440b5330b9c0

See more details on using hashes here.

File details

Details for the file stillworks_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stillworks_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for stillworks_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96e0ccd1296d91568cb9705ef16b7e040c0fcb9fe88b5c80eaea9a54cc440113
MD5 2e7f7f5596a13dc225b723dd772ff03c
BLAKE2b-256 afaef4df24f89adb8a29dd5bcceb1c33d6d419d3039b2bb35097c10e93c2ab68

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