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.5.tar.gz
(29.1 kB
view hashes)
Built Distribution
Close
Hashes for pyauthorizer-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f22e33b9fce7909aa4e45d0f9aa761fa76d9935605e2570205fa14fd8f79f6 |
|
MD5 | d8536fc2a212e0aec356abbec8676e33 |
|
BLAKE2b-256 | 92dc0747cde324d8ae293b44eae0117cbca49e39f6429f5033a84e138286c6ed |