example-package-lth-0.1.0
توضیحات
An example Python package
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | example-package-lth-0.1.0 |
| نام | example-package-lth |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | letuanhai |
| ایمیل نویسنده | letuanhai@live.com |
| آدرس صفحه اصلی | https://github.com/letuanhai/python-example-package-lth |
| آدرس اینترنتی | https://pypi.org/project/example-package-lth/ |
| مجوز | MIT |
# Python Example Package
[](https://github.com/letuanhai/python-example-package-lth/actions?workflow=Tests)
[](https://codecov.io/gh/letuanhai/python-example-package-lth)
[](https://pypi.org/project/letuanhai/python-example-package-lth/)
Clone of cjolowicz/hypermodern-python
Making an example package using *modern* Python toolchain.
To quick start with a [Cookiecutter](https://github.com/cookiecutter/cookiecutter) template, refer to [https://github.com/cjolowicz/cookiecutter-hypermodern-python](https://github.com/cjolowicz/cookiecutter-hypermodern-python).
Topics covered:
- Create a package in *src* layout
- Manage dependency with *Poetry*
- Command-line interfaces with *click*
- Consume a REST API with *requests*
- Unit testing with *pytest*
- Code coverage with *Coverage.py*
- Test automation with *Nox*
- Mocking with *pytest-mock*
- End-to-end testing
- Linting with *flake8*
- Code formatting with *black*
- Checking import with *flake8-import-order*
- Finding more bugs with *flake8-bugbear*
- Identifying security issues with *bandit*
- Finding security vulnerabilities in dependencies with *Safety*
- Managing dependencies in *Nox* sessions with *Poetry*
- Managing Git hooks with *pre-commit*
نیازمندی
| مقدار | نام |
|---|---|
| >=8.0.4,<9.0.0 | click |
| >=2.27.1,<3.0.0 | requests |
| >=2020.11.18,<2021.0.0 | desert |
| >=3.15.0,<4.0.0 | marshmallow |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl example-package-lth-0.1.0:
pip install example-package-lth-0.1.0.whl
نصب پکیج tar.gz example-package-lth-0.1.0:
pip install example-package-lth-0.1.0.tar.gz