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:
python3 -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:
python3 -m unittest
Notes
This project was created both to learn and to scratch a personal itch. Feel free to reach out and submit an issue on GitHub if you encounter any problems with this package.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ffdice-2.0.0.tar.gz.
File metadata
- Download URL: ffdice-2.0.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce6e06d4a5949858fdaf4fa3ff9cd778ed629ca27035a28e95f2d6918b601af6
|
|
| MD5 |
5009a6a2889ce5d224fc725a40567e73
|
|
| BLAKE2b-256 |
c430baf866290854cf04820318b3527ddda6f802566826ada7006b9c20adf9c3
|
Provenance
The following attestation bundles were made for ffdice-2.0.0.tar.gz:
Publisher:
main.yml on mzilverberg/ffdice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ffdice-2.0.0.tar.gz -
Subject digest:
ce6e06d4a5949858fdaf4fa3ff9cd778ed629ca27035a28e95f2d6918b601af6 - Sigstore transparency entry: 868811409
- Sigstore integration time:
-
Permalink:
mzilverberg/ffdice@c0dbe05eeeb53561689184f5a5bfc5672c5ed9f6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mzilverberg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@c0dbe05eeeb53561689184f5a5bfc5672c5ed9f6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ffdice-2.0.0-py3-none-any.whl.
File metadata
- Download URL: ffdice-2.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eecac9bbf4db7def75ac47647124cd7e91ec03ee2db343090e7a0d9779494fc4
|
|
| MD5 |
1eb07117e369d08d8dfeeec52fa45f93
|
|
| BLAKE2b-256 |
3b3d678cc5a6c512b8b255c2835378dba154ad01b4c18b390be4b0d470c3dadc
|
Provenance
The following attestation bundles were made for ffdice-2.0.0-py3-none-any.whl:
Publisher:
main.yml on mzilverberg/ffdice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ffdice-2.0.0-py3-none-any.whl -
Subject digest:
eecac9bbf4db7def75ac47647124cd7e91ec03ee2db343090e7a0d9779494fc4 - Sigstore transparency entry: 868811414
- Sigstore integration time:
-
Permalink:
mzilverberg/ffdice@c0dbe05eeeb53561689184f5a5bfc5672c5ed9f6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mzilverberg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@c0dbe05eeeb53561689184f5a5bfc5672c5ed9f6 -
Trigger Event:
push
-
Statement type: