Skip to main content

A very basic calculator

Project description

Basic Calculator

This is my first python package. This is a very simple calculator that takes 2 numbers and can either add, subtract, multiply or divide them.

Installation

Run the following to install :

pip install SDasBasicCalculator 

Usage

from SDasBasicCalculator import add_num
from SDasBasicCalculator import sub_num
from SDasBasicCalculator import mul_num
from SDasBasicCalculator import div_num

Add 2 numbers:

add_num(num1, num2)

Subtract2 numbers:

sub_num(num1, num2)

Multiply 2 numbers:

mul_num(num1, num2)

Divide 2 numbers:

add_num(num1, num2)

Developing Basic Calculator

To install Basic Calculator, along with the tools you need to develop and run tests, run the following in your virtualenv:

$pip install -e .[dev]

CHANGE LOG

1.0.1 (20/01/2021)

-FIRST RELEASE

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

SDasBasicCalculator-1.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

SDasBasicCalculator-1.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file SDasBasicCalculator-1.0.1.tar.gz.

File metadata

  • Download URL: SDasBasicCalculator-1.0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for SDasBasicCalculator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c652e4a39168d6f6606cae9e25c75b29abebc55ca868306b2cff45d28da19d42
MD5 dc25dfa7017ebd7acdf8d84339319bdf
BLAKE2b-256 6a992c8e3835232a3aa57141bd2ef23ea16f0062229e617583fd81649a1faf08

See more details on using hashes here.

File details

Details for the file SDasBasicCalculator-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: SDasBasicCalculator-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for SDasBasicCalculator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6b7aebf059ce924f994d4e27658c445a875ce468ac6c65ecc5385661c15fe0
MD5 405e1dcd4a388836ef3989b4d4d63bcb
BLAKE2b-256 6c868272d8cd105d6b0022e692300a9f3c63f2da54e0a7e133bf5eefc55edfca

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