Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 205 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 205 Bytes

dicepy

simple Python dice rolling library + flask API

Basic usage

from dicepy import roll_dice
roll = roll_dice(n=2, sides=4) # rolls 2d4

To run flask

flask --app flask_api run