[](https://travis-ci.org/roaet/pydiecalc)
##Installation
`pip install pydiecalc`
##Usage
###As a CLI
To run the pydiecalc library as an interactive CLI you run the application
without arguments:
`pydiecalc`
###From the Command Line
To run the pydiecalc library from the command line you run the application with
arguments that will be parsed:
`pydiecalc 1d6 + 10`
###As a library
To use pydiecalc as a library you need to import it and then handle the output:
```
import pydiecalc
result, rolls = pydiecalc.roll('1d6 + 10')
```
`pydiecalc.roll` will raise `CaughtRollParsingError` if the parsing fails.
Metadata
Release files for pydiecalc 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydiecalc-0.1.3.tar.gz | 4.3 kB | Without provenance | Details for pydiecalc-0.1.3.tar.gz |
Release files / pydiecalc-0.1.3.tar.gz
| Download URL | pydiecalc-0.1.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e70bef1dc51cce9badbfbf897d6c747c289ed6959a7e373504921743521a0200
|
|
BLAKE2b-256 checksum How to use checksums |
c31e776336edfd5ac694093e3438b40a3e4e0007122819250619a7426efd0fb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pydiecalc 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.