skip to navigation
skip to content

diceroll 0.3

A command line dice roller

Latest Version: 2.5

diceroll is a simple command line dice roller.

It can be invoked through the roll command once installed.


Requires the pyparsing library.



A set of dice to roll, where N (optional, defaults to 1) is the number of dice to roll, and S is the number of sides the dice has.

This returns a list of dice rolls. Numerical operators that are applied to the list (such as +, -, etc) will use the sum total of the dice rolls.

X + Y, X - Y, X * Y, X / Y

Performs a basic operation on two atoms (each either a diceroll or an integer) - respectively addition, subtraction, multiplication, division.

File Type Py Version Uploaded on Size
diceroll-0.3.tar.gz (md5) Source 2012-08-05 1KB