Skip to main content

Questions tagged [python]

For questions that relate to the Python programming specifically

Filter by
Sorted by
Tagged with
1 vote
0 answers
43 views

Do I meet the conditions of GPLv3 license?

GitHub says GPLv3 licence conditions are: License and copyright notice State changes Disclose source Same license License and copyright notice: How do I write copyright notice? Is it enough to write ...
yg213's user avatar
  • 21
6 votes
2 answers
1k views

Way to share code built on scripts with Creative Commons licence including no derivative clause?

I invested a considerable amount of time translating a set of Matlab scripts into Python and subsequently conducted extensive testing to ensure that the Python scripts returned the exact same values/...
papaya's user avatar
  • 63
18 votes
1 answer
5k views

PySimpleGUI, until now, has been distributed under the GPLV3, but just became a subscription model. How does that work?

PySimpleGUI, a GUI framework for Python, has previously been published under the LGPLv3. They just announced that they are changing to a subscription model with PysimpleGUI 5, and that previous ...
Jazz Weisman's user avatar
6 votes
1 answer
2k views

Python Commercial Use of Software Licensing Compliance

I have a Flask application that is being sold to a client. I remain in control of the source code, and it is a private repo. I wanted to ensure I was not violating License Agreements, and ran a tool ...
ghawes's user avatar
  • 163
1 vote
1 answer
247 views

Python packages and their license in the binary program [duplicate]

I am writing a program in Python that currently uses several different packages, mainly BSD licenses, e.g. Pandas, NumPy, etc. The finished program is distributed in the form of an .exe file. My ...
hiero's user avatar
  • 11
2 votes
1 answer
666 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 ...
user29733's user avatar
3 votes
1 answer
1k 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. ...
albarji's user avatar
  • 141
2 votes
1 answer
314 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 ...
gewdfa's user avatar
  • 31
2 votes
0 answers
258 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 ...
Wapers's user avatar
  • 21
3 votes
1 answer
544 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 ...
Jérôme's user avatar
  • 133
1 vote
2 answers
4k 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 ...
温泽海's user avatar
  • 111
0 votes
1 answer
240 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 ...
discover's user avatar
  • 111
0 votes
1 answer
202 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 ?
Anas's user avatar
  • 3
4 votes
1 answer
1k 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 ...
Garid's user avatar
  • 187
2 votes
1 answer
114 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://...
Kim Stacks's user avatar
2 votes
1 answer
391 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 ...
Zar's user avatar
  • 43
1 vote
2 answers
284 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+). ...
Zar's user avatar
  • 43
-1 votes
2 answers
196 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?...
Gulshan_kumar_pal's user avatar
5 votes
1 answer
2k 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 ...
Yngve Moe's user avatar
  • 151
-2 votes
1 answer
436 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.
sysOut's user avatar
  • 101
1 vote
0 answers
113 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....
Y. T.'s user avatar
  • 11
2 votes
2 answers
793 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
840 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 ...
Tamaki Sakura's user avatar
0 votes
1 answer
256 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 ...
Jounathaen's user avatar
3 votes
1 answer
380 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 ...
reg.cs's user avatar
  • 297
3 votes
3 answers
415 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 ...
reg.cs's user avatar
  • 297
4 votes
1 answer
450 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, ...
Nikolai Ehrhardt's user avatar
6 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 (...
Grond's user avatar
  • 63
9 votes
1 answer
1k 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....
Epimetheus's user avatar
8 votes
1 answer
569 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 ...
pyjamas's user avatar
  • 277
2 votes
0 answers
248 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 ...
Adil's user avatar
  • 121
2 votes
2 answers
202 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 ...
Juan's user avatar
  • 123
3 votes
1 answer
410 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 ...
ChocolateOverflow's user avatar
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 ...
Blender's user avatar
  • 185
3 votes
1 answer
616 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 ...
danvoronov's user avatar
2 votes
0 answers
148 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?
Thomas Shih's user avatar
4 votes
0 answers
161 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 ...
a_guest's user avatar
  • 475
4 votes
2 answers
266 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 ...
AstrOne's user avatar
  • 143
3 votes
1 answer
392 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
4 votes
1 answer
669 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 ...
Iwan Aucamp's user avatar
3 votes
1 answer
580 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, ...
tamuhey's user avatar
  • 131
4 votes
1 answer
54 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 ...
Krzysiek's user avatar
1 vote
2 answers
523 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
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 ...
John.L's user avatar
  • 21
2 votes
2 answers
306 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 ...
clips's user avatar
  • 23
6 votes
1 answer
404 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 ...
Felix's user avatar
  • 163
3 votes
1 answer
94 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-...
anarthal's user avatar
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 ...
244boy's user avatar
  • 139
2 votes
1 answer
578 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 ...
Jeremy Friesner's user avatar
5 votes
2 answers
509 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 ...
Francesco Pegoraro's user avatar