Questions tagged [python]

For questions that relate to the Python programming specifically

Filter by
Sorted by
Tagged with
15 votes
2 answers
11k views

Can a non-GPL python program use GPL Python module?

Suppose I have a Python library which is distributed under the GPL license. I would like to use that library in my program, that I may eventually want to distribute under non-GPL terms. The library ...
user avatar
  • 506
11 votes
2 answers
14k views

What is the correct way to add license information to source code?

I have recently released some projects on GitHub and its catching people's attention(I had released earlier too but they were just for learning and didn't carry much weight). But I think I made a ...
user avatar
  • 213
3 votes
2 answers
951 views

GPL and Python import statement

If a Python module X is licensed under GPL and a Python script or module Y imports X, does it make Y necessarily GPL also?
user avatar
  • 469
9 votes
1 answer
2k views

Optional GPL dependency in commercial Python application

I am developing a commerical clock application ("JJClock"), which is written in Python. What I will deliver to my customers will either be a .pyc file or a .so file ("compiled") with Cython -- the ...
user avatar
9 votes
1 answer
1k views

Do I need to include the license for all dependencies declared in a setup.py?

Let's say I'm making a library called X, which has a dependency on requests (which is under the Apache 2.0 license). For X's setup.py, I declare the following: setup( ... install_requires=[ ...
user avatar
2 votes
1 answer
500 views

Best way to include GPL-licensed code in an MIT-licensed library

I am currently developing a Python library under an MIT license (let's call it mylib). I have, however, come across what may be a minor hurdle. I want to include an optional GPL-licensed dependency. I ...
user avatar
  • 121
3 votes
1 answer
198 views

Understanding GPL & LGPL: Free Software with zero-cost, proprietary libraries

Background: This question is derived from a previous question. I am writing a Blender add-on which enables the use of Blender with a piece of hardware (i.e., a lightfield display). Blender and the ...
user avatar
  • 277
1 vote
2 answers
263 views

Can I use dual license for a python package which uses library with GPL license?

I have created a python package with several files and directories out of which only one particular module requires a library (PyQt) with GPL license. Since GPL license of the used library puts a ...
user avatar
1 vote
3 answers
202 views

Understanding GPL: Blender Add-on + System Library

Basic Information I am writing a Blender add-on which enables the use of Blender with a piece of hardware (i.e., a lightfield display). Blender and the use of the specific Python API, which is ...
user avatar
  • 277
0 votes
1 answer
72 views

How can i use pandasgui commercially if the pyqt library used is not free for commercial use?

pandasgui allows commercial use under the MIT license but I noticed the library used includes PYQT5 which is under the GPL v3 licence how is that possible ?
user avatar
  • 3