# A Sample Simple Python Module
This package provides a very simple example module with basic arithmetic operations.
## Installation
You can install the package locally:
```bash
git clone https://github.com/hongtaoh/htpymodule
pip install .
```
or through PyPI:
```bash
pip install htpymodule
```
## Usage
```py
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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hongtaoh/htpymodule/",
"name": "htpymodule",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Jason Dsouza, ChatGPT, and Hongtao Hao",
"author_email": "hhao9@wisc.edu",
"download_url": "https://files.pythonhosted.org/packages/c2/3a/c76422c2bd1dcf5ac19234284a382d231e08a7ec0aabca82169a2c974133/htpymodule-0.3.1.tar.gz",
"platform": null,
"description": "# A Sample Simple Python Module\n\nThis package provides a very simple example module with basic arithmetic operations.\n\n## Installation\n\nYou can install the package locally:\n\n```bash\ngit clone https://github.com/hongtaoh/htpymodule\npip install .\n```\n\nor through PyPI:\n\n```bash\npip install htpymodule\n```\n\n## Usage\n\n```py\nfrom htpymodule import add, subtract, multiply, divide\n\nprint(add(1, 2)) # Output: 3\nprint(subtract(5, 3)) # Output: 2\nprint(multiply(4, 2)) # Output: 8\nprint(divide(10, 2)) # Output: 5.0\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A very simple example module for basic arithmetic operations.",
"version": "0.3.1",
"project_urls": {
"Homepage": "https://github.com/hongtaoh/htpymodule/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "66d7b7ba807a777da9fcacb743a6ea8e51ecd7d5ec94203117869ae7af76b8ff",
"md5": "fee0cfc492d05cdbd9ec63a36b7e6639",
"sha256": "66a3332356e94551b722de46b3f91a83f345674c34853e683a087234b05e9121"
},
"downloads": -1,
"filename": "htpymodule-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fee0cfc492d05cdbd9ec63a36b7e6639",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1972,
"upload_time": "2024-09-10T00:13:29",
"upload_time_iso_8601": "2024-09-10T00:13:29.940998Z",
"url": "https://files.pythonhosted.org/packages/66/d7/b7ba807a777da9fcacb743a6ea8e51ecd7d5ec94203117869ae7af76b8ff/htpymodule-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c23ac76422c2bd1dcf5ac19234284a382d231e08a7ec0aabca82169a2c974133",
"md5": "c83eb6fa0c215182888779cafcb1f343",
"sha256": "f1c39dbe3cbcc17eeb8cab93ccea1aa2a548673ca64cf6bf9022c5dc31813c3e"
},
"downloads": -1,
"filename": "htpymodule-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "c83eb6fa0c215182888779cafcb1f343",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1603,
"upload_time": "2024-09-10T00:13:31",
"upload_time_iso_8601": "2024-09-10T00:13:31.718233Z",
"url": "https://files.pythonhosted.org/packages/c2/3a/c76422c2bd1dcf5ac19234284a382d231e08a7ec0aabca82169a2c974133/htpymodule-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-10 00:13:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hongtaoh",
"github_project": "htpymodule",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "htpymodule"
}