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 details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c39dbe3cbcc17eeb8cab93ccea1aa2a548673ca64cf6bf9022c5dc31813c3e |
|
MD5 | c83eb6fa0c215182888779cafcb1f343 |
|
BLAKE2b-256 | c23ac76422c2bd1dcf5ac19234284a382d231e08a7ec0aabca82169a2c974133 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a3332356e94551b722de46b3f91a83f345674c34853e683a087234b05e9121 |
|
MD5 | fee0cfc492d05cdbd9ec63a36b7e6639 |
|
BLAKE2b-256 | 66d7b7ba807a777da9fcacb743a6ea8e51ecd7d5ec94203117869ae7af76b8ff |