Natural Language Mathematical Calculator
Introduction
This Package is an example project for the botify framework. It can be used to parse mathematical expressions expressed in natural language and evaluate the result.
Usage
>>> from nlcalc import NLCalculator
>>> my_calc = NLCalculator()
>>> result = my_calc.calculate("what is two plus twenty five")
>>> print(result)
27
>>> result = my_calc.calculate("3 square plus four square")
>>> print(result)
25
Installation
pip install nlcalc
Links
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
Metadata
Release files for nlcalc 0.1.1
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 |
|---|---|---|---|---|
| nlcalc-0.1.1.zip | 8.1 kB | Without provenance | Details for nlcalc-0.1.1.zip |
Release files / nlcalc-0.1.1.zip
| Download URL | nlcalc-0.1.1.zip |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4938081af553be188479aff9593a5d8032c00ac12014312e8b51371b7588749c
|
|
BLAKE2b-256 checksum How to use checksums |
f3230d52456cef54542b312af2d8e99b597f64dfa51a142a9ea2ed5d26d4ac59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nlcalc 0.1.1
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.