Skip to main content

Simple and universal library for authorization.

Project description

Jam

logo

Static Badge PyPI - Version PyPI Downloads tests GitHub License

Documentation: jam.makridenko.ru

Install

pip install jamlib

Quick example

from jam import Jam

jam = Jam()

jwt = jam.jwt_create_token({"user": 1})
decoded_payload = jam.jwt_verify_token(jwt)

Why Jam?

Jam is a library that provides the most popular AUTH* mechanisms right out of the box.

Framework integrations

Jam provides ready-to-use integrations for the most popular frameworks:

Each integration offers built-in middleware or plugin support for JWT and session-based authentication.

Why choose Jam?

Jam supports many authentication methods out of the box with minimal dependencies. Here is a comparison with other libraries:

Features / Library Jam Authx PyJWT AuthLib OTP Auth
JWT
JWT black/white lists
Server side sessions
OTP
OAuth2
Flexible config
Modularity

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

jamlib-2.6.0a1.tar.gz (50.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jamlib-2.6.0a1-py3-none-any.whl (75.7 kB view details)

Uploaded Python 3

File details

Details for the file jamlib-2.6.0a1.tar.gz.

File metadata

  • Download URL: jamlib-2.6.0a1.tar.gz
  • Upload date:
  • Size: 50.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.2

File hashes

Hashes for jamlib-2.6.0a1.tar.gz
Algorithm Hash digest
SHA256 fda281e2edb5e63cfdd4650d3877d27695857d7ec170927027f3e48aa422e5fa
MD5 9c071666960f2cc7423b5a9ce95d335f
BLAKE2b-256 49f97f0744453e21481d0d5b47a935c5bb78428b3c7ce609c194a869df6b1ac1

See more details on using hashes here.

File details

Details for the file jamlib-2.6.0a1-py3-none-any.whl.

File metadata

  • Download URL: jamlib-2.6.0a1-py3-none-any.whl
  • Upload date:
  • Size: 75.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.2

File hashes

Hashes for jamlib-2.6.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 854494286f7ac22104b744191bb1f0f96a7c35761e48e40df0296c89679f6d79
MD5 dc50d1cf9014d7c61bd6832464db8bee
BLAKE2b-256 4bf50fc29cb752809073fbd33015f6f1ed1e99c0857360a8a7c5a27e57104e8e

See more details on using hashes here.

Supported by

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