demo-pip-math-0.2.0
توضیحات
Demo your first Pip package.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | demo-pip-math-0.2.0 |
| نام | demo-pip-math |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dennis O'Keeffe |
| ایمیل نویسنده | hello@dennisokeeffe.com |
| آدرس صفحه اصلی | https://github.com/okeeffed/your-first-pip-package-in-python |
| آدرس اینترنتی | https://pypi.org/project/demo-pip-math/ |
| مجوز | - |
# Your first Pip package in Python
This repository is the companion post to my blog ["Your first Pip package in Python"](https://blog.dennisokeeffe.com/semantic-versioning-in-python-with-git-hooks)
## Usage
```py
from demo_pip_math.math import add, subtract, multiply
def test_add():
assert add(3, 2) == 5
def test_subtract():
assert subtract(3, 2) == 1
def test_multiply():
assert multiply(3, 2) == 6
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl demo-pip-math-0.2.0:
pip install demo-pip-math-0.2.0.whl
نصب پکیج tar.gz demo-pip-math-0.2.0:
pip install demo-pip-math-0.2.0.tar.gz