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
from jam.utils import make_jwt_config

config = make_jwt_config(
    alg="HS256",
    secret_key="some-key",
    expire=36000,
)

jam = Jam(auth_type="jwt", config=config)
token = jam.gen_jwt_token({"user_id": 1})

Roadmap

Roadmap

© Adrian Makridenko 2025

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jamlib-1.1.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

jamlib-1.1.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jamlib-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3af78b74d280d7388c66a0f3d2fdc88e7769d35c692c7aaf1c13f7cc63ea826d
MD5 0d7e24808be3c845ae5bb76148bc5c07
BLAKE2b-256 e0b23fc0fb747ba202f63923350958a0424294a6d1e67c20225f72b0837c58ef

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jamlib-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ad5336f94a34f77265ff6580f8ba70244a875ad928a34128590e551b0849eb8
MD5 20c197b0720ce438ca6ae9a18f4affd0
BLAKE2b-256 ae2897ec8fe619682b458084bf88c46296038385147c560d7f4e76e27a368c56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page