Metadata-Version: 2.0
Name: derby
Version: 0.3
Summary: A simple dice rolling library
Home-page: https://gitlab.com/micaiahparker/derby
Author: Micaiah Parker
Author-email: me@micaiahparker.com
License: MIT
Project-URL: Source, https://gitlab.com/micaiahparker/derby
Keywords: dice rolling games
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: lark-parser

# derby
simple dice rolling library

```python

from derby import roll

stats = ['str','int','wis','dex','con','cha']
character = { stat: roll('3d6') for stat in stats } # roll('4d6h3') if your GM is nice enough

```

## examples

```python
roll('1d20+1')
roll('2d20h1+1') # rolling with advantage
# or
roll('2d20+1h1') # mod order is pretty flexible
# but
roll('3d6 h2 l1') != roll('3d6 l1 h2')
```

