Skip to main content

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

MIT

Project details


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 details)

Uploaded Source

Built Distribution

formulite-0.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file formulite-0.0.2.tar.gz.

File metadata

  • Download URL: formulite-0.0.2.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

Hashes for formulite-0.0.2.tar.gz
Algorithm Hash digest
SHA256 61098d7aaf76b9cd380532575ed01e5ebd31027c595d69c3d00400fe7f39f6aa
MD5 95cfb012e15adf8f78403432eeaaf6cd
BLAKE2b-256 e70e6b2cfa26d19a51acf20b36221ea1a8287e8f17f896698a20aed9c5d686af

See more details on using hashes here.

File details

Details for the file formulite-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: formulite-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for formulite-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0663722da0b782d3a691676561019e390049664f59c962cc2de9adc76b59102
MD5 581d0433a01a864742e93bd8dfdc6241
BLAKE2b-256 13eec7816905b6da6cd8e2e92703f96f48a293a042c522b180030024cceb8422

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page