Skip to main content

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

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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: htpymodule-0.3.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.3.1.tar.gz
Algorithm Hash digest
SHA256 f1c39dbe3cbcc17eeb8cab93ccea1aa2a548673ca64cf6bf9022c5dc31813c3e
MD5 c83eb6fa0c215182888779cafcb1f343
BLAKE2b-256 c23ac76422c2bd1dcf5ac19234284a382d231e08a7ec0aabca82169a2c974133

See more details on using hashes here.

File details

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

File metadata

  • Download URL: htpymodule-0.3.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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66a3332356e94551b722de46b3f91a83f345674c34853e683a087234b05e9121
MD5 fee0cfc492d05cdbd9ec63a36b7e6639
BLAKE2b-256 66d7b7ba807a777da9fcacb743a6ea8e51ecd7d5ec94203117869ae7af76b8ff

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3

2 files

0.2

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page