Skip to main content

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


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)

Uploaded Source

Built Distribution

jarniadice-0.1.3-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page