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 hashes)
Built Distribution
pyalic-1.0.1-py3-none-any.whl
(18.1 kB
view hashes)