Skip to main content

A custom Python math utility library

Project description

SuperMath 📊

SuperMath is a custom Python utility library that provides useful mathematical, statistical, geometry, finance, and random utility functions in one place.

It is designed to make common calculations easier and more accessible for developers, students, and data enthusiasts.


Features

SuperMath includes multiple modules:

Basic Utilities

  • percentage
  • average
  • square
  • cube
  • factorial
  • gcd
  • lcm
  • map_range
  • normalize
  • round_to
  • sign
  • swap

Statistics

  • mean
  • median
  • mode
  • data_range
  • variance
  • standard_deviation
  • percentile

Geometry

  • circle_area
  • circle_circumference
  • rectangle_area
  • rectangle_perimeter
  • triangle_area
  • triangle_perimeter
  • square_area
  • square_perimeter
  • cylinder_volume
  • sphere_volume
  • sphere_surface_area
  • distance

Finance

  • simple_interest
  • compound_interest
  • compound_amount
  • profit
  • loss
  • profit_percentage
  • loss_percentage
  • discount_amount
  • discounted_price
  • gst_amount
  • price_with_gst
  • emi

Random Utilities

  • random_int
  • random_float
  • random_float_range
  • random_choice
  • shuffle_list
  • random_bool
  • random_char
  • random_digit
  • random_string
  • random_password
  • random_color
  • random_sample

Installation

pip install supermath

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

ad_supermath-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

ad_supermath-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ad_supermath-0.1.0.tar.gz.

File metadata

  • Download URL: ad_supermath-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ad_supermath-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71196f16b2b7ec338ef8472cf976402e034cbc87efd5b7c94e87667cbb02c255
MD5 7de441a5a0ee27a28f156ee3eeff6463
BLAKE2b-256 cd55b4885a39ba5b29c296b934bf333ae0805c3138bf024ffda57b3c03e81574

See more details on using hashes here.

File details

Details for the file ad_supermath-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ad_supermath-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ad_supermath-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08bff8006ac2c85b8774031865e5e393bfbe18a0261d85d6eb330cf456001c25
MD5 02fbaeb58cb86a22587bb89c8d04edcd
BLAKE2b-256 032e58d3d2b026c4ee9ea7956301ed711280d4520981eac3fb8bbccfb4071c7f

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