Skip to main content

Simple Formula Parser

Project description

formulite

Simple formula parser

FormuLite is the simple formula parser.

INSTALL

pip install formulite

HOW TO USE

from formulite 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.5.tar.gz (309.8 kB view details)

Uploaded Source

Built Distribution

formulite-0.0.5-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: formulite-0.0.5.tar.gz
  • Upload date:
  • Size: 309.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for formulite-0.0.5.tar.gz
Algorithm Hash digest
SHA256 f27bfc8f7103e2f1adefba93ec96ce90d1c4349eb8e2981014df49fd2d8358c1
MD5 62d70c50c8d6c77606b1df6946c83807
BLAKE2b-256 960fb7211063961358fa32cd436e3ec9a8791fd7832d0a0305b7bbdceff926c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: formulite-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for formulite-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 16c739da3d2af0411b1559719c48757375af51e9a6a5da78fd3ef2e893035bc2
MD5 3cec494d852598b46f84d9152e5c33c7
BLAKE2b-256 67f2817421996092f6016f3fb97b2d07d5f5def984a8e86b8f7e232aa4570326

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