Skip to main content

A very simple example module for basic arithmetic operations.

Project description

A Sample Simple Python Module

This package provides a very simple example module with basic arithmetic operations.

Installation

You can install the package locally:

git clone https://github.com/hongtaoh/htpymodule
pip install .

or through PyPI:

pip install htpymodule

Usage

from ht_py_module import add, subtract, multiply, divide

print(add(1, 2))         # Output: 3
print(subtract(5, 3))    # Output: 2
print(multiply(4, 2))    # Output: 8
print(divide(10, 2))     # Output: 5.0

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

htpymodule-0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

htpymodule-0.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file htpymodule-0.1.tar.gz.

File metadata

  • Download URL: htpymodule-0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.19

File hashes

Hashes for htpymodule-0.1.tar.gz
Algorithm Hash digest
SHA256 7f8b9457c0e75851f6095b671efc6457e7661e33681dbdad4e6a099f1e7e66af
MD5 1fff2b3cee92ff35eb5afe97d3c29ac0
BLAKE2b-256 38bb467dc6f60bc3d3e9cd5d600adf630c457c463ee4a7a1d6e17074c0f55cff

See more details on using hashes here.

File details

Details for the file htpymodule-0.1-py3-none-any.whl.

File metadata

  • Download URL: htpymodule-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.19

File hashes

Hashes for htpymodule-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3817d28ea9e9488f2385d84a097b229d94aa991cbc298189c85796c3b184c765
MD5 01603f44f50912e2636683d4e9985430
BLAKE2b-256 e94983c45dbd4367b10629c9b309654f2e4933472671089ef3312127224ff239

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