Skip to main content

derby

simple dice rolling library

from derby import roll

stats = ['str','int','wis','dex','con','cha']
character = { stat: roll('3d6').value for stat in stats } # roll('4d6h3') if your GM is nice enough

examples

roll('1d20+1')
roll('2d20h1+1') # rolling with advantage
roll('4d6h3+1')  # same as roll('4d6+1h3')

# also supports doing comparisons
roll('3d6=18')
roll('1d20>14')

Metadata

Release files for derby 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for derby 0.7.2
File Interpreter ABI Platform Actions
derby-0.7.2-py3-none-any.whl Python 3 none any Details for derby-0.7.2-py3-none-any.whl

Release files / derby-0.7.2-py3-none-any.whl

Download URL derby-0.7.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39db468983e923d091a3bd2a09494421729d395bce7b1bac8c7fa483b0b5d505
BLAKE2b-256 checksum
How to use checksums
af4e6fd917588abf8b035af336660d69637d49eb8d0b5aa8958393710810a7fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Security for derby 0.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page