Skip to main content

A Python package that simplifies calculations.

Project description

extramaths

A Python package that simplifies calculations.

Go to https://pypi.org/project/extramaths/ to install the package.

Upload Python Package

Help Page

This help page shows examples of how all the functions work, for a more in-depth help page, please refer to https://github.com/WhenLifeHandsYouLemons/extramaths/wiki/Help.

For Quadratics

from extramaths import others
value1, value2 = other.quadratic(a, b, c)

print(value1)
print(value2)

For Areas of 2D Shapes

from extramaths import area

Square

area_of_square = area.square(length)

print(area_of_square)

Rectangle

area_of_rectangle = area.rectangle(height, width)

print(area_of_rectangle)

Right-Angled Triangle

area_of_right_angled_triangle = area.right_angle_triangle(base, height)

print(area_of_right_angled_triangle)

Non Right-Angled Triangle

area_of_non_right_angled_triangle = area.triangle(a, b, C)

print(area_of_non_right_angled_triangle)

Rhombus

area_of_rhombus = area.rhombus(D, d)

print(area_of_rhombus)

Trapezoid

area_of_trapezoid = area.trapezoid(a, b, height)

print(area_of_trapezoid)

Circle

area_of_circle = area.circle(r)

print(area_of_circle)

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

extramaths-0.3.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

extramaths-0.3.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file extramaths-0.3.0.tar.gz.

File metadata

  • Download URL: extramaths-0.3.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for extramaths-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c298b3dcbc79fb0ad05c22d0c54f99a92c7b5b6ca8b4c404c03fd85fef7217ac
MD5 6ec4e7182600de75b6dc8b5f19eca454
BLAKE2b-256 2edf581a0388b4cc7bb7706214263b52995882903b0f83f765ecf52b5378d69c

See more details on using hashes here.

File details

Details for the file extramaths-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: extramaths-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for extramaths-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b03121d0e6d6c7164bb7f6dd62cf45b81a2c1b5c9ae344fe2dc8bc7dccce47d9
MD5 fb0c33c932e50c3870bd50eb26c385ea
BLAKE2b-256 2c678e725699bd1dea1303f4464b7ac91ac378fe23ab763586a0a75548e591b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page