Metadata-Version: 2.1
Name: dragn
Version: 0.0.2
Summary: A library to emulate rolling dice
Home-page: https://github.com/lurst/dragn
Author: Gil Goncalves
Author-email: lursty@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
Description-Content-Type: text/markdown

dragn
=====

Dice System library (aka random.randint as dice)

A library that makes something simple like a random integer even simpler.

Or at least, makes it look a bit more like rolling dice.

```python
>> from dragn.dice import D6
>>> D6()
1
>>> from dragn.dice import D8
>>> f"You roll the die and the result is {D8()}"
'You roll the die and the result is 4'
>>> f"You roll 3 dice and you get {[D8() for _ in range(3)]}"
>>> 'You roll 3 dice and you get [3, 1, 8]'
```


