Questions tagged [python]
For questions that relate to the Python programming specifically
60
questions
2
votes
1
answer
239
views
Do I need to distribute licenses for Python modules used in code that I release but don't directly distribute (i.e. users pip install modules)?)?
I intend to publish the code for my thesis under an appropriate open-source license, such as GPL v3. The code consists of Python and compiled C code that either imports or is statically linked to ...
2
votes
1
answer
592
views
GNU GPL license in libraries in python requirements [duplicate]
I have developed a python script that makes use of a package hosted in PyPI. My code basically imports this package and uses some of its functions, together with some more functionality I developed. ...
1
vote
1
answer
227
views
Best way to release a Nuitka-compiled software?
My question would be: If I wrote software in Python and compiled it with Nuitka and would like to publish it under either the GPL v2 or MIT license for others, should I also attach the original .py ...
2
votes
0
answers
239
views
Internal Python application and Python packages with multiple licenses
I am developing a tool for internal use in my company using Python and several Python packages.
This tool uses different kinds of Python packages, all of which have one of GNU Public License, Lesser ...
3
votes
1
answer
393
views
How can an AGPL web application allow proprietary plugins?
We are developing a web application (REST API backend + frontend, both Python/Flask if that matters).
We want to distribute it as a free software and we'd prefer a GPL license over a less restrictive ...
1
vote
2
answers
3k
views
PyQt5 Commercial License
Suppose I do the following:
I code out a very small python program (like no more than five hundred lines of code): I download relevant packages about PyQt5, opencv, numpy, math and matplotlib at ...
0
votes
1
answer
203
views
How can I use mysqlclient for db connection in django for commercial application?
I have been using mysqlclient package for MySQL DB connection in Django and recently realized mysqlclient is in GPL license.
Is it fine to use mysqlclient package in a private repo for a commercial ...
0
votes
1
answer
166
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 ?
4
votes
1
answer
832
views
Can proprietary-licensed software execute shell commands that are probably GPL licensed?
Can proprietary-licensed software (that will be distributed, alongside with the hardware) use GPL software (distributed from package manager)?.
It's basically scientific-measurement-device, that ...
2
votes
1
answer
104
views
Is there a special tooling that github linguist is using for third party software licensing?
I am studying how other libraries handle third party software licensing.
I noticed that github linguist has a separate folder called vendor and inside it uses git submodules and yaml files https://...
2
votes
1
answer
348
views
Python's tqdm package license
tqdm package seems to mention 2 types of licenses.
Here's the license for tqdm's package
`tqdm` is a product of collaborative work.
Unless otherwise stated, all authors (see commit logs) retain ...
1
vote
2
answers
232
views
Using Conda's XZ package for proprietary use
I am currently packaging up my python software.
I listed down all the packages that it uses and found out that a package, which is called xz, uses multiple licenses (public domain, LGPLv2.1+, GPLv2+). ...
-1
votes
2
answers
185
views
What are the prerequisites for contributing to my first open source project?
I have learned python and SQL and want to start with open source contributions, is the knowledge of python enough (along with git) to contribute or is there something else as well that I need to learn?...
5
votes
1
answer
1k
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 ...
-2
votes
1
answer
343
views
Is the Dlib library free?
Is the Dlib library free? Because at the company we have plans to use it to recognize documents with Python, and we were thinking of using this lib without a headache.
1
vote
0
answers
78
views
Did the Python developers ever explain why they made such "obvious" breaking changes between two minor versions? [closed]
I read this comment today:
When Python decides to add a "direction" parameter to sort() they do something like this:
3.2.7: sort(list)
3.2.8: sort(direction, list)
You can't upgrade from 3....
2
votes
2
answers
717
views
What is this Keep the license and copyright notice included in Bootstrap’s CSS and JavaScript files when you use them in your works?
I have developed a website using Django and I have used getbootstrap4.3 in my website. On the official website, they have stated like this:
It requires you to:
Keep the license and copyright notice ...
5
votes
1
answer
712
views
Can a non-GPL Licensed Python Application use Pylint as part of its test suite?
I have a Python application that is not under a GPL-compatible license.
I would like to add style checking to my automatic test suite, and I would like to use pylint instead of pep8 because it ...
0
votes
1
answer
187
views
How to handle license files in cx_freeze'd python applications
So I have a python application which uses different packages, which are licensed under different OpenSource Licenses.(MIT, LGPL, GPL, and other OSS licenses)
I want to create a bundle for Windows ...
3
votes
1
answer
344
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 ...
3
votes
3
answers
372
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 ...
4
votes
1
answer
435
views
Can ActiveState forbid me to use python?
... there came one question up in my mind?
Can ActiveState forbid me to use python versions downloaded from this page https://www.python.org/downloads/?
Especially for Windows and Linux?
I ask, ...
5
votes
1
answer
2k
views
3-clause BSD or MIT license for software that imports numpy and matplotlib?
I wrote a Python script (a .py file) that I'd like to publish and license correctly. My script imports
numpy (3-clause BSD)
matplotlib.pyplot (Matplotlib license [BSD-compatible])
os and argparse (...
9
votes
1
answer
928
views
Does importing a python package in my source code constitute redistribution of that package?
I wish to make a python package I have written publicly available on GitHub as source code. I am being advised that I should add a NOTICE detailing all the third-party packages that my code depends on....
7
votes
1
answer
459
views
Can PyQt5 projects use the MIT license?
I maintain a PyQt5 project on GitHub under the MIT license but now I am wondering if I am risking getting in trouble by not making it GPL... This answer makes me think that releasing my own code under ...
2
votes
0
answers
227
views
Licensing requirement for usage of win32com APIs through python package (pywin32)
For my project work testing, I want to use win32com APIs through python package (pywin32). Is there any license restriction for this? OR in other words what is the license clause if this python script ...
2
votes
2
answers
173
views
Using LGPL for shared library, and ASL for scripts?
My software is a compiled Python module, which provides commands when loaded into the interpreter.
In the project, the source code and accompanying Python scripts are using the Apache Software License ...
3
votes
1
answer
338
views
A license for a python project with unforseen libraries usage and lots of outside contribution?
I'm not good at legalities and this is my first official project so I have little knowledge of copyrights and licenses. I haven't read a lot of legal documents and only a bit of knowledge about ...
0
votes
1
answer
90
views
Ship Python based product with Anaconda on windows?
I have a python service that runs on anaconda (using a lot of conda install) and a C# UI. Are there any restrictions for shipping anaconda (not modified) + installed packages + my service as a paid ...
3
votes
1
answer
510
views
Should I add a licence to a Python3 script when putting it on GitHub?
I have written a script on python3. It is fairly simple it converts one biological sequence format of text file to another.
I am adding it to GitHub and was wondering if I should and need add a ...
2
votes
0
answers
126
views
Do you need to include the copyright for imported libraries?
My new code imports libraries from other sources (pandas,tqdm,plotly to name the big ones). Do I need to reference them in my LICENSE.md?
Or is it enough to simply mention them in the README.md?
4
votes
0
answers
158
views
Does the Python license allow to post modified versions of their source code on StackOverflow?
I just posted an answer on Stack Overflow which is largely based on a specific part of a module in the CPython standard library. The Python license seems to be permissive and they also indicate ...
4
votes
2
answers
236
views
Can I have the source code of my Python/C++ project under MIT/BSD/Apache2.0 and its PyPI binary wheel under GPLv2?
I am trying to find how to license my open source project, but after having spent a few hours Googling around, my head started to hurt! Instead of asking a million of questions about different ...
3
votes
1
answer
364
views
Distribution of Python modules
I've been thinking about create a couple of python-based applications and distributing them for free.
My applications will be only for Windows since it is the system I use personally. What I am ...
4
votes
1
answer
593
views
Would python wheels be considered "source code" or "object code" under GPL-3
GPL-3 places different obligations for conveying "source code" and "object code distribution". See GPL 3.0 / 4. Conveying Verbatim Copies and GPL 3.0 / 6. Conveying Non-Source Forms. Among other ...
3
votes
1
answer
481
views
How to handle license for third-party packages?
I've created a Python package, and it contains another package written by a third-party:
my_pkg/
|- vendor
| |- vendoredFoo (MIT license)
|
...
How to handle the license of vendoredFoo, ...
4
votes
1
answer
49
views
Test framework license selection
I am writing some kind of test frame work in Python3. I am about to publish it, I am looking for right license for it... and I am confused :(
Here is what am looking for:
common/well known license
...
1
vote
2
answers
456
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 ...
2
votes
0
answers
2k
views
Do I need both commercial PyQt license and commercial Qt license for close source commercial app?
Is it possible to make a closed-source application with Qt and PyQt5, using the open source licenses available for those libraries, in the way described below?
Suppose there are no changes made to ...
2
votes
2
answers
231
views
Opensource license for github Python project which uses lgpl libraries
I'm about to make my first Python repo on github public and it needs a license. It imports four libraries, without modifying them, it merely makes use of their functions. These libraries are in ...
6
votes
1
answer
345
views
Starting to maintain an unmaintained but popular repository
I came across a Python package that was rather popular (2000 or so GitHub stars), but most recently committed to two years ago. In addition, the module version in the Python Packaging Index is an ...
3
votes
1
answer
91
views
Licensing: distributing open source components with your PyPI package
I have developed a Python package capable of generating a web page with some embedded tables and figures. The web page employs some open source components (namely Angular.js, Bootstrap and font-...
0
votes
1
answer
1k
views
what's the meaning of `Executable File `? and the `sloc` of github hint?
When I read the GitHub opensource project code:
I see the
Executable File 67 lines (60 sloc) 2.42 KB
in front of the content.
what's the meaning of Executable File? and the sloc?
and when I ...
2
votes
1
answer
551
views
Is it a GPL license violation to bundle a GPL'd Python script with a closed-source application?
I have a closed-source C++ application that includes an embedded CPython interpreter. It ships with a directory full of example Python scripts that I wrote, which perform useful actions within the ...
5
votes
2
answers
444
views
LGPL licensed software distributed with cx_Freeze
I am developing a python GUI for my company using PySide which is under LGPL license.
My company would like to sell it and thus it can't be open source.
From my understanding of the LGPL, I need to ...
11
votes
2
answers
20k
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 ...
6
votes
1
answer
855
views
Copyright of MIT licenced libraries usage within GPL licensed code
My software is completely written in python and has the following architecture of down cascaded dependencies. I plan to share my whole source code (FileA, FileB, FileC) next time in GitHub:
FileA: ...
10
votes
1
answer
2k
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=[
...
9
votes
1
answer
3k
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 ...
0
votes
1
answer
358
views
Have I to credit imported bsd module in my python app?
I'm importrting colorama module licensed under BSD-3 licence to my python app. Have I to credit that module and how to do that on github?