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

Uploaded Source

Built Distribution

htpymodule-0.3.1-py3-none-any.whl (2.0 kB view hashes)

Uploaded Python 3

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