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.4.tar.gz
(28.7 kB
view hashes)
Built Distribution
Close
Hashes for pyauthorizer-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f65f70a0199f5b9741598d06bf146994cee8ca0d1205905379007471e5a07ca |
|
MD5 | 7138cf0913c1c7fb9ce94c8878e83788 |
|
BLAKE2b-256 | cc8d50b74575af095bddd23dcb6e6801895c105e2a2a35892415836b947a3a56 |