Skip to main content

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

ffdice-2.0.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

ffdice-2.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for ffdice-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ce6e06d4a5949858fdaf4fa3ff9cd778ed629ca27035a28e95f2d6918b601af6
MD5 5009a6a2889ce5d224fc725a40567e73
BLAKE2b-256 c430baf866290854cf04820318b3527ddda6f802566826ada7006b9c20adf9c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ffdice-2.0.0.tar.gz:

Publisher: main.yml on mzilverberg/ffdice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ffdice-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eecac9bbf4db7def75ac47647124cd7e91ec03ee2db343090e7a0d9779494fc4
MD5 1eb07117e369d08d8dfeeec52fa45f93
BLAKE2b-256 3b3d678cc5a6c512b8b255c2835378dba154ad01b4c18b390be4b0d470c3dadc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ffdice-2.0.0-py3-none-any.whl:

Publisher: main.yml on mzilverberg/ffdice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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