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.0a5.tar.gz (55.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.0a5-py3-none-any.whl (85.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jamlib-2.6.0a5.tar.gz
Algorithm Hash digest
SHA256 75b0569938c1788e9cd124017d04c470ad8ae548a06a24a0ce901bfaa70b7f5a
MD5 a952c77fe6343ab69aadf8aa41a28fc4
BLAKE2b-256 9194e5f38d501d0c095c1db0cc7e6cf782eab944451f8d21c607440572d31300

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jamlib-2.6.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 cb5caff5458dca814dff49338354736682b9f95f69b7f226f12f3506f73f0a1e
MD5 c5331750024a299059688cf1561417f4
BLAKE2b-256 074d46e43beebb9a583c289d46f4dd3c5b07751b7588c9ba0c0d7b0677a0ab66

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