Hot answers tagged

14 votes
Accepted

Can a non-GPL python program use GPL Python module?

I am not a lawyer, and this is not legal advice. I'm importing the library. Importing the library essentially means you are linking to the GPL library. Hence, your program must also be GPL. ...
user avatar
  • 1,854
11 votes
Accepted

Rules for appropriate editing of copyright notices in cloned, Apache-2.0-licenced, opensource repositories

Yes this is correct but you do not need to duplicate the same Apache notice twice. Instead you could use this simpler and more useful form IMHO: Copyright 2017 My Example Company Copyright ...
user avatar
11 votes

Use of BSD-3 Clause license and python software license for proprietary use

BSD-3 clause is a very permissive license that does not require you disclosing your source code or the source code of the open source libraries. You are not required to allow your users to re-...
user avatar
10 votes

What is the correct way to add license information to source code?

From a legal perspective: You should attach licensing information to a file in such a way that you cannot successfully deny that you intended to license the file under those terms. Suppose, at some ...
user avatar
  • 31.3k
8 votes
Accepted

What is the correct way to add license information to source code?

No example is required, as the GPL itself tells you how to do it, down at the bottom in the section entitled "How to Apply These Terms to Your New Programs". In short, they recommend you include your ...
user avatar
  • 38.5k
7 votes

Code obfuscation and GPL3

I'm not a lawyer, but here is my two cents. 1)Should I open source all of my main program? If the only interaction between your program and the GPL3 program (or any other open source program) is via ...
user avatar
  • 1,854
7 votes

Can ActiveState forbid me to use python?

Not by virtue of exercising the copyright on their contributions, no. They could if you were an employee of theirs, or if they had some other valid grounds for being able to forbid you, but not ...
user avatar
  • 38.5k
6 votes
Accepted

Do I need to include the license for all dependencies declared in a setup.py?

No, you do not need to include licenses for code that isn't part of your repository. However, as a service to your users, you can consider mentioning the licenses of your dependencies in the ...
user avatar
6 votes
Accepted

Optional GPL dependency in commercial Python application

How GPL interacts with various kinds of linking is a tricky and not completely settled question. First, a few facts: The GPL license is copyright-based. The GPL license only becomes relevant for you ...
user avatar
  • 33.8k
6 votes

Can a non-GPL Licensed Python Application use Pylint as part of its test suite?

You can definitely use Pylint to check a program under any license. However, integrating Pylint into a test suite might require a bit of care. Pylint is a program that reads some files, analyzes the ...
user avatar
  • 33.8k
5 votes
Accepted

Starting to maintain an unmaintained but popular repository

As you have stated, since the project seems to be abandoned, and you have made efforts to ensure that this is really the case, the next step would be to fork the project. The article Forking Protocol:...
user avatar
  • 721
5 votes
Accepted

3-clause BSD or MIT license for software that imports numpy and matplotlib?

I did not modify any of those modules; I want to publish the .py file only (no binaries). If you will not be including copies of numpy and Matplotlib, then you need not concern yourself with their ...
user avatar
  • 3,902
5 votes
Accepted

Python's tqdm package license

This repository contains files with 2 different licenses. Some files are under MIT license, some under MPL. They co-exist in the same package. This does not appear to be a dual-licensed situation, ...
user avatar
4 votes
Accepted

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?

Being paid for your time in writing or customising free software is a completely-acceptable business model; I've been doing it myself for twenty years. I started to get a little lost in the minutiae ...
user avatar
  • 38.5k
4 votes
Accepted

GPL and Python import statement

Yes eventually the GPL flows to the calling/importing code at runtime. At rest the import statement has no impact per se.
user avatar
4 votes

A license for a python project with unforseen libraries usage and lots of outside contribution?

The requirement to credit the original author is intrinsic to basically each open-source license. Credits whom credit is due and usually the credits have to be retained and own changes indicated. &...
user avatar
  • 8,460
4 votes
Accepted

Using LGPL for shared library, and ASL for scripts?

The term "dual licensing" describes the situation where the entire repository is available under two (or more) licenses and the user gets to choose which license terms they want to comply to....
user avatar
4 votes
Accepted

Understanding GPL: Blender Add-on + System Library

I agree with JNic above. I note your edit regarding the distribution of binaries linked to System Libraries, but I think you are misunderstanding this exception. The FAQ entry you quote makes it ...
user avatar
  • 38.5k
4 votes
Accepted

Understanding GPL & LGPL: Free Software with zero-cost, proprietary libraries

Is my interpretation correct and am I really not allowed to link any closed-source library which does not fulfill the system library exception to a GPL software, if I am conveying a GPL software of ...
user avatar
4 votes
Accepted

Can proprietary-licensed software execute shell commands that are probably GPL licensed?

Can propriety licensed software (that will be distributed, alongside with the hardware) use GPL software (distributed from package manager)? Yes, as long as your code and the GPL code communicate &...
user avatar
3 votes
Accepted

Opensource license for github Python project which uses lgpl libraries

If you didn't include code written by others into your codebase, the library licenses you mention don't put significant constraints on the licenses you can use for your code. The main restrictions ...
user avatar
3 votes
Accepted

Would python wheels be considered "source code" or "object code" under GPL-3

A wheel is either source code or object code. Any form of any work is one or the other, according to the GPL's disjunction: The “source code” for a work means the preferred form of the work for ...
user avatar
  • 31.3k
3 votes
Accepted

Should I add a licence to a Python3 script when putting it on GitHub?

Without a license, other people are just allowed to look at it, and click the “fork” button on GitHub. Because the default license is “all rights reserved”. So if you do want other people to be able ...
user avatar
  • 33.8k
3 votes

How can I use mysqlclient for db connection in django for commercial application?

The GPL license effectively states that if GPL-licensed code is used in a product (either directly or pulled in through a library or package mechanism), then the whole product must comply with the ...
user avatar
3 votes
Accepted

How can an AGPL web application allow proprietary plugins?

There is, to my knowledge, no such thing as the Lesser AGPL, and trying to invent one on the fly is probably not a good idea. But the Linux kernel has an interesting GPL exemption that may be ...
user avatar
  • 38.5k
2 votes
Accepted

Python projects & licensing choice

I'm somewhat lost in choosing a proper license for this kind of project. GPL seems too constraining in my taste, as MIT or BSD seems a little too permissive. Are there some licenses that falls in ...
user avatar
2 votes
Accepted

Licensing a wrapper library

If your redistribution combines Boost-licensed code and your own source code in one source or binary package you will need to provide licensing for both. In the simpler case where you would elect to ...
user avatar
2 votes

Copyright of MIT licenced libraries usage within GPL licensed code

To license each part of your work under a specific license (GPLv3 for some components and MIT for others), one way is to place a header in each file or directory that states the license under which ...
user avatar
  • 1,825
2 votes
Accepted

Have I to credit imported bsd module in my python app?

The BSD-3 license requires that you: Include the original copyright Include the full text of the license in source or object code copies Therefore, the only requirements when including a BSD-3 ...
user avatar
  • 36
2 votes

GPL and Python import statement

Nothing makes Y GPL, short of the author of Y licensing it under GPL or a court order requiring them to do so. Using a GPL code in Y without licensing Y under GPL makes such use illegal. This only ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible