Given that QGIS is licensed under GNU GPLv2+, if you create a QGIS python script that would run in the QGIS Python console, such as the example in their docs, does the python script have to be licensed under GNU GPLv2+ as well? The qgis.core and qgis.utils python modules that the console automatically runs are licensed under GNU GPLv2+ it seems so that might affect things.
In particular, does your python script have to be licensed under GNU GPLv2+ if it is going to be distributed and sold to a client?
Based on https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#TOCIfInterpreterIsGPL it would seem that you can develop python scripts that run on the QGIS python interpreter, but as soon as they call GNU GPLv2+ licensed python modules like qgis.core or qgis.utils, which come with the interpreter, then the python script must also be licensed under GNU GPLv2+. Furthermore, based on https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#TOCDevelopChangesUnderNDA you can still distribute that python script to a client under a contract (i.e., for a fee), however, the distributed code must also be licensed under GNU GPLv2+ (i.e., they can also distribute it, but likely will choose not to).