Python mathematics made easier
Project description
[!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 ?
Equationis faster thaneval(See tests/main.py)Equationsupport parenthese, mathematical formulas likecosand 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
@Dhaiven for code, optimisation and tests
@algorythmTTV for images, site ans code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bettermaths-0.0.4.tar.gz.
File metadata
- Download URL: bettermaths-0.0.4.tar.gz
- Upload date:
- Size: 116.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
629a450e2a52932d2ff2d9917b3f69e634ceaaaa3dc2e5a4a62a4ba376708ad0
|
|
| MD5 |
b97f34f5121411fd23c692fa2956431e
|
|
| BLAKE2b-256 |
efd4cdc2cf37567ecec3f524096b1ec5c9429c257fd2027c59afed3dd01e25ac
|
File details
Details for the file bettermaths-0.0.4-py3-none-any.whl.
File metadata
- Download URL: bettermaths-0.0.4-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff5cebf3371af8e6dfd1c1ae582ed4911a5d95728017b2a110e1a2e729f7a586
|
|
| MD5 |
3af17bc6503a374007a85bfe383903e1
|
|
| BLAKE2b-256 |
209d2c5e6ba4c125f43d9cdced63308f94b5db172d4299af114a6d10424a6290
|