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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file jarniadice-0.1.3.tar.gz.

File metadata

  • Download URL: jarniadice-0.1.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for jarniadice-0.1.3.tar.gz
Algorithm Hash digest
SHA256 34306ed2cc95db050d3161cbe670b2e62b75c3c305f190a7168a8f7e0c0ab539
MD5 13589d57852b962d43b7d43ae32ccb08
BLAKE2b-256 4ac763ce129843ca6dff0a63ab51e1be164e226e400e2a5b006087653690220c

See more details on using hashes here.

File details

Details for the file jarniadice-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: jarniadice-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for jarniadice-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1eda34e033dab530b239a363f43cbe2ac749b787f8a112a9ebe0f98e684d3fc1
MD5 a33b88b93a33bb24da2e0102d0d5d9c7
BLAKE2b-256 c2b0c22e00aa46d84d122ce064f49395634c31e2470e64a64819934dc09ccfa6

See more details on using hashes here.

Supported by

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