Warning
This module is in beta phase
This module add Expression
class that allow resolve expression in string
# Create an expression
expression = Expression("2+7*8cos(3)")
# Resolve this expression
expression.result() # 57.92325394625613
Expression
is faster thaneval
(See tests/main.py)Expression
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