So you are fine with people using it in whatever way, is that right? If so, it would be best if you licensed it for example with MIT license. Just add a file called “LICENSE” in that folder, with this content:
Click here to see
Copyright © 2021 Gandahar
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
That way people who knew how to make a Python plugin can take that code and make a Krita plugin out of it. If there is no license file, it’s kind of difficult to say what is allowed and what is not. And if you put that license I showed above, then basically everyone can get and use that code except for claiming that they wrote it themselves. So it kind of makes your
“dowhatyouwantwithit” legal. It’s a very common license in open source world so you’re pretty safe using it
Another license to think about is GPL, which is how the plugin will have to be licensed, because that’s also a license of Krita. But then there are both permissions and limitations: for example if one uses GPL code, then the result must also be GPL. And if they give you a product made with GPL license, then you need to get the source code of that product too. MIT license (the one I showed above) doesn’t have those limitations and it makes it possible to for example make a commercial program with closed source that uses your code. Here is a full content of GPL license if you want it: The GNU General Public License v3.0 - GNU Project - Free Software Foundation