A simple authorizer for python project.
Project description
pyauthorizer
A simple authorizer for python project.
Sometimes,even for a scripting language like python to generate and validate a token is needed for some specific use cases. It provides a simple way to generate and validate license. And encrytors and decrytors can be easily customized by the built-in plugins. Certainly, simple cmdline tool is also available.
Install
Package-built has uploaded to pypi and just install with the command:
pip install pyauthorizer
Usage
To generate and validate a license, use the command:
pyauthorizer create -f simple -C password=1234567890 -O /tmp/license.json
pyauthorizer validate -f simple -C password=1234567890 -I /tmp/license.json
More command options can be listed by using pyauthorizer --help
.
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
pyauthorizer-0.2.6.tar.gz
(29.1 kB
view hashes)
Built Distribution
Close
Hashes for pyauthorizer-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4434c6a096dc522b7eafd48944833d9b72138b9df6090332b766bf51bf17cb3 |
|
MD5 | 7307cc42130fdd638eb3c52003aa505b |
|
BLAKE2b-256 | aa4fe62fa9a5ca1af9b6268a576a10d52d35f5338c27e28550f82f239971056b |