# pyauthorizer
<!-- SPHINX-START -->
[![Actions Status][actions-badge]][actions-link]
[![PyPI version][pypi-version]][pypi-link]
[![PyPI platforms][pypi-platforms]][pypi-link]
<!-- prettier-ignore-start -->
[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
<!-- prettier-ignore-end -->
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`.
<!-- SPHINX-END -->
Raw data
{
"_id": null,
"home_page": null,
"name": "pyauthorizer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "license, license-generator",
"author": null,
"author_email": "msclock <msclock@126.com>",
"download_url": "https://files.pythonhosted.org/packages/71/39/64317e96fa1538cfcf567f715f51258b19669417c34c7cc3edfb860e7816/pyauthorizer-0.2.13.tar.gz",
"platform": null,
"description": "# pyauthorizer\n\n<!-- SPHINX-START -->\n\n[![Actions Status][actions-badge]][actions-link]\n[![PyPI version][pypi-version]][pypi-link]\n[![PyPI platforms][pypi-platforms]][pypi-link]\n\n<!-- prettier-ignore-start -->\n[actions-badge]: https://github.com/msclock/pyauthorizer/actions/workflows/ci.yml/badge.svg\n[actions-link]: https://github.com/msclock/pyauthorizer/actions/workflows/ci.yml\n[pypi-link]: https://pypi.org/project/pyauthorizer/\n[pypi-platforms]: https://img.shields.io/pypi/pyversions/pyauthorizer\n[pypi-version]: https://img.shields.io/pypi/v/pyauthorizer?color\n<!-- prettier-ignore-end -->\n\nA simple authorizer for python project.\n\nIn some cases, even for a scripting language like Python, it may be necessary to\ngenerate and validate tokens for specific use cases. The `pyauthorizer` provides\na simple way to generate and validate licenses. Additionally, the built-in\nplugins make it easy to customize encryptors and decryptors. There is also a\nsimple command-line tool available.\n\n## Install\n\nPackage-built has uploaded to pypi and just install with the command:\n\n```bash\npip install pyauthorizer\n```\n\n## Usage\n\nTo generate and validate a license, use the command:\n\n```bash\npyauthorizer create -f simple -C password=1234567890 -O /tmp/license.json\npyauthorizer validate -f simple -C password=1234567890 -I /tmp/license.json\n```\n\nMore command options can be listed by using `pyauthorizer --help`.\n\n<!-- SPHINX-END -->\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "A simple authorizer for python project.",
"version": "0.2.13",
"project_urls": {
"Changelog": "https://github.com/msclock/pyauthorizer/releases",
"Documentation": "https://github.com/msclock/pyauthorizer.git",
"Homepage": "https://github.com/msclock/pyauthorizer",
"Source": "https://github.com/msclock/pyauthorizer.git",
"Tracker": "https://github.com/msclock/pyauthorizer/issues"
},
"split_keywords": [
"license",
" license-generator"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8320f6fa0475abd0434c7701c35f8720b1f0fc83bb6c7bba5aecd6fa901fc1ae",
"md5": "245a467820cb201549da37941eb54bea",
"sha256": "5c42532925db73f871e961bce5a3407451a23c7824343b9f1a05920e8b3ed2fe"
},
"downloads": -1,
"filename": "pyauthorizer-0.2.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "245a467820cb201549da37941eb54bea",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 17218,
"upload_time": "2024-04-22T10:35:10",
"upload_time_iso_8601": "2024-04-22T10:35:10.544994Z",
"url": "https://files.pythonhosted.org/packages/83/20/f6fa0475abd0434c7701c35f8720b1f0fc83bb6c7bba5aecd6fa901fc1ae/pyauthorizer-0.2.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "713964317e96fa1538cfcf567f715f51258b19669417c34c7cc3edfb860e7816",
"md5": "27b9ddac8527478fff3b294fde48f58d",
"sha256": "dd56611fd62661b8d4d054fc2c1ed5d65b538c18acc83a2e99eed8c3f2400355"
},
"downloads": -1,
"filename": "pyauthorizer-0.2.13.tar.gz",
"has_sig": false,
"md5_digest": "27b9ddac8527478fff3b294fde48f58d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 28181,
"upload_time": "2024-04-22T10:35:12",
"upload_time_iso_8601": "2024-04-22T10:35:12.303059Z",
"url": "https://files.pythonhosted.org/packages/71/39/64317e96fa1538cfcf567f715f51258b19669417c34c7cc3edfb860e7816/pyauthorizer-0.2.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-22 10:35:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "msclock",
"github_project": "pyauthorizer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyauthorizer"
}