Simple Dice rolling package
Project description
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)
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
dicy-0.0.3.tar.gz
(9.0 kB
view details)
Built Distribution
File details
Details for the file dicy-0.0.3.tar.gz
.
File metadata
- Download URL: dicy-0.0.3.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a0ed4f0f63f86b5acaf762966190c4b0d3f573d1decedd700662a9f38e0fc67 |
|
MD5 | ca69565165355e7fcdb06ad3ef7f182a |
|
BLAKE2b-256 | 7e1d69716121a857268f2ee38100fe595ae97d832ab5a35ee5febfc23925d59d |
File details
Details for the file dicy-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: dicy-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d478ff05b5bc87877907f2c77ac92e7987078c29e2abf49b6642a084515257e9 |
|
MD5 | 7e71ff149d7bb9ab44ba8510f06309d5 |
|
BLAKE2b-256 | 5d83203ec4ae9a75e660e42b3a0f37d0735e83064559d4590eebc32b30951de4 |