Simple Formula Parser
Project description
formulite
Simple formula parser
INSTALL
pip install formulite
HOW TO USE
from formulite.calc_parser import parser
text="f(x)+g(x,y,z)*5"
par = parser(text)
print(
par.resolve()
)
# polish notation
# return <function name>[<args>,[,]]
# return +[f['x'], *[g['x', 'y', 'z'], '5']]
LICENSE
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
formulite-0.0.1.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file formulite-0.0.1.tar.gz
.
File metadata
- Download URL: formulite-0.0.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34a63f4318421a464351aa2760f4046fd29c90c5b1ec8d8b98da9389c1f2af16 |
|
MD5 | 154f252c36c54e685a7b9f87c5a97993 |
|
BLAKE2b-256 | 1095c66bdf58265a7ae0d71aed85a97ee92c76038588166afb83098c5b36432a |
File details
Details for the file formulite-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: formulite-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29bbdf644ba01c8aae2f9327752879d6368170dcd34768a68723dce768b067e9 |
|
MD5 | 8542818f7873e328de9114e6857eab26 |
|
BLAKE2b-256 | c6f59b882a7d824d07d8942a7a28afb68db23b3c99093dd9804e823efebd136a |