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™

dyceum – Application experiments for dyce

dyceum 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

dyceum 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 dyceum && ./dyceum/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

dyceum requires a relatively modern version of Python:

It has the following runtime dependencies:

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

License

dyceum 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dyceum-0.5.0rc5.tar.gz (503.8 kB view details)

Uploaded Source

Built Distribution

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

dyceum-0.5.0rc5-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

Details for the file dyceum-0.5.0rc5.tar.gz.

File metadata

  • Download URL: dyceum-0.5.0rc5.tar.gz
  • Upload date:
  • Size: 503.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dyceum-0.5.0rc5.tar.gz
Algorithm Hash digest
SHA256 340175e347bd67d7116e9dbdc7cb29acf1504410cd1249821b2830b762047ee9
MD5 511df3aaafff9650578b11180f7167d0
BLAKE2b-256 ba6878a377e0d3dd4a2f84b4c8b527db3993ba62509ef82397e687946d2cb23d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dyceum-0.5.0rc5.tar.gz:

Publisher: publish.yml on posita/anydyce

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dyceum-0.5.0rc5-py3-none-any.whl.

File metadata

  • Download URL: dyceum-0.5.0rc5-py3-none-any.whl
  • Upload date:
  • Size: 62.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dyceum-0.5.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 fc32d54ae8284298c46cd5e7599c671ffe4a82584608bbc21bec5539b4faef9e
MD5 4c848f35a0baade1cd5ea9662d332997
BLAKE2b-256 34655c43d73d4f588bdd72b87a116f4865fddf48b7d56ad413330031be760ede

See more details on using hashes here.

Provenance

The following attestation bundles were made for dyceum-0.5.0rc5-py3-none-any.whl:

Publisher: publish.yml on posita/anydyce

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.0rc5 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page