Skip to main content

Python library for guarding APIs.

Project description

Tests TestCoverage Release PythonVersion ReadTheDocs

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

customs-0.5.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

customs-0.5.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file customs-0.5.0.tar.gz.

File metadata

  • Download URL: customs-0.5.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for customs-0.5.0.tar.gz
Algorithm Hash digest
SHA256 edcc8935020e0c177ff7dfe7aa83b874f860c8142505ea45caabfcd8dc3aebd6
MD5 dfca0938228d784f0ae11608acd360c4
BLAKE2b-256 575cf4601b0f48954f357150030d37bb7e21ded8d16535460e23243be8fd5a5e

See more details on using hashes here.

File details

Details for the file customs-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: customs-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for customs-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e3a0c04fd404069c9e55e042aea21820418397852ee7f1466ef5d491df5398f
MD5 69e56338ec7ac0fcb93cbcbfd4feae50
BLAKE2b-256 ce6a8e4c3982b85ce8753eda2ab2ec055a2605f3e079d66b76734cd1275c7e89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page