Simple Formula Parser
Project description
formulite
Simple formula parser
FormuLite is the 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.3.tar.gz
(6.9 kB
view details)
File details
Details for the file formulite-0.0.3.tar.gz
.
File metadata
- Download URL: formulite-0.0.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbb2e31b66b58baebd35ad63e3f435067f9140e6e5dbc74cc1fac61d93c710e5 |
|
MD5 | 107ec69ec1dd96a173eec09e1ee51ddf |
|
BLAKE2b-256 | 7c61f8fbe6e745614c013c124c50c259c2e385c9acab2efeec21d255fe17dec3 |