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.1.0.tar.gz
.
File metadata
- Download URL: ffdice-1.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 427f2ebe573e2b77051c4ecb72673e61a82fe8f0759fa55ca170f3717490180e |
|
MD5 | 9d28b5ee5f5babd62c9e6376df45dddb |
|
BLAKE2b-256 | 35ac4fa0988185b9f220216fe95e29b2c297cf339bf0699fa90bba7c2d6565b7 |
File details
Details for the file ffdice-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: ffdice-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e131df193db0a581a1f6e14c3e0098d22d214c1ce33d83b74e0b30225ec14c |
|
MD5 | 9b67b9c8b556f506d80c1be5d87c92ea |
|
BLAKE2b-256 | e16fd81c12065bb2a99218164c95b3673b387012417e94014eafaa3a1f92a5e5 |