Stride Licensing module for internal tools
Project description
Stride License
Install
pip install stride-license
Encode
- Generate License key by encoding data
from stride-license import generate_license, generate_key
secret_key = generate_key()
data = {} # data to be encoded
# license is generated
license = generate_license(data, secret_key)
Decode
- Decode data from license key and secret key
from stride-license import decode_license
# decode data
data = decode_license(license_key, secret_key)
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
stride-license-0.1.2.tar.gz
(1.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stride-license-0.1.2.tar.gz.
File metadata
- Download URL: stride-license-0.1.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd092e33407f9c23841c516e1788aab302288841777aea3fbdc235226b3fe1af
|
|
| MD5 |
7cdfa531c2701f1c9255575a025d3d6d
|
|
| BLAKE2b-256 |
8dd4abe14d33237c4d1e20534ecaa0d9869e7eb4879482361d9f302456663ea8
|
File details
Details for the file stride_license-0.1.2-py3-none-any.whl.
File metadata
- Download URL: stride_license-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3864e1d7f470acc9dbd350642d1c58a1a627df72deee46c304177e30604d3fa7
|
|
| MD5 |
c5d22633658c8bade7161375d3dc6800
|
|
| BLAKE2b-256 |
e4b44952242c02d070da7b17e5e08bf022c0888c76436953ead76ef0a5727e3b
|