/License-Generator

A simple python library/package that can enable you to create software license keys. This can be an effective way of ensuring that your clients pay for the software before they can use it.

Primary LanguagePythonOtherNOASSERTION

License-Generator

Clone the repository from github

$ git clone <repository link>

Change directory to the just cloned repository

$ cd License-Generator

Open a python shell (python 2.7)

$ python2.7

Import Class Key from key_generator.py

$ from key_generator import Key

Create an instance of the Key

$ key_instance = Key()

Call the main function from the key instance

$ key_instance.main()

Follow the steps that will be provided by the program until a message similar the following:

“Successfully generated and saved a monthly licence.Please commit the changes and push the changes online”
Below the message you will get the license key details that you will need to send to the user similar to the following:
Send below License Details to Client
{'period_name': 'monthly', 'unique_license_key': '440Q-C4XK-RMB1-UAO8-3JLQ', 'time': 2592000}