https://github.com/msclock/pyauthorizer
A simple authorizer for python project.
https://github.com/msclock/pyauthorizer
authentication authorizer license license-generator
Last synced: 4 months ago
JSON representation
A simple authorizer for python project.
- Host: GitHub
- URL: https://github.com/msclock/pyauthorizer
- Owner: msclock
- License: apache-2.0
- Created: 2023-09-12T08:28:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T00:48:12.000Z (over 1 year ago)
- Last Synced: 2025-09-19T21:36:31.003Z (8 months ago)
- Topics: authentication, authorizer, license, license-generator
- Language: Python
- Homepage: https://msclock.github.io/pyauthorizer/
- Size: 25.7 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# pyauthorizer
[![Actions Status][actions-badge]][actions-link]
[![PyPI version][pypi-version]][pypi-link]
[![PyPI platforms][pypi-platforms]][pypi-link]
[actions-badge]: https://github.com/msclock/pyauthorizer/actions/workflows/ci.yml/badge.svg
[actions-link]: https://github.com/msclock/pyauthorizer/actions/workflows/ci.yml
[pypi-link]: https://pypi.org/project/pyauthorizer/
[pypi-platforms]: https://img.shields.io/pypi/pyversions/pyauthorizer
[pypi-version]: https://img.shields.io/pypi/v/pyauthorizer?color
A simple authorizer for python project.
In some cases, even for a scripting language like Python, it may be necessary to
generate and validate tokens for specific use cases. The `pyauthorizer` provides
a simple way to generate and validate licenses. Additionally, the built-in
plugins make it easy to customize encryptors and decryptors. There is also a
simple command-line tool available.
## Install
Package-built has uploaded to pypi and just install with the command:
```bash
pip install pyauthorizer
```
## Usage
To generate and validate a license, use the command:
```bash
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`.