Skip to main content

A simple authorizer for python project.

Project description

pyauthorizer

Actions Status PyPI version PyPI platforms

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


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

Uploaded Source

Built Distribution

pyauthorizer-0.2.4-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file pyauthorizer-0.2.4.tar.gz.

File metadata

  • Download URL: pyauthorizer-0.2.4.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pyauthorizer-0.2.4.tar.gz
Algorithm Hash digest
SHA256 9997bdecb6e17138fe207277118e14ec0d99699c49a795e93447c0d79eeea21d
MD5 35fe920349fdf7cecd88138c38910a48
BLAKE2b-256 9fb03f61cb53e8a296cca10da4425b85e63bfc43b63b1047aa9d13dc0a92c865

See more details on using hashes here.

Provenance

File details

Details for the file pyauthorizer-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: pyauthorizer-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pyauthorizer-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0f65f70a0199f5b9741598d06bf146994cee8ca0d1205905379007471e5a07ca
MD5 7138cf0913c1c7fb9ce94c8878e83788
BLAKE2b-256 cc8d50b74575af095bddd23dcb6e6801895c105e2a2a35892415836b947a3a56

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page