customs-0.5.0
توضیحات
Python library for guarding APIs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | customs-0.5.0 |
| نام | customs |
| نسخه کتابخانه | 0.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | NewInnovator |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/gijswobben/customs |
| آدرس اینترنتی | https://pypi.org/project/customs/ |
| مجوز | MIT |

[](https://codecov.io/gh/gijswobben/customs)
[](https://pypi.org/project/customs/)
[](https://pypi.org/project/customs/)
[](https://customs.readthedocs.io/en/latest/index.html)
# Customs - Authentication made easy
Passport.js inspired library for setting up server authentication in Python. Customs creates a protective layer around Flask APIs with minimal configuration and allows users to configure and use multiple authentication strategies with ease.
## Concept
Customs consists of a single *customs* object that can use *strategies* to *protect* API endpoints, or create a *safe_zone* around a set of endpoints.
## Batteries included
Customs comes out of the box with the following strategies:
- Local
- Basic
- JWT
- Google
- Github
- Facebook
The list is growing, but if you still cannot find what you're looking for it is very easy to create a specific strategy for your purpose.
نیازمندی
| مقدار | نام |
|---|---|
| - | flask |
| - | python-jose[cryptography] |
| - | requests |
| - | requests-oauthlib |
| - | pytest |
| - | pytest-cov |
| - | mypy |
| - | flake8 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl customs-0.5.0:
pip install customs-0.5.0.whl
نصب پکیج tar.gz customs-0.5.0:
pip install customs-0.5.0.tar.gz