Skip to main content

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


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)

Uploaded Source

Built Distribution

dicy-0.0.3-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2 Python 3

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

Hashes for dicy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1a0ed4f0f63f86b5acaf762966190c4b0d3f573d1decedd700662a9f38e0fc67
MD5 ca69565165355e7fcdb06ad3ef7f182a
BLAKE2b-256 7e1d69716121a857268f2ee38100fe595ae97d832ab5a35ee5febfc23925d59d

See more details on using hashes here.

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

Hashes for dicy-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d478ff05b5bc87877907f2c77ac92e7987078c29e2abf49b6642a084515257e9
MD5 7e71ff149d7bb9ab44ba8510f06309d5
BLAKE2b-256 5d83203ec4ae9a75e660e42b3a0f37d0735e83064559d4590eebc32b30951de4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page