Skip to main content

CalculatePy is the fundamental package for mathematical operations with Python

Project description

CalculatePy is the fundamental package for mathematical operations with Python.

This package provides flexibility to the user to provide numbers is any format (string, int, float) whether as individual numbers are in an array.

It provides:

  • Addition
    • This function has flexibility in accepting numbers as
      • individual argument like "add(1,2)" or
      • in a list like "add([1,2])" or
      • in a set like "add((1,2))" or "add({1,2})"
    • Numbers can be passed as a string add('1', '2')
    • Any non number characters will be considered as 0 value without throwing an error
  • Subtraction
    • This function has flexibility in accepting numbers as
      • individual argument like "subtract(1,2)" or
      • in a list like "subtract([1,2])" or
      • in a set like "subtract((1,2))" or "subtract({1,2})"
    • Numbers can be passed as a string subtract('1', '2')
    • Any non number characters will be considered as 0 value without throwing an error
  • Multiplication
    • This function has flexibility in accepting numbers as
      • individual argument like "multiply(1,2)" or
      • in a list like "multiply([1,2])" or
      • in a set like "multiply((1,2))" or "multiply({1,2})"
    • Numbers can be passed as a string multiply('1', '2')
    • Any non number characters will be considered as 1 value without throwing an error

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

calculatepy-0.0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

calculatepy-0.0.5-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file calculatepy-0.0.5.tar.gz.

File metadata

  • Download URL: calculatepy-0.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for calculatepy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e27cd05484689beb0066521358932db8497f10a49542ed95a35ed2002392a8f1
MD5 68cb40d11316f32412e109d71220c85a
BLAKE2b-256 676aef921246fc0dc4d77e19f92181af3c6a06a82f3b55044129d748497f847b

See more details on using hashes here.

File details

Details for the file calculatepy-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: calculatepy-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for calculatepy-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9afca830e5bf8d619f5fe255a4679d570037a94a66b6c24ed704f37becb6dfeb
MD5 7af8792349eb1accefa497ecdc630c0a
BLAKE2b-256 911da9dfa05de131d08ca0f8cea4ca1cd33a94fdc689576ae4afac60ed0909ee

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