Skip to main content

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.

Metadata

Release files for dicekit 0.3.0

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

Source distribution (sdist)

Source distribution for dicekit 0.3.0
File Size Uploaded
dicekit-0.3.0.tar.gz 16.2 kB Details

Built distribution (wheel)

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

Total release size: 27.9 kB

Release files / dicekit-0.3.0.tar.gz

Download URL dicekit-0.3.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cdc5dbe547ce46c6f318d1649353279b237be6b9f68fca9a112e4a7a9496529f
BLAKE2b-256 checksum
How to use checksums
1fbbdbb4718f86e0644dcad2fa10c720d2074eb5f9985cb197f946c0cd61c61d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.20 {"installer":{"name":"uv","version":"0.9.20","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}

Release files / dicekit-0.3.0-py3-none-any.whl

Download URL dicekit-0.3.0-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d2e55cbc8303fb74d0164b33802d813691e8902e5ebfb32391082b8be8fc925
BLAKE2b-256 checksum
How to use checksums
4a33e0a92255be2e505dc158f3975aece4525f68b849e27858259c5741d3d5dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.20 {"installer":{"name":"uv","version":"0.9.20","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}

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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