pandas2 icon indicating copy to clipboard operation
pandas2 copied to clipboard

c++ interface to CPython

Open jreback opened this issue 8 years ago • 6 comments

https://github.com/llllllllll/libpy

looks like interesting way to construct expressions

jreback avatar Oct 14 '16 10:10 jreback

Looks nice, but it's sadly GPL which rules out using it in pandas.

shoyer avatar Oct 14 '16 20:10 shoyer

@llllllllll any way to have a friendly license?

jreback avatar Oct 14 '16 20:10 jreback

It is currently dual licensed under LGPL and GPL, could you consume the library under the terms of the LGPL? If that is still not friendly, I would consider the Apache 2.

I will say that the library is still pretty experimental, but I have used it for a few projects myself. There is still a lot of work left wrapping the rest of the builtin objects. I also don't yet have a great story for python class creation. I would be happy to discuss this further or work on building better docs for what I have to help people evaluate libpy.

llllllllll avatar Oct 14 '16 20:10 llllllllll

I'm not 100% sure if LGPL is OK or not. It looks like it possibly depends on whether we link to it dynamically or statically? Static linking (and distributing a vendored version inside pandas) does seem like it would be the best user story, but I'm sure @wesm knows more. I think Apache 2.0 would certainly not be a problem.

shoyer avatar Oct 14 '16 20:10 shoyer

Since LGPL is incompatible with ASF projects (it's Category X, see https://www.apache.org/legal/resolved#category-x), MIT/Apache 2.0 would be better

wesm avatar Oct 15 '16 18:10 wesm

Okay. I am open to changing the license.

llllllllll avatar Oct 15 '16 21:10 llllllllll