Licensing system module which allows you to manage access to your products with ease
Project description
Pyalic: Advanced Licensing python module
Install package using pip
from this GitHub repository
pip install pyalic
Python example
from pyalic import LicenseManager
import time
lm = LicenseManager("https://LICENSE_SERVER_URL.ORG", ssl_public_key='./trusted_cert.pem')
def my_program():
print("Access granted!")
time.sleep(30)
key = input("Enter your license key: ")
check_response = lm.check_key(key)
if check_response.success:
my_program()
lm.end_session()
else:
print("Access denied:", check_response.error)
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
pyalic-1.0.1.tar.gz
(17.1 kB
view details)
Built Distribution
pyalic-1.0.1-py3-none-any.whl
(18.1 kB
view details)
File details
Details for the file pyalic-1.0.1.tar.gz
.
File metadata
- Download URL: pyalic-1.0.1.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89c1f33402ee3173eed42eb52a50a59fb848aa6a4ba5967f0262deeb699f258c |
|
MD5 | 02c19347ab9ca6cd79c5bcbe83ca7d97 |
|
BLAKE2b-256 | 40bc4888f2cb537bd64c2359b2e83b9eeccc360d5c3bb2f11e9fd4d65adf7841 |
File details
Details for the file pyalic-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyalic-1.0.1-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2a685bf2ed040ef5b7d931163117abee9db3be293f90eb0a7ef744d32bdaae7 |
|
MD5 | 36e3c8c4fcddb86d2cbaccceca17c638 |
|
BLAKE2b-256 | 167c5cd71b9022bbf5d89d4e1f2d870d5ba665be45455faf647adf0210d9fbc5 |