Skip to main content

Python mathematics made easier

Project description

BeterMaths Banner

MIT License

[!WARNING] This module is in beta phase

Little documentation

This module add Equation class that allow resolve equation in string

# Create an equation
equation = Equation("2+7*8cos(3)")
# Resolve this equation
equation.result() # 57.92325394625613

Why use Equation and not eval ?

  • Equation is faster than eval (See tests/main.py)
  • Equation support parenthese, mathematical formulas like cos and magics numbers like π

See the Wiki for more documentations

Instalation

Open your terminal and put pip install BetterMaths
For upgrade the version, put pip install --upgrade BetterMaths

Contribution

BetterMaths accepts community contributions!
This contributions must case no error tests folder. Launch init file, put y for take your changes and checks if there are error.

Authors

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

bettermaths-0.0.4.tar.gz (116.7 kB view hashes)

Uploaded Source

Built Distribution

bettermaths-0.0.4-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

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