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.2.tar.gz
(28.1 kB
view hashes)
Built Distribution
Close
Hashes for pyauthorizer-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603ef7a2f556e75989b478d891db408f8dd4f713f48b2a4f65bb48f9843d5aec |
|
MD5 | 96afbf56c79e44dc6ba2696a5cc89259 |
|
BLAKE2b-256 | 4488fcbc1982849ebb67c7bcebaf42e84f9c6baf04fd629a2d51d5188d85042c |