Skip to main content

Dicy

A simple dice object

Features

  • Generate as many dice objects as you want
  • Each dice object by default allows random.choice
  • You can easily iterate on the dice faces

Examples



from dicy import dicy as d
dice_a = d.Dicy()

# this will be evaluated to 1, 2, 3
print(dice_a[0].face)
print(dice_a[1].face)
print(dice_a[2].face)

Release files for dicy 0.0.3

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

Source distribution (sdist)

Source distribution for dicy 0.0.3
File Size Uploaded
dicy-0.0.3.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dicy 0.0.3
File Interpreter ABI Platform
dicy-0.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 12.8 kB

Release files / dicy-0.0.3.tar.gz

Download URL dicy-0.0.3.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1a0ed4f0f63f86b5acaf762966190c4b0d3f573d1decedd700662a9f38e0fc67
BLAKE2b-256 checksum
How to use checksums
7e1d69716121a857268f2ee38100fe595ae97d832ab5a35ee5febfc23925d59d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release files / dicy-0.0.3-py2.py3-none-any.whl

Download URL dicy-0.0.3-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d478ff05b5bc87877907f2c77ac92e7987078c29e2abf49b6642a084515257e9
BLAKE2b-256 checksum
How to use checksums
5d83203ec4ae9a75e660e42b3a0f37d0735e83064559d4590eebc32b30951de4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

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