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.2.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for formulite-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0663722da0b782d3a691676561019e390049664f59c962cc2de9adc76b59102 |
|
MD5 | 581d0433a01a864742e93bd8dfdc6241 |
|
BLAKE2b-256 | 13eec7816905b6da6cd8e2e92703f96f48a293a042c522b180030024cceb8422 |