A library for parsing and evaluating Jarnia Dice Notation
Project description
A library for parsing and evaluating Jarnia Dice Notation.
In the future, we aim to have all the features of standard Dice Notation, but also more.
The current stage of development is pre-alpha, and I’m running this library only on a private telegram bot and implementing the features as I need.
Documentation (Draft)
Run three d6 and return the sum:
$ python -m jarniadice '3d6'
Run two d10 and return the value of the higher:
$ python -m jarniadice '2d10kh'
Run two d10 and return the value of the lower:
$ python -m jarniadice '2d10kl'
Run two d10 and return all the values as a numpy.ndarray:
$ python -m jarniadice '2d10kl'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jarniadice-0.1.3.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for jarniadice-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eda34e033dab530b239a363f43cbe2ac749b787f8a112a9ebe0f98e684d3fc1 |
|
MD5 | a33b88b93a33bb24da2e0102d0d5d9c7 |
|
BLAKE2b-256 | c2b0c22e00aa46d84d122ce064f49395634c31e2470e64a64819934dc09ccfa6 |