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.2.tar.gz (2.7 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.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: calculatepy-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 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.2.tar.gz
Algorithm Hash digest
SHA256 8b43c17d348568180fee9140a1d656a66b4d2684f06c56110bef9cd68a1de9e8
MD5 5258d4a6e2f4dbbbea4ce3b452327f45
BLAKE2b-256 88b86a14e3000916c53241dbc1805e66988073b2bb41818cadf35dea067fb553

See more details on using hashes here.

File details

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

File metadata

  • Download URL: calculatepy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3bb7743024f3cffd86c276a0ee3d94e5cd527ef37def40b759424ea915041c4e
MD5 ab4318014d097d5e07a91ce231974b6d
BLAKE2b-256 871925f08c41550628376a2a87cd707c0e6d7fbd181b46277633b3d79f53411e

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