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)

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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page