Skip to main content

Domain specific environment for dice

Project description

Open in molab

dicekit

Just some nice Dice objects in Python. Largely meant as a marimo demo.

Install

uv pip install dicekit

Usage

There are many ways to construct a Dice object, but a simple one is to specify the number of sides.

from dicekit import Dice

d6 = Dice.from_sides(6)
d8 = Dice.from_sides(8)

The nice thing about these objects is their representation in the notebook.

Dice output

To learn more, we recommend checking out this Marimo notebook. It shows the implementation, but also the flexibility of the objects. You can also copy the notebook and play around with it straight from the browser.

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

dicekit-0.2.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

dicekit-0.2.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file dicekit-0.2.1.tar.gz.

File metadata

  • Download URL: dicekit-0.2.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dicekit-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f92b42df599ecfe03141644f8bb6666734c941dd707640392bfc93daa7bfbffe
MD5 a015e77d046b66d92d6fd9cef2f20607
BLAKE2b-256 0c50bcceefda80ad7c3bb70aa8242e6c9db8d8c224df4170bf52bbeb8f61f3b3

See more details on using hashes here.

File details

Details for the file dicekit-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: dicekit-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dicekit-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 600ffd3b9ae75d08ecdff38ee7895a5ee5bf04f24f702f5c4cf2c3cc2907eba3
MD5 1e797f120ea3c00a480ebf6da8fd6213
BLAKE2b-256 ab9bf0bc9b8c7e956eb700c592e0325ad1f2df45a3d60618ff602676af2e9a61

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