Skip to main content

performs magic calculation

Project description

Magic Calculator

Magic Calculator is a Python package that contains magic functions for random calculation along with normal functions for simple calculation.

Installation and updating

Use the package manager pip to install Magic Calculator like below. Rerun this command to check for and install updates .

pip install magic_calculator

Usage

Features:

  • functions.add

add 2 numbers

  • functions.sub

subtract 2 numbers

  • functions.mult

multiply 2 numbers

  • functions.div

divide 2 numbers

  • decorators.magic

perform magic operation like random calculation

Demo of some of the features:

import magic_calculator.functions as mcf
import magic_calculator.decorators as mcd

sum_num = mcf.add(2,4)

mag_cal = mcd.magic(5,7)

Contributing

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

License

MIT

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

magic_calculator-0.5.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file magic_calculator-0.5.tar.gz.

File metadata

  • Download URL: magic_calculator-0.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for magic_calculator-0.5.tar.gz
Algorithm Hash digest
SHA256 1c2a892d3a362f8fa24c32ea4532b4a2ee404e15f995189d564e3b54aeb59361
MD5 f959b8efb96c9ddd9a71f128c8de91ae
BLAKE2b-256 b4c4a45632fbe5e633e5ac9fa83abd887241a8cfb892d4eab2f11e4313a44177

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page