Skip to main content

Download and keep up to date your purchases from DriveThruRPG

Project description

dRPG downloads and keeps your purchases from DriveThruRPG up to date

Maintainability

Installation

This script is tested with Python 3.8 and requires Python 3.8 or newer to run.

You can install dRPG from PyPI:

pip install --user drpg
drpg --help  # or python -m drpg --help

Usage

  1. Go to your account settings and generate a new application key.
  2. Copy the key and run the script: drpg --token <YOUR_DRPG_TOKEN>.
  3. Now just sit, relax and wait. Initial synchronization may take a while so why don't you grab a cup of tea or whatever your favourite beverage is. On consecutive runs the script will download only new and changed files which will be a way faster.

Advanced options

You can change where your files will be downloaded by using --library-path path/to/your/directory.

By default the script does not compare files by md5 checksum to save time. You can turn it on by using --use-checksums.

You can change a log level by using --log-level=<YOUR_LOG_LEVEL>. Choices are DEBUG, INFO, WARNING, ERROR, CRITICAL.

For more information, run the script with --help.

Roadmap

  • Have a working scipt
  • Allow to choose where to sync purchased products
  • Allow for fast - based on modification timestamps - or strict - based on both modification timestamps and md5 checksums - comparison of synced and remote files
  • Publish a stable release
    • Compatible with DriveThruRPG Library App v. 3.0.1.3
    • Document which official client version is the script compatible with
    • Decide on a versioning scheme - currently I'm considering using a CalVer with a version number matching the official client release date. For example version 2021.1.5 would be compatible with DriveThruRPG Library App v. 3.0.1.3 which was released on January 5, 2021 (see its changelog for release dates)

Found a bug?

Pull requests and bug reports are welcomed! See CONTRIBUTING.md for more details.

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

drpg-0.0.7.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

drpg-0.0.7-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file drpg-0.0.7.tar.gz.

File metadata

  • Download URL: drpg-0.0.7.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

File hashes

Hashes for drpg-0.0.7.tar.gz
Algorithm Hash digest
SHA256 205c01543254c7ec330face4ea492c3cad0362f6b81c2cbb5cd46fb78bf417fd
MD5 1780405ba95a916ad7bb7e16f8cf54b5
BLAKE2b-256 08c865ded08b7ae47de380b2a75a771ea7444274e78c5bee61ae87ded2eb32e8

See more details on using hashes here.

File details

Details for the file drpg-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: drpg-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2

File hashes

Hashes for drpg-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 288295d6d7ee33e2dce16793e16aa8bd8aa22833d8eb5ebc1886c3225e0c9c28
MD5 91a12b3c2fd8a0e418bfdabe1b9ed606
BLAKE2b-256 43c84bdf0d2468b7fddfbdec64d882f9d3f0acf812675b552d8466d05c7b8762

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