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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for bettermaths-0.0.4.tar.gz
Algorithm Hash digest
SHA256 629a450e2a52932d2ff2d9917b3f69e634ceaaaa3dc2e5a4a62a4ba376708ad0
MD5 b97f34f5121411fd23c692fa2956431e
BLAKE2b-256 efd4cdc2cf37567ecec3f524096b1ec5c9429c257fd2027c59afed3dd01e25ac

See more details on using hashes here.

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

Hashes for bettermaths-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ff5cebf3371af8e6dfd1c1ae582ed4911a5d95728017b2a110e1a2e729f7a586
MD5 3af17bc6503a374007a85bfe383903e1
BLAKE2b-256 209d2c5e6ba4c125f43d9cdced63308f94b5db172d4299af114a6d10424a6290

See more details on using hashes here.

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