Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Copyright and other protections apply. Please see the accompanying LICENSE file for rights and restrictions governing use of this software. All rights not expressly waived or licensed are reserved. If that file is missing or appears to be modified from its original, then please contact the author before viewing or using this software in any capacity.

Tests Coverage Version Development Stage License Supported Python Versions Supported Python Implementations pre-commit dyce-powered! Bear-ified™

anydyce – Application experiments for dyce

anydyce is a testing ground for various interactive interfaces to dyce (the dice mechanic modeling library). Currently, it includes:

  1. A JupyterLite graphing widget using Matplotlib and Jupyter Widgets for visualizing histograms and pools:
    • Try it! 👉 Try dyce 👈
  2. 💥 New! 💥 A fully functioning, (mostly1) compatible, pure-Python AnyDice language interpreter and interactive playground. Quite a bit of detail is provided on how it was built, how it differs from the original, and all the pitfalls and nuances discovered along the way.
    • Try it! 👉 Try the AnyDice-compatible playground 👈

!!! danger "JupyterLite may not save your work!"

JupyterLite attempts to make use of your browser’s local storage for saving notebook changes.
Browser environments vary, including how long local storage is persisted.
Further, Binder loses all state once its instances shut down after a period of inactivity.
Be careful to download any notebooks you wish to keep.

If you find anything lacking in any way, please don’t hesitate to bring it to my attention.

Running locally

anydyce is also available as a PyPI package and as source. To try it on your own hardware, use the quickstart-local.sh script to create a local virtual environment and bootstrap a local copy.

% git clone https://github.com/posita/anydyce.git anydyce && ./anydyce/quickstart-local.sh
...
INFO    -  Documentation built in 4.84 seconds
INFO    -  [20:39:05] Serving on http://127.0.0.1:8000/

Once loaded, try the following:

Requirements

anydyce requires a relatively modern version of Python:

It has the following runtime dependencies:

anydyce is proudly 100% Bear-ified™! 👌🏾🐻

License

anydyce is licensed under the MIT License. See the included LICENSE file for details. Source code is available on GitHub.

  1. It is not bug-compatible, instead including fixes for several longstanding implementation errors in AnyDice itself. Further, it does not support AnyDice’s legacy "..." syntax. ↩

Metadata

Release files for anydyce 0.5.0rc4

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

Source distribution (sdist)

Source distribution for anydyce 0.5.0rc4
File Size Uploaded
anydyce-0.5.0rc4.tar.gz 503.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anydyce 0.5.0rc4
File Interpreter ABI Platform
anydyce-0.5.0rc4-py3-none-any.whl Python 3 none any Details

Total release size: 565.7 kB

Release files / anydyce-0.5.0rc4.tar.gz

Download URL anydyce-0.5.0rc4.tar.gz
Size 503.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e973d2d13c8abe8c98d1d59ae19eb1450f8bfb7a83000ef30d5f7efa139fbde3
BLAKE2b-256 checksum
How to use checksums
ae4eb27e3df717bd4d1924cbffc7cd31fa897b43271886abe4d81b8cd43070aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.

Transparency log

Release files / anydyce-0.5.0rc4-py3-none-any.whl

Download URL anydyce-0.5.0rc4-py3-none-any.whl
Size 62.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd3ac9478dadd25726ebaba72ade75da3345541d737e9f343fdc0e693821061d
BLAKE2b-256 checksum
How to use checksums
59ad818c76ac6707cf244c9277c80d3a997952ce6cb078e68b6b03f380f4629a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0rc4 This release

2 release files

0.4.6

1 release file

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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