A basic random number generator (RNG) that can be used for multiple purposes, such as rolling dice.
Project description
ffdice
A simple Python package that acts as a dice. Essentially, it's a random number generator (RNG) that can be used for multiple purposes.
Getting started
Installation
You install this package by running the following command:
python -m pip install ffdice
Examples
Take a look at the examples for a few implementation ideas.
Unit testing
In order to run automated tests, execute:
python -m unittest
Notes
This project was created both to learn and to scratch a personal itch. If you like it, or have any issues with it, feel free to reach out by email!
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
Built Distribution
File details
Details for the file ffdice-1.0.1.tar.gz
.
File metadata
- Download URL: ffdice-1.0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e7e2b9ed79abc94dc13cdddd927d92c86e7cb334cc417ce571b4601ef02eb0 |
|
MD5 | 43025c8019c85ba4be0780fdadc2cd86 |
|
BLAKE2b-256 | d219af481b2d28dc66d4e2ed1d9d039d9f296fc5a145f4a39ca72d2bf54ae5cf |
File details
Details for the file ffdice-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: ffdice-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd7737bcff1fbd7424385fc29d8abcb16bba76453b4bc32deb31bb07f2bdf755 |
|
MD5 | e7fdd0e292a28762465089aa61193501 |
|
BLAKE2b-256 | 5ea6b093d350ed426b32cc5028f2cc282243df4bb19994239f855faea4c5129b |