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.7.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.7-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: calculatepy-0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 ebce69a8ab716b2e863836426c513fa7e502c36fcfb8e2cdf8296746b87c0b28
MD5 2c15c5f11f6e723d1a2fcc8fc7846d43
BLAKE2b-256 15af54b80509a5461866d21fc4f9ba57085d072d0e40a30da30d07cd0da4d192

See more details on using hashes here.

File details

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

File metadata

  • Download URL: calculatepy-0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 00550778eade2e011181dd6365e3abfd668d6c58a5f890dbd928c2ff83c76d4e
MD5 f99ae0f7d4ae452336d2a256b50add5d
BLAKE2b-256 fa1f44fc43d6f6cd7abdce2f1dc85996ad753e5ed54105268ade202b1ff3ec3b

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