Skip to main content

My Calculator

This package computes the various computations of Maths like :

  • Greatest Common Divisor
  • Lowest Common Multiple
  • Reducing Fraction

Installations

Through pypi package

$ pip install my-calculator

Usage

After the package is installed, several operation can be performed like:

Greatest Common Divisor

from my_calculator import Calculator
Calculator.gcd(8, 16, 24)
# Output : 8
Calculator.gcd(10, 12)
# Output : 2

Lowest Common Multiple

from my_calculator import Calculator
Calculator.lcm(10, 20, 30)
# Output : 60
Calculator.lcm(10,5)
# Output : 10

Fraction reducer

from my_calculator import Calculator
Calculator.reduce_fraction(10,12)
# Output : (5,6)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

TO DO:

  1. Other Mathematical functions addition

Metadata

Release files for cds4-computation 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cds4-computation 0.1
File Size Uploaded Provenance Actions
cds4_computation-0.1.tar.gz 3.1 kB Without provenance Details for cds4_computation-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cds4-computation 0.1
File Interpreter ABI Platform Actions
cds4_computation-0.1-py3-none-any.whl Python 3 none any Details for cds4_computation-0.1-py3-none-any.whl

Total release size: 6.6 kB

Release files / cds4_computation-0.1.tar.gz

Download URL cds4_computation-0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b1d591d87c104c3e537ac209ead60df51de9392795a09cd8813b666efa12361c
BLAKE2b-256 checksum
How to use checksums
2807307c589dc1ae51bd3e5838c52ff77c117558ca7dd2458d0ee488ddd499af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release files / cds4_computation-0.1-py3-none-any.whl

Download URL cds4_computation-0.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2dd1583eee82b9f2a21d2db51daa7abb973d861efbe5c8bc0da13a0a7ac776f
BLAKE2b-256 checksum
How to use checksums
412e28367370aeca2c45f6d71a774f6f3aaf966a74d0cfbc635734e9f27dab60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Security for cds4-computation 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page