Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Randomizer toolkit, with custom dice expression parser.

Project Description

Dyce is a toolkit for rolling dice. It’s a friendly wrapper around python’s random module.

Dyce also has a mini-language for expressing random number patterns, including common dice notation (i.e. “3d6+5” for rolling thre six-sided dice and adding 5 to the result), making it ideal for easily storing random number patterns in config files.

Release History

Release History

This version
History Node


History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting