Warning
This module is in beta phase
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
-
Equation
is faster thaneval
(See tests/main.py) -
Equation
support parenthese, mathematical formulas likecos
and magics numbers likeπ
See the Wiki for more documentations
Open your terminal and put pip install BetterMaths
For upgrade the version, put pip install --upgrade BetterMaths
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.
- @Dhaiven for code, optimisation and tests
- @algorythmTTV for images, site ans code