MySQL support for Python, which is not under the GPL

I am using Python / Django over MySQL. I am currently working with MySQLdb under the GNU GPL. Is there a library with "similar" capabilities that is not under the GPL?

To clarify:

  • I do not yet know if I want to distribute my source code or charge money for my expression. I know that I do not want these decisions to be made for me according to my choice of MySQL and Python.
  • I am currently creating a web application using Django, for which I think the problem does not matter since I am not "distributing" anything, but the Python code I write can be viable for distribution as a desktop application and this is where the GPL starts to bother me.

thanks

+3
source share
4 answers

It seems you misunderstood the GPL. (Disclaimer: I'm not a lawyer)

  • You can charge for your application, even if it is licensed under the GPL. The GPL allows you to sell your code.
  • You do not need to distribute anything, even if your code is licensed under the GPL.
  • You cannot reliably distribute python code without distributing the source anyway.
  • Mysqldb has a dual license. You can choose between python license or GPL license.

EDIT: To clarify point 2, as some people are confused: you don’t need to distribute anything, but if you are distributing something, you have to distribute the source code.

+5
source

, MySQLdb GPL Python. Python . README :

License
-------
GPL or the original license based on Python 1.5.2 license.
+6

, .

: .

MySQLdb1 - python - mysqldb - GPL.

python, . _mysql.c, , EXCLUSIVELY GPL2 . , GPL, .

mariadb LGPL, mysql (GPL), , GPL.

/ MariaDB , , LGPL MariaDB Python.

MariaDB/MySQL Python, ...

+1

......... .

python-MySQLdb Oracle, GPL (2014-02), python-MySQLdb, , , GPL, .

python-MySQLdb 1.2.5 works and is associated with mariadb-native-client 1.0.0, which is LGPL. In this case, using the original python-MySQLdb license based on the Python 1.5.2 license can only include binary distribution of the desktop application (perhaps in this case it will be necessary to distribute the sources for mariadb-native-client if it is dynamically connected).

0
source

Source: https://habr.com/ru/post/1708194/


All Articles