swt

Simple Web Token library for Python


Keywords
swt, token
License
MIT
Install
pip install swt==0.2.0

Documentation

Python SWT Library

Python version PyPI version format status license

Python library for handling Simple Web Tokens.

Documentation

You can find the docs here.

Caveats

  • Please use pycryptodome and not pycrypto as the later is unmaintained and broken on python 3.8+
  • Currently only supports RSA-SHA256

TODO

  • Add support HMAC SHA256
  • Add Raises: KeyNotFoundError to sign()