I am looking for a way to display a calendar or other date picker inside a tkinter window. I am aware of tkcalendar and it works great. However, I am looking for a way to achieve this without tkcalendar, because tkcalendar is licensed under GPLv3. I scoured the internet and all forums I found say unanimously, that a code including the words "import tkcalendar", even when not compiled, is considered a derived work and must therefore also be licensed under GPLv3. None of those threats had answers from legal experts, but I don't want to take the risk of importing anything licensed under GLP.
Can somebody suggest alternatives to tkcalendar or a suggestion on how to recreate it without copying from the source code?
Edit: I have been asked to add an explanation for what my problem with GPL is. My problem is that, as far as I understand it, a code importing tkcalendar is considered a "derived work" of tkcalendar and is therefore required to also be licensed under GPL. I don't want to license my program under GPL though, so as far as I understand it, I cannot import any GPL-licensed modules.
You can create a calendar pretty easily by using the output of calendar.monthcalendar. Just iterate over the data, creating buttons for each day.
Here's a rudimentary example. It's not complete solution, but it does show how to create the widgets and print out the day the user clicked on.