SDK for the DriveThruRPG API
Project description
dtrpg-sdk.py
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 dtrpg_sdk-0.1.0.tar.gz.
File metadata
- Download URL: dtrpg_sdk-0.1.0.tar.gz
- Upload date:
- Size: 14.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40393172d332a6a3c1a8cad30ba4bbf28827a67c044874c1c591ba3c733b9f4b
|
|
| MD5 |
9ab9747c46daee02e08a67f0196619cb
|
|
| BLAKE2b-256 |
1f793a3c71d456576cabb9cc47df94443904a89b7e5a051dfa1a2daa3f360868
|
File details
Details for the file dtrpg_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dtrpg_sdk-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4065380afdd684e3a75228db5df94855faf51e3846674f59c5c47f1d480aab06
|
|
| MD5 |
ab58ffc1638373cb80684ffffe71c359
|
|
| BLAKE2b-256 |
440e0322b4db9901f81931097edba9c00b856d1db4a459c57b4d549f92eef6e1
|