/python-swt

Python library for handling Simple Web Tokens.

Primary LanguagePythonMIT LicenseMIT

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()