Re: PiCxx

2015-03-29 Thread Dotan Cohen
On Sun, Mar 29, 2015 at 1:20 PM, Robert Kern  wrote:
> Please consider using a recognized open source license. Your project looks
> interesting, but I won't touch it with the current license.
>
> http://opensource.org/licenses
>

I agree about the licensing. Many devs won't even evaluate the code
for technical merits with an unestablished, unclear, and unfamiliar
license like that. The "donate anything" concept is a cute idea, but
put the idea in either an informal request if you BSD license the
code, or as a condition for a commercial license if you GPL the code.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: PiCxx

2015-03-29 Thread Michael Torrie
On 03/29/2015 04:20 AM, Robert Kern wrote:
> On 2015-03-25 15:45, π wrote:
>> Hello Python people,
>>
>> I've made a C++ wrapper for Python.
>> I've called it PiCxx and put it up here: https://github.com/p-i-/PiCxx
> 
> Please consider using a recognized open source license. Your project looks 
> interesting, but I won't touch it with the current license.
> 
> http://opensource.org/licenses

I definitely would not consider sending a pull request with a license
like that.

Furthermore, a proper source-code license protects your ability to make
money on commercial use of your code in the future, depending on what
license you choose.  And you can license your code under multiple
licenses if you choose. And as long as you own the copyright
exclusively, you can change or add licenses at any time.  Looks like you
have contributions from one other person, so you'll need to get his
permission to relicense, or else remove his commit.

Most developers seem to think of source code licensing as an
afterthought (some don't list any license at all on github, so
technically everyone who clones their repo is violating copyright).  It
need not be complicated or hard, but deserves a bit of thought.  And, as
I said, if you own the exclusive copyright you can change up the license
at will.  But start somewhere.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: PiCxx

2015-03-29 Thread Robert Kern

On 2015-03-25 15:45, π wrote:

Hello Python people,

I've made a C++ wrapper for Python.
I've called it PiCxx and put it up here: https://github.com/p-i-/PiCxx


Please consider using a recognized open source license. Your project looks 
interesting, but I won't touch it with the current license.


http://opensource.org/licenses

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

--
https://mail.python.org/mailman/listinfo/python-list


Re: PiCxx

2015-03-25 Thread Neal Becker
π wrote:

> Hello Python people,
> 
> I've made a C++ wrapper for Python.
> I've called it PiCxx and put it up here: https://github.com/p-i-/PiCxx
> <https://github.com/p-i-/PiCxx>
> 
> That project runs out of the box on OS X and should be pretty easy to
> adapt for other OS.  Any help providing demo projects for other platforms
> is most welcome (especially iOS/Android)!
> 
> Currently I've only provided support for Python 3.x, is that is all I need
> in my own work.  2.x would not be too much extra trouble.
> 
> PiCxx presents a viable alternative to Boost::Python and PyCXX -- I didn't
> want to use either of those two because I didn't want to introduce a Boost
> dependency and I found the internals of PyCXX impenetrable, so I set about
> doing a (C++11) rewrite.
> 
> I've ditched the idea of splitting off a different C++ class for each
> PyFoo_Type.  Instead I have an Object class to mirror PyObject.
> 
> Feel free to contact me by email or (even better) webchat.freenode.net
> <http://webchat.freenode.net/> #pi
> 
> Happy spring '15,
> 
> π (pi)
> 25 March 2015
> 
> PS Note I haven't subscribed to this mailing list, so I may not catch
> replies!

My interest in HPC, and as such, need interoperation between numpy arrays 
and c++.  Does PiCxx offer any help here?

-- 
Those who fail to understand recursion are doomed to repeat it

-- 
https://mail.python.org/mailman/listinfo/python-list


PiCxx

2015-03-25 Thread π
Hello Python people, 

I've made a C++ wrapper for Python.
I've called it PiCxx and put it up here: https://github.com/p-i-/PiCxx 
<https://github.com/p-i-/PiCxx>

That project runs out of the box on OS X and should be pretty easy to adapt for 
other OS.  Any help providing demo projects for other platforms is most welcome 
(especially iOS/Android)!

Currently I've only provided support for Python 3.x, is that is all I need in 
my own work.  2.x would not be too much extra trouble.

PiCxx presents a viable alternative to Boost::Python and PyCXX -- I didn't want 
to use either of those two because I didn't want to introduce a Boost 
dependency and I found the internals of PyCXX impenetrable, so I set about 
doing a (C++11) rewrite.

I've ditched the idea of splitting off a different C++ class for each 
PyFoo_Type.  Instead I have an Object class to mirror PyObject.  

Feel free to contact me by email or (even better) webchat.freenode.net 
<http://webchat.freenode.net/> #pi

Happy spring '15,

π (pi)
25 March 2015

PS Note I haven't subscribed to this mailing list, so I may not catch replies!-- 
https://mail.python.org/mailman/listinfo/python-list