Skip to main content

Domain specific environment for dice

Project description

dicekit logo

dicekit

Just some nice Dice objects in Python. We mainly target Marimo for now.

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.1.1.tar.gz (5.4 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.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dicekit-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for dicekit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 df32321066d9e19b4c531a5b887c749b2eb4940da69344cefa758a990234ff11
MD5 2b4423933a2774b17c0b7ad47d753b3d
BLAKE2b-256 647df155b00240e8bccb6e79a7443a5e699949215e77e64554622f34c6e98024

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dicekit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for dicekit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6872cdc757255c6c1e65b6ccc829362259dd4d7d38493c6912c67d35279b27a5
MD5 1422b1db182ab188ac6924435afd1bbe
BLAKE2b-256 708233d034ad7a0fb61bf25ac5330260da1dcf727555c27ff66147e2828ebd4e

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