Skip to main content

Default template for PDM package

Project description

hc_calculation

Description

This repository holds the code for the three python packages hc_add, hc_mul, and hc_div, which are dependencies for the package simpleCalc_cmd.

Installation

$ pip install hc_add
$ pip install hc_mul
$ pip install hc_div

Alternatively, these packages are automatically installed if you install simpleCalc_cmd, which can be done by

$ pip install simpleCalc_cmd

For more information, refer simpleCalc_cmd github

What does it do?

All of these modules have simple functions which take 2 integer in-line variables and calculates the corresponding operation: addition for hc_add, multiplication for hc_mul, and integer division for hc_div.

In particular, for hc_div the division result is formatted into the form of QUOTIENT remainder REMAINDER.

For additional usages, look at simpleCalc_cmd github or read below.

Package Import example

from hc_add.hc_add import add
add()
from hc_mul.hc_mul import mul
mul()
from hc_div.hc_div import div
div()

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

hc_add-0.1.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

hc_add-0.1.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file hc_add-0.1.2.tar.gz.

File metadata

  • Download URL: hc_add-0.1.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for hc_add-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d527f47951421f281f94f878ccb4e55f0cf13a4d7b3b52255c748283df554935
MD5 522088b8f920847da022740c4fea5097
BLAKE2b-256 40469ef2b2ba6c40abff080ad25f0aeb312ecad6cf0dda29c7590a7c6129d41b

See more details on using hashes here.

File details

Details for the file hc_add-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: hc_add-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for hc_add-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b40a822ad44b829caef7b0be88cfbc17b83d121438ff3d626720eb40208b8b20
MD5 eaa939f0f9c42aee22196c754300ed3e
BLAKE2b-256 c741ac010eb2627ec087bd2b6797338212702fd6d4a2af3776c3346313ece188

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