Questions tagged [python]

For questions that relate to the Python programming specifically

Filter by
Sorted by
Tagged with
-2 votes
0 answers
12 views

pyside6.... I want to 1 text data and add 3 buttons in every child's row [closed]

I am using pyside6... I want to 1 text data and add 3 buttons in every child's row. I am trying to use "QTreeWidget" and "QTreeWidgetItem", but I do not know how I can put 3 ...
user avatar
2 votes
0 answers
51 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 ...
user avatar
  • 21
3 votes
1 answer
77 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 ...
user avatar
  • 133
1 vote
2 answers
65 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 ...
user avatar
  • 111
0 votes
1 answer
64 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 ...
user avatar
  • 111
0 votes
1 answer
64 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
3 votes
1 answer
94 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 ...
user avatar
  • 45
2 votes
1 answer
48 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://...
user avatar
2 votes
1 answer
236 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 ...
user avatar
  • 43
1 vote
2 answers
113 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+). ...
user avatar
  • 43
-1 votes
2 answers
114 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?...
user avatar
1 vote
1 answer
404 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
  • 111
-2 votes
1 answer
109 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.
user avatar
1 vote
0 answers
45 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....
user avatar
  • 11
1 vote
2 answers
261 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
319 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 ...
user avatar
-1 votes
1 answer
89 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 ...
user avatar
3 votes
1 answer
191 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
3 answers
186 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
4 votes
1 answer
407 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, ...
user avatar
4 votes
1 answer
665 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 (...
user avatar
  • 43
2 votes
0 answers
298 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....
user avatar
4 votes
0 answers
193 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 ...
user avatar
  • 235
2 votes
0 answers
113 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 ...
user avatar
  • 121
2 votes
2 answers
131 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 ...
user avatar
  • 123
2 votes
1 answer
151 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 ...
user avatar
0 votes
1 answer
62 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 ...
user avatar
  • 175
2 votes
1 answer
141 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 ...
user avatar
2 votes
0 answers
61 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?
user avatar
3 votes
0 answers
99 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 ...
user avatar
  • 443
4 votes
2 answers
156 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 ...
user avatar
  • 143
3 votes
1 answer
256 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
381 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 ...
user avatar
3 votes
1 answer
205 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, ...
user avatar
  • 131
4 votes
1 answer
41 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 ...
user avatar
1 vote
2 answers
249 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 ...
user avatar
  • 21
2 votes
2 answers
179 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 ...
user avatar
  • 23
4 votes
1 answer
192 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 ...
user avatar
  • 143
3 votes
1 answer
65 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-...
user avatar
0 votes
1 answer
691 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 ...
user avatar
  • 139
2 votes
1 answer
398 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 ...
user avatar
4 votes
1 answer
326 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 ...
user avatar
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
6 votes
1 answer
769 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: ...
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
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
0 votes
1 answer
224 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?
user avatar
  • 3
3 votes
1 answer
869 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 ...
user avatar
  • 33
-1 votes
1 answer
760 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 ...
user avatar
  • 1