This is a possibly shitty, easy to crack, dumbass, software licensing library.
Publishing it here and also on pypi was a showoff ngl. =DDD
I'm still working on it. For me, it gets shit done. 🤷♂️
I know if it's licensing tool it shouldn't be open source and all.
But it's for small purposes for beginners like me.
You can install it using pip:
pip install licensiya
Or you can build it from source:
That's on you. I don't know how you can do that but you can.
I've seen other people put this on their repository, I just always wanted to say that.
Why would you want to do that anyway when you can simply install by pip?
You wanna show you are superior?
Yeaah, that sound about right
First you, the app king, should make a post requests to my API (lol, I have API now) and
add product license for a user there.
Then in the app, it automatically gets something unique (for now it's uuid.getnode()
to be more exact)
and send post request to my API and submit it there in a database if the license is previously added by you.
(and yes Jafar. The API there is made with python and yes, I'm sure python is good enough and can handle concurrent)
Next it uses built-in validate function to check if license is valid.
Unfortunately for now if you want to use this stupid ass tool (which btw you shouldn't)
you have to contact me and get an api_key for submitting product license as an app developer.
Maybe I'll make a website to automate that shit and give everyone access to the API.
from Licenser import LicenseApp
li = LicenseApp('api_key', 'api_secret')
li.make_config_file('Data.ini')
li.submit_license() # If no license provided in config file, it prompts and input to get it from user
if li.validate_license():
print('Valid License')
else:
print('Invalid License')