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

Uploaded Python 3

File details

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

File metadata

  • Download URL: calculatepy-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a2c53cc2820712cb1f55d07950351d09f471c93c09ec67424e4b4e8e6e271c3c
MD5 1b3f5acbc7e4f786221c07b0ada0ce63
BLAKE2b-256 deb54a24f2d6d467c6000d217fc2a3f24353396f782cbd9c759bd094ea091d20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: calculatepy-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bc605f65a4309f199550afcefff0ee53e0647c033cdaae8090264c709645136f
MD5 d54184cbab529346938081ec5a2701e7
BLAKE2b-256 cfc7c30e7d4d11935d92db9d36de0bf36a7679cace44152c0bb5cc2bec862c52

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