Skip to main content

Python script to roll the dice

Project description

# rollme Python Script for Tossing the Dice

## Requirements * Python 2.7 or greater * Python Library - Inflect (pip install inflect) or use make install

## Install * make install

## Usage Locally with Makefile * make roll4 * make roll6 * make roll8 * make roll10 * make roll12 * make roll20 * make rollcustom * make rollgroup GROUP=3-4 or make rollgroup GROUP=4,6,8 * make rollcustomgroup GROUP=3-custom X=1 Y=99 or make rollcustomgroup GROUP=4,6,custom X=1 Y=99

## Usage as PIP installed Library * Use (Sample Script)[sample.py]

## Custom Dice Types * Make a copy of (Example Config)[config.example.json] * Load with the -c argument, use -z to override the default dice types

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rollme, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size rollme-0.0.8.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page