Skip to main content

Simple and univirsal library for authorization.

Project description

Jam

logo

Static Badge PyPI - Version tests GitHub License

Documentation: jam.makridenko.ru

Install

pip install jamlib

Getting start

# -*- coding: utf-8 -*-

from jam import Jam

config = {
    "auth_type": "jwt",
    "secret_key": "secret",
    "expire": 3600
}

jam = Jam(config=config)
token = jam.gen_jwt_token({"user_id": 1})  # eyJhbGciOiAiSFMyN...

Why Jam?

Library JWT White/Black lists for JWT Serverside sessions OTP OAuth2 Flexible config
Jam
Authx
PyJWT
AuthLib
OTP Auth

Roadmap

Roadmap

Project details


Release history Release notifications | RSS feed

This version

2.1.0

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.1.0.tar.gz (24.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.1.0-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file jamlib-2.1.0.tar.gz.

File metadata

  • Download URL: jamlib-2.1.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.15

File hashes

Hashes for jamlib-2.1.0.tar.gz
Algorithm Hash digest
SHA256 de38733199237768a4162b2a724b90a9ed0b708614ef3111ec25b942ab8bba98
MD5 9524959ad3ac619bfab9dcb7aa11e3f5
BLAKE2b-256 b642901ca7f3cfd26fc9bfb62a31ca4f15caf1d0ba740d3fd7b8698ab674f797

See more details on using hashes here.

File details

Details for the file jamlib-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: jamlib-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.15

File hashes

Hashes for jamlib-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86eb65bf48787c4fcc8e997b815498d3e74e8b4f6651c821d9dde9c09890dd23
MD5 e426677104c633c38302a40224b8b7b1
BLAKE2b-256 7c5eafe65e81f0450af5d91dd2ff08c695e6cd2b4fc2452af6e73cbed43ff119

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