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.0a2.tar.gz (51.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.0a2-py3-none-any.whl (76.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jamlib-2.6.0a2.tar.gz
Algorithm Hash digest
SHA256 294212ff1fba06a69b187c0ddc28baeb81b4b8877f6e73d4d87b69e93ce05fa4
MD5 27014e821c3d6a6a3c5969125f66393f
BLAKE2b-256 e0c06365d257939607667200399863645af7c7df91c42e56f24bdfc88a4f4add

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jamlib-2.6.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 aea3389c4d7d47e8f4e5a355da4075ac3f34a581dc9194dc284e4a8736b2fee3
MD5 856938ab883c4c8ea3692df4822885cc
BLAKE2b-256 dd064143fdb0b0348843253a21fddf1906bcad464200b13c90b56a28a5423454

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