Skip to main content

Math parser for simple and compound strings math expressions evaluations

Project description


pyBigParser provides classes for parsing long and complex math expresions. You might find it most useful for tasks involving evaluating from single functions to compounds functions. Typical usage often looks like this:

from pybigparser import evaluator

mybig = evaluator.bigFunction()
mybig.addSub("x", "24+6*c")
mybig.addSub("y", "25 / d")
mybig.addSub("c", "1")
mybig.addSub("d", "4")



Supported Functions

  • cos, sin, abs, log10, log, exp,
  • tan, pi, e


  • 1.3 - It saves the values for each sub-function.
  • 1.5 - Fixed OverFlow Error with Exp function


  • The variables e and pi are reserved for the evaluator
  • Exceptions for iterative variables are not supported

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyBigParser, version 2.2
Filename, size File type Python version Upload date Hashes
Filename, size pyBigParser-2.2-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size (9.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page