License issue: terminal.py contains code licensed under Creative Commons
See original GitHub issueCode Sample, a copy-pastable example if possible
NA
Problem description
The file pandas/io/formats/terminal.py contains source code taken from stack overflow (it explicitly says this in the terminal.py file). However, the source code that exist in stack overflow is licensed under Creative Commons Attribution-Share Alike, see: https://stackoverflow.com/help/licensing.
Pandas claims to be BSD 3 compliant, but it actually has code in terminal.py that is not under BSD.
Keep in mind that the part of the code that is under creative commons is affecting the python 2 implementation. The python 3 implementation does not need the code from stack overflow. So, some possible solutions would be (there might be other options that I am not aware of):
- Remove the code that is under CC. This will make the terminal.py unusable for python 2.
- Use backports.shutil_get_terminal_size and replace the code under CC. This will make pandas depend on the backports.shutil_get_terminal_size package.
- Provide a brand new implementation for the part of terminal.py that is under CC.
Expected Output
NA
Output of pd.show_versions()
NA
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
About The Licenses
Creative Commons licenses require licensees to get permission to do any of the things with a work that the law reserves exclusively to...
Read more >Attribution-NonCommercial-NoDerivs 3.0 United States
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED...
Read more >Marking your work with a CC license
You have chosen a CC license for your work. Now how do you go about letting the world know? Here are some examples...
Read more >License Properties
In addition to the human readable license deeds and legal code, Creative Commons provides machine readable metadata for licenses.
Read more >Attribution 4.0 International — CC BY 4.0
Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

ok, my official statement:
I’m totally fine too and hereby dual license my code from https://stackoverflow.com/a/566752 under BSD.
Hope you are fine that I literal copied this line from your mail 😉
Best regards, Harco Kuppens
On 18/05/2018 08:45, Vasileios Karavasilis wrote:
On 17/05/2018 11:19, Joris Van den Bossche wrote:
Hi, as you can see in my answer I just combined two solutions found elsewhere. I even mention their sources in my answer.
I’m ok that you use my solution for combining these two solutions in one function.
Best regards, Harco Kuppens
ps. nice to hear somebody is using my comment 😉