Domain specific environment for dice
Project description
dicekit
Just some nice
Diceobjects 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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dicekit-0.1.2.tar.gz.
File metadata
- Download URL: dicekit-0.1.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5df8160fc82a57a157816938f043560fbc308e93758501fe2e1546c9fba38597
|
|
| MD5 |
926cd2202464d5626995b1c6492b8e6f
|
|
| BLAKE2b-256 |
2d29ce90a9643f0656115243b9992d78943303bcac11f935a12baaa32a3d8701
|
File details
Details for the file dicekit-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dicekit-0.1.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06918e8c3a591a354d2f221cc240b100ad86115d1057b666671c615cd96b05d3
|
|
| MD5 |
003bcb120f6f499841f91434d6ef8808
|
|
| BLAKE2b-256 |
a29fb935114c67918a98793e5086e376c03b167ec16c1e9ae45d846d22fbc95e
|