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.

Source Distribution

rollme-0.0.8.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file rollme-0.0.8.tar.gz.

File metadata

  • Download URL: rollme-0.0.8.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rollme-0.0.8.tar.gz
Algorithm Hash digest
SHA256 e5885ef74e5964ce71982a3f6fb6fe4ac0a4146b4ebb6dfd92843ddc0bf71cf3
MD5 de21ba941414ff3baa4f04e3c7d9abbd
BLAKE2b-256 728619b3827595bde422be6cf27833d8bc55279a958a112af3f409f6ccf28943

See more details on using hashes here.

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