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.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file htpymodule-0.3.tar.gz
.
File metadata
- Download URL: htpymodule-0.3.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 | 2407b969b0ff9c6f6d8dd1493a49518295d1fc4f8e8fae072fbf2bf4820ba413 |
|
MD5 | b960ac1194a7e7d84c35b5b5fdc80b0f |
|
BLAKE2b-256 | 5c2680a8641666a9d1bb3925cb6cfa5fa79c0996b55c4216426adf30d3544e58 |
File details
Details for the file htpymodule-0.3-py3-none-any.whl
.
File metadata
- Download URL: htpymodule-0.3-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 | baa933c48b7e2032e0b15020c41ba3faa5b26a180e3914c159faa090aac1f5cd |
|
MD5 | 4dfca153fcaca6cdd704ba4f3b705064 |
|
BLAKE2b-256 | e7ec2b7b0159d15e8efa0c73f0d05634c9c1abb401801f2dc2e3f2139cf3c57e |