semvec/pypi-packages huggingface dataset:
customs 0.5.0
Python library for guarding APIs.
License: MIT
Requires Python: >=3.7
Keywords: Security Flask Authentication

![Tests](https://img.shields.io/github/workflow/status/gijswobben/customs/Python%20test%20package/master?label=Test%20pipeline&logo=github&logoColor=%23959da5&style=for-the-badge)
[![TestCoverage](https://img.shields.io/codecov/c/github/gijswobben/customs/master?label=Test%20Coverage&logo=Codecov&logoColor=%23959da5&style=for-the-badge)](https://codecov.io/gh/gijswobben/customs)
[![Release](https://img.shields.io/pypi/v/customs?color=%233775A9&label=PyPi%20package%20version&logo=PyPi&logoColor=%23959da5&style=for-the-badge)](https://pypi.org/project/customs/)
[![PythonVersion](https://img.shields.io/pypi/pyversions/customs?color=%233775A9&label=Python%20versions&logo=Python&logoColor=%23959da5&style=for-the-badge)](https://pypi.org/project/customs/)
[![ReadTheDocs](https://img.shields.io/badge/READTHEDOCS-Available-555555?style=for-the-badge&color=brightgreen&logo=Read%20the%20docs&logoColor=%23959da5)](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.