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.4.tar.gz (3.1 kB view hashes)

Uploaded Source

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