Questions tagged [python]

For questions that relate to the Python programming specifically

Filter by
Sorted by
Tagged with
2 votes
0 answers
95 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
120 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
201 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
84 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 ?
0 votes
1 answer
102 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 ...
4 votes
1 answer
404 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
60 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://...
-1 votes
2 answers
123 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?...
2 votes
1 answer
252 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
140 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+). ...
2 votes
1 answer
622 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
137 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
49 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....
1 vote
2 answers
348 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 ...
15 votes
2 answers
12k 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 ...
5 votes
1 answer
382 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 ...
3 votes
1 answer
267 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 ...
-1 votes
1 answer
105 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
214 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 ...
2 votes
3 answers
221 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 ...
1 vote
2 answers
1k views

Licenses PyQt and QT

I would like to use PyQT5 and QT5 to create an -internal- application for a friend and his company. I would like to use PyQT GPL license and QT LGPL license. To respect these licenses, I need to: ...
4 votes
1 answer
413 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
881 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 (...
2 votes
0 answers
360 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....
3 votes
2 answers
1k 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?
4 votes
0 answers
227 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
136 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
143 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 ...
2 votes
1 answer
190 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
67 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
211 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
77 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
2 answers
168 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
0 answers
110 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 ...
3 votes
1 answer
408 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
250 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
344 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 ...
1 vote
2 answers
286 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 ...
4 votes
1 answer
42 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 ...
2 votes
0 answers
1k 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
186 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 ...
4 votes
1 answer
215 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
68 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
772 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
437 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 ...
11 votes
2 answers
15k 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
783 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: ...
3 votes
1 answer
795 views

Python projects & licensing choice

I have some python projects which I release on GitHub. Some of them binds actions to some DLLs, and some are purely reinventing the wheel. I choose MIT license for these kind of projects, then I found ...
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=[ ...
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 ...