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
PASETO
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.0b0.dev3.tar.gz (57.4 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.0b0.dev3-py3-none-any.whl (87.6 kB view details)

Uploaded Python 3

File details

Details for the file jamlib-2.6.0b0.dev3.tar.gz.

File metadata

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

File hashes

Hashes for jamlib-2.6.0b0.dev3.tar.gz
Algorithm Hash digest
SHA256 d7bb0e77a8b8ca65bf986cdaf9f8a2544d2835643f7d986fd05fb6d227a3bb1d
MD5 e8263afe52039db781f2d8fd340aa2a3
BLAKE2b-256 c841f6be7e702b36bf8e0481fb7f64d62c1ec0db8e2a247b6d600d1ad52cb9ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jamlib-2.6.0b0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 5c9ebb2abfb65087765259fd28df44456bdb04b01bc0b74fe22792f567099bcf
MD5 82ea6e355a9c5a34b52b9f8f2ee0c2a1
BLAKE2b-256 b8c4cea1b7d817ed8dad9261db379edca358ea2448d9fd34f436c3d5628a1c8b

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