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

Uploaded Python 3

File details

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

File metadata

  • Download URL: calculatepy-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 7d6ace68cf308bfea698a4451a2fc9012bfbdbb6903b4a7bdd7030d5b8a93efd
MD5 42982f30e7f51a1ceef77ae599c822ec
BLAKE2b-256 2b3c18f0040acc6c3014211da76269a5598c5a4c74d0f3607201ae238c359e71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: calculatepy-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4611f6365173aeef67be9dd1211101ce36c4813d6ad74cc44c80d526b7f4e62c
MD5 5a4c81d01099920b46fa01c659a002b5
BLAKE2b-256 8c5dc7aff51556e31b3ddeb4134fc40f4920f6d762a9437260d4230901a65f30

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