Skip to main content

SDK for the DriveThruRPG API

Project description

dtrpg-sdk.py

CI License: MIT

A Python SDK for the DriveThruRPG API.

Requires Python 3.12+.

Status: in development. This repository currently provides the package scaffolding (build, lint, type check, test, and release pipeline). Configuration, authentication/session lifecycle, and the library client (orders, product lists, download preparation) are not yet implemented — see dtrpg-sdk.py#1 for progress. For a complete reference implementation of the same API surface, see the Go, Rust, or Swift SDKs.

Installation

Not yet published to PyPI. Once released:

uv add dtrpg-sdk

Building from source

This repository will use the dtrpg-api repository as a submodule (API/) once the dtrpg-api integration lands, matching the pattern used by the Go/Rust/Swift SDKs. Clone with submodules, or initialize them after cloning:

git clone --recursive https://github.com/pilgrimagesoftware/dtrpg-sdk.py.git

# or, if already cloned:
git submodule update --init --recursive

Development

uv sync --all-extras --dev
uv run ruff check .
uv run ruff format --check .
uv run pyrefly check
uv run pytest

See docs/python.md in the umbrella repo for the full set of conventions this project follows.

Release Process

See RELEASE.md.

License

MIT — see LICENSE.md.

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

dtrpg_sdk-0.2.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

dtrpg_sdk-0.2.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file dtrpg_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: dtrpg_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dtrpg_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2fd9dd0d2e2756e15e6de8914816fd93e6fd06326a677296d23314e7057ea4f2
MD5 34a914a86903070e821ceb714fe280d8
BLAKE2b-256 04867b68e28d0c547e00141d2623efda933dc436cea70c26d65d77f7100b02a8

See more details on using hashes here.

File details

Details for the file dtrpg_sdk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dtrpg_sdk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dtrpg_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b4cfc3311c3b007307b7efb9d0f19b88a099d3045412d2153c3e38ee03955f
MD5 46a9eb0ef0d030052eaa561c7306e1b9
BLAKE2b-256 35e83ae349c2b124686d95bf8187938f09531b5e62f6b971cc5129b3690e09f3

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