Skip to main content

A simple Python calculator library

Project description

#pycalculation

A robust Python calculator library with strong input validation and edge-case handling.

Features

  • Supports multiple inputs: add(1,2,3)
  • Supports iterables: list, tuple, range, generator
  • Supports numeric strings: "1", "2.5"
  • Supports Unicode digits: "٣", "2"
  • Rejects invalid inputs (bool, dict, set, non-numeric strings)
  • Protects against NaN, Infinity, and divide-by-zero
  • Well tested with pytest

Installation

pip install calculationengine

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

calculationengine-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

calculationengine-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file calculationengine-0.1.1.tar.gz.

File metadata

  • Download URL: calculationengine-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for calculationengine-0.1.1.tar.gz
Algorithm Hash digest
SHA256 98c70d4754534cdf90a7ccdf417ad223790ac120baf276c6fc752cb8e377e6c7
MD5 bd04808de8ccb0a8fcf2419a50e4f8a5
BLAKE2b-256 b8dc37ad7482b2321a21cb935a47f20aa983e9d01f511bff712edd31c44999be

See more details on using hashes here.

Provenance

The following attestation bundles were made for calculationengine-0.1.1.tar.gz:

Publisher: python-publish.yml on GowriSankar-GSG/calculationengine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file calculationengine-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for calculationengine-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bc154701f142a4f8e4edbeabde69333e5800558dca876baa21b881562bada1b
MD5 5d3ca6b94cf9609bf38fc91e1b6caa39
BLAKE2b-256 5cfe4b8e2eae4da7da177774e4312dfec2140738fdf108b89610adf2e8be2760

See more details on using hashes here.

Provenance

The following attestation bundles were made for calculationengine-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on GowriSankar-GSG/calculationengine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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