Questions tagged [python]

For questions that relate to the Python programming specifically

Filter by
Sorted by
Tagged with
1 vote
1 answer
47 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 ...
  • 21
2 votes
0 answers
158 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 ...
  • 21
3 votes
1 answer
198 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 ...
  • 133
1 vote
2 answers
720 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 ...
  • 111
0 votes
1 answer
139 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 ...
  • 111
0 votes
1 answer
114 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 ?
  • 3
4 votes
1 answer
516 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 ...
  • 187
2 votes
1 answer
76 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
286 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 ...
  • 43
1 vote
2 answers
166 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+). ...
  • 43
-1 votes
2 answers
138 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?...
3 votes
1 answer
825 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 ...
  • 131
-2 votes
1 answer
190 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
51 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....
  • 11
1 vote
2 answers
465 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 ...
user avatar
5 votes
1 answer
466 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 ...
-1 votes
1 answer
124 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
257 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 ...
  • 287
2 votes
3 answers
289 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 ...
  • 287
4 votes
1 answer
419 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
1k 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 (...
  • 53
5 votes
1 answer
498 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....
4 votes
0 answers
275 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 ...
  • 235
2 votes
0 answers
174 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 ...
  • 121
2 votes
2 answers
152 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 ...
  • 123
2 votes
1 answer
243 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
75 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 ...
  • 175
3 votes
1 answer
302 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
99 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?
3 votes
0 answers
130 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 ...
  • 455
4 votes
2 answers
190 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 ...
  • 143
3 votes
1 answer
289 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 ...
user avatar
3 votes
1 answer
442 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
304 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, ...
  • 131
4 votes
1 answer
43 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
327 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
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 ...
  • 21
2 votes
2 answers
190 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 ...
  • 23
4 votes
1 answer
252 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 ...
  • 143
3 votes
1 answer
78 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
895 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 ...
  • 139
2 votes
1 answer
478 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 ...
4 votes
1 answer
358 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
16k 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 ...
  • 213
6 votes
1 answer
804 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: ...
9 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
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 ...
0 votes
1 answer
294 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?
  • 3
4 votes
1 answer
915 views

Can I use PyQt if I make it open source and only charge customers for my time to customize the open source app for them?

I am planning to create custom made software for each customer. I will also be telling the customer that I shall be making it open source and they are simply paying me for my time to package things ...
  • 43
-1 votes
1 answer
877 views

Which license does psycopg2 exactly use

using psycopg2 of version 2.2.2 the LGPL as LICENSE file declares, or the item in module setup.py. even in this module, there are two different license: License :: OSI Approved :: GNU Lesser General ...
  • 1