Skip to main content

Simple and universal library for authorization.

Project description

Jam

logo

Python Version 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})
session_id = jam.session_create(session_key="username", data={"user": 1})

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-3.0.0b8.tar.gz (64.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-3.0.0b8-py3-none-any.whl (96.1 kB view details)

Uploaded Python 3

File details

Details for the file jamlib-3.0.0b8.tar.gz.

File metadata

  • Download URL: jamlib-3.0.0b8.tar.gz
  • Upload date:
  • Size: 64.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jamlib-3.0.0b8.tar.gz
Algorithm Hash digest
SHA256 a37ca217f70214e4a077e9c6810a4df7198a89f4847d5054a4e2db90422d9fcc
MD5 3ca9b2e11f91bfe8a1f8b98702092cc3
BLAKE2b-256 c3fac53f4c90770c00375c7e562e6a6cfacbe8e889c0a50d622d9dc1433f2dff

See more details on using hashes here.

File details

Details for the file jamlib-3.0.0b8-py3-none-any.whl.

File metadata

  • Download URL: jamlib-3.0.0b8-py3-none-any.whl
  • Upload date:
  • Size: 96.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jamlib-3.0.0b8-py3-none-any.whl
Algorithm Hash digest
SHA256 6b68b704c6b277f23f20f93d769b858523721adbbf347dd2e7c4f5f33042f966
MD5 0c9c98db0323a2b2f81676137bd4f466
BLAKE2b-256 cfd74c5bab72dc382ba9361243d7de37b7b9d64399ea3a0190660cc83cb2fd55

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