DEV Community


Posted on


License managers for python

I know that a python exe file easily can get decompiled and the license code easily can get bypassed too. However my target group is not smart enough nor have the time for that stuff.
I would like to make a simple license manager, one that requires a key for each costumer. (I would prefer it is a free one)

Any ideas?

Let's discuss the pros the cons of each possibility.

Top comments (1)

nektro profile image
Meghan (she/her)

you could give them a "key" that is a hash of their user ID and the time of registration or something identifiable like that. then, when they open your program, ping your server in the background, verifying that the key is valid and belongs to the database as well as the user stored on the local machine.

50 CLI Tools You Can't Live Without

The top 50 must-have CLI tools, including some scripts to help you automate the installation and updating of these tools on various systems/distros.