From nilsc.becker at gmail.com Mon Jun 8 08:52:00 2015 From: nilsc.becker at gmail.com (Nils Becker) Date: Mon, 8 Jun 2015 08:52:00 +0200 Subject: [Python.NET] Decref in RunString Message-ID: Hello there, I have a quick question concerning the "RunString(string code, IntPtr globals, IntPtr locals)" routine. In it the parameter "locals" is decref'ed. Maybe I am missing something (could be, I do not know much about reference counting), but should something which the user passes be decref'ed? My use case is the following: I embed python into C# and have a stateful wrapper around PythonEngine which manages a global and local dictionary. Therefore, I need the local dictionary I pass to RunString to be accessable (and sane) after the call. I noticed that locals contained random content after I called RunString and created new variables in the code. After I removed the Decref call in RunString, it seems to work as I would expect it to. Cheers Nils -------------- next part -------------- An HTML attachment was scrubbed... URL: From giannicristian at msn.com Mon Jun 8 09:44:16 2015 From: giannicristian at msn.com (Gianni Iannelli) Date: Mon, 8 Jun 2015 09:44:16 +0200 Subject: [Python.NET] Python for .NET load .dll Message-ID: Dear All, I have a problem loading an external dll using Python through Python for .NET. I have tried different methodologis following stackoverflow and similar. I will try to summarize the situation and to describe all the steps that I've done.I have a dll named for e.g. Test.NET.dll. I checked with dotPeek and I can see, clicking on it, x64 and .NET Framework v4.5. On my computer I have installed the .Net Framework 4.I have also installed Python for .NET in different ways. I think that the best one is download the .whl from this website http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonnet . I have downloaded and installed: pythonnet?2.0.0.dev1?cp27?none?win_amd64.whl. I can imagine that it will works for .NET 4.0 sinceRequires the Microsoft .NET Framework 4.0. Once I have installed everything, I can do these commands: >>> import clr >>> import System >>> print System.Environmnet.Version >>> print System.Environment.Version 4.0.30319.34209It seems work. Then, I have tried to load my dll typing these commands: >>> import clr >>> dllpath= r'C:\Program Files\API\Test.NET' >>> clr.AddReference(dllpath) Traceback (most recent call last): File "", line 1, in clr.AddReference(dllpath) FileNotFoundException: Unable to find assembly 'C:\Program Files\API\Test.NET'. at Python.Runtime.CLRModule.AddReference(String name)I have also tried to add '.dll' at the end of the path but nothing changed. Then, I have also tried different solutions as described in:http://stackoverflow.com/questions/14633695/how-to-install-python-for-net-on-windows,http://stackoverflow.com/questions/13259617/python-for-net-unable-to-find-assembly-errorhttps://github.com/geographika/PythonDotNet and much more.... Unfortunately, it doesn't work and I get different errors. I know that exists IronPython but I was trying to avoid to use it. Thanks for your help! -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.d.lloyd at gmail.com Mon Jun 8 17:10:42 2015 From: brian.d.lloyd at gmail.com (Brian Lloyd) Date: Mon, 8 Jun 2015 11:10:42 -0400 Subject: [Python.NET] Python for .NET load .dll In-Reply-To: References: Message-ID: You probably need to escape those backslashes, no? e.g. 'C:\\Program Files\\API\\Test.NET' On Mon, Jun 8, 2015 at 3:44 AM, Gianni Iannelli wrote: > Dear All, > > > I have a problem loading an external dll using Python through Python for > .NET. I have tried different methodologis following stackoverflow and > similar. I will try to summarize the situation and to describe all the > steps that I've done. > > I have a dll named for e.g. Test.NET.dll. I checked with dotPeek and I can > see, clicking on it, x64 and .NET Framework v4.5. On my computer I have > installed the .Net Framework 4. > > I have also installed Python for .NET in different ways. I think that the > best one is download the .whl from this website > http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonnet . I have downloaded > and installed: pythonnet?2.0.0.dev1?cp27?none?win_amd64.whl. I can imagine > that it will works for .NET 4.0 since*Requires the Microsoft .NET > Framework 4.0.* > > > Once I have installed everything, I can do these commands: > > > >>> import clr>>> import System>>> print System.Environmnet.Version>>> print System.Environment.Version4.0.30319.34209 > > It seems work. Then, I have tried to load my dll typing these commands: > > > >>> import clr>>> dllpath= r'C:\Program Files\API\Test.NET'>>> clr.AddReference(dllpath) > Traceback (most recent call last): > File "", line 1, in > clr.AddReference(dllpath)FileNotFoundException: Unable to find assembly 'C:\Program Files\API\Test.NET'. > at Python.Runtime.CLRModule.AddReference(String name) > > I have also tried to add '.dll' at the end of the path but nothing > changed. Then, I have also tried different solutions as described in: > > > - > http://stackoverflow.com/questions/14633695/how-to-install-python-for-net-on-windows > , > - > http://stackoverflow.com/questions/13259617/python-for-net-unable-to-find-assembly-error > - https://github.com/geographika/PythonDotNet > > > and much more.... Unfortunately, it doesn't work and I get different > errors. I know that exists IronPython but I was trying to avoid to use it. > > > Thanks for your help! > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -- 47 Lining *Brian Lloyd, SVP Engineering* Cloud Advisory and Development Services M +1.540.845.2975 | E brian.lloyd at 47lining.com | W www.47lining.com This message and any attachments are confidential and intended solely for the individual(s) or entity to which it is addressed. If you are not the intended recipient, do not read, copy or distribute the email or any attachments. Please notify the sender immediately by return e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at pyxll.com Mon Jun 8 17:26:19 2015 From: tony at pyxll.com (Tony Roberts) Date: Mon, 08 Jun 2015 15:26:19 +0000 Subject: [Python.NET] Decref in RunString In-Reply-To: References: Message-ID: Looks like a copy and paste error from RunString(string code) to me. If you want to send a pull request to fix it (with a unit test if you have one - I don't think RunString is currently covered by the tests) I'll merge it. thanks! Tony On Mon, Jun 8, 2015 at 7:52 AM Nils Becker wrote: > Hello there, > > I have a quick question concerning the "RunString(string code, IntPtr > globals, IntPtr locals)" routine. In it the parameter "locals" is > decref'ed. Maybe I am missing something (could be, I do not know much about > reference counting), but should something which the user passes be > decref'ed? > > My use case is the following: I embed python into C# and have a stateful > wrapper around PythonEngine which manages a global and local dictionary. > Therefore, I need the local dictionary I pass to RunString to be accessable > (and sane) after the call. > I noticed that locals contained random content after I called RunString > and created new variables in the code. > After I removed the Decref call in RunString, it seems to work as I would > expect it to. > > Cheers > Nils > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at pyxll.com Mon Jun 8 17:22:33 2015 From: tony at pyxll.com (Tony Roberts) Date: Mon, 08 Jun 2015 15:22:33 +0000 Subject: [Python.NET] Python for .NET load .dll In-Reply-To: References: Message-ID: Hi, I seem to remember some problems possibly related to this... those binaries you've found are quite old now. As a first set I would recommend checking out the latest source from github and building the pythonnet binaries yourself. It should be as simple as running "python setup.py install" (or bdist_wheel/bdist_egg to build the wheel/egg if you prefer). The git repo is here: https://github.com/pythonnet/pythonnet/ Or if you are using python 3 use this one: https://github.com/renshawbay/pythonnet Best regards, Tony On Mon, Jun 8, 2015 at 4:10 PM Brian Lloyd wrote: > You probably need to escape those backslashes, no? e.g. > > 'C:\\Program Files\\API\\Test.NET' > > > On Mon, Jun 8, 2015 at 3:44 AM, Gianni Iannelli > wrote: > >> Dear All, >> >> >> I have a problem loading an external dll using Python through Python for >> .NET. I have tried different methodologis following stackoverflow and >> similar. I will try to summarize the situation and to describe all the >> steps that I've done. >> >> I have a dll named for e.g. Test.NET.dll. I checked with dotPeek and I >> can see, clicking on it, x64 and .NET Framework v4.5. On my computer I have >> installed the .Net Framework 4. >> >> I have also installed Python for .NET in different ways. I think that the >> best one is download the .whl from this website >> http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonnet . I have downloaded >> and installed: pythonnet?2.0.0.dev1?cp27?none?win_amd64.whl. I can imagine >> that it will works for .NET 4.0 since*Requires the Microsoft .NET >> Framework 4.0.* >> >> >> Once I have installed everything, I can do these commands: >> >> >> >>> import clr>>> import System>>> print System.Environmnet.Version>>> print System.Environment.Version4.0.30319.34209 >> >> It seems work. Then, I have tried to load my dll typing these commands: >> >> >> >>> import clr>>> dllpath= r'C:\Program Files\API\Test.NET'>>> clr.AddReference(dllpath) >> Traceback (most recent call last): >> File "", line 1, in >> clr.AddReference(dllpath)FileNotFoundException: Unable to find assembly 'C:\Program Files\API\Test.NET'. >> at Python.Runtime.CLRModule.AddReference(String name) >> >> I have also tried to add '.dll' at the end of the path but nothing >> changed. Then, I have also tried different solutions as described in: >> >> >> - >> http://stackoverflow.com/questions/14633695/how-to-install-python-for-net-on-windows >> , >> - >> http://stackoverflow.com/questions/13259617/python-for-net-unable-to-find-assembly-error >> - https://github.com/geographika/PythonDotNet >> >> >> and much more.... Unfortunately, it doesn't work and I get different >> errors. I know that exists IronPython but I was trying to avoid to use it. >> >> >> Thanks for your help! >> >> _________________________________________________ >> Python.NET mailing list - PythonDotNet at python.org >> https://mail.python.org/mailman/listinfo/pythondotnet >> > > > > -- > 47 Lining *Brian Lloyd, SVP Engineering* Cloud Advisory and > Development Services M +1.540.845.2975 | E brian.lloyd at 47lining.com | W > www.47lining.com This message and any attachments are confidential and > intended solely for the individual(s) or entity to which it is addressed. > If you are not the intended recipient, do not read, copy or distribute the > email or any attachments. Please notify the sender immediately by return > e-mail. > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From giannicristian at msn.com Mon Jun 8 17:59:21 2015 From: giannicristian at msn.com (Gianni Iannelli) Date: Mon, 8 Jun 2015 17:59:21 +0200 Subject: [Python.NET] Python for .NET load .dll In-Reply-To: References: , , Message-ID: Thanks! Is it working now! I think I have done some error trying different way of backslash and similar. I have added to the sys.path the folder where the libraries are (path without ending slash), and then, add. Now it's working. Thank you very much From: tony at pyxll.com Date: Mon, 8 Jun 2015 15:22:33 +0000 To: pythondotnet at python.org Subject: Re: [Python.NET] Python for .NET load .dll Hi, I seem to remember some problems possibly related to this... those binaries you've found are quite old now. As a first set I would recommend checking out the latest source from github and building the pythonnet binaries yourself. It should be as simple as running "python setup.py install" (or bdist_wheel/bdist_egg to build the wheel/egg if you prefer). The git repo is here: https://github.com/pythonnet/pythonnet/Or if you are using python 3 use this one: https://github.com/renshawbay/pythonnet Best regards,Tony On Mon, Jun 8, 2015 at 4:10 PM Brian Lloyd wrote: You probably need to escape those backslashes, no? e.g. 'C:\\Program Files\\API\\Test.NET' On Mon, Jun 8, 2015 at 3:44 AM, Gianni Iannelli wrote: Dear All, I have a problem loading an external dll using Python through Python for .NET. I have tried different methodologis following stackoverflow and similar. I will try to summarize the situation and to describe all the steps that I've done.I have a dll named for e.g. Test.NET.dll. I checked with dotPeek and I can see, clicking on it, x64 and .NET Framework v4.5. On my computer I have installed the .Net Framework 4.I have also installed Python for .NET in different ways. I think that the best one is download the .whl from this website http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonnet . I have downloaded and installed: pythonnet?2.0.0.dev1?cp27?none?win_amd64.whl. I can imagine that it will works for .NET 4.0 sinceRequires the Microsoft .NET Framework 4.0. Once I have installed everything, I can do these commands: >>> import clr >>> import System >>> print System.Environmnet.Version >>> print System.Environment.Version 4.0.30319.34209It seems work. Then, I have tried to load my dll typing these commands: >>> import clr >>> dllpath= r'C:\Program Files\API\Test.NET' >>> clr.AddReference(dllpath) Traceback (most recent call last): File "", line 1, in clr.AddReference(dllpath) FileNotFoundException: Unable to find assembly 'C:\Program Files\API\Test.NET'. at Python.Runtime.CLRModule.AddReference(String name)I have also tried to add '.dll' at the end of the path but nothing changed. Then, I have also tried different solutions as described in:http://stackoverflow.com/questions/14633695/how-to-install-python-for-net-on-windows,http://stackoverflow.com/questions/13259617/python-for-net-unable-to-find-assembly-errorhttps://github.com/geographika/PythonDotNet and much more.... Unfortunately, it doesn't work and I get different errors. I know that exists IronPython but I was trying to avoid to use it. Thanks for your help! _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -- 47 Lining Brian Lloyd, SVP Engineering Cloud Advisory and Development Services M +1.540.845.2975 | E brian.lloyd at 47lining.com | W www.47lining.com This message and any attachments are confidential and intended solely for the individual(s) or entity to which it is addressed. If you are not the intended recipient, do not read, copy or distribute the email or any attachments. Please notify the sender immediately by return e-mail. _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From aklein at bluemountaincapital.com Mon Jun 15 21:57:03 2015 From: aklein at bluemountaincapital.com (Adam Klein) Date: Mon, 15 Jun 2015 19:57:03 +0000 Subject: [Python.NET] surveying the landscape ... Message-ID: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> Hello all, We are using Python.NET at BlueMountain to interface between our large .NET code base and the cpython ecosystem for interactive, exploratory computing. By way of background, I was a major contributor to the pandas library for a time; my firm is behind the Deedle library (https://github.com/BlueMountainCapital/Deedle). To state the obvious, the project has proven hugely valuable. BlueMountain has an interest in making sure the library doesn?t languish. To that end, we?re interested in contributing to the project in terms of manpower and possibly funding development. I?d like to get a better sense of a few things: - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? - who manages releases to PyPI? - is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project? - are there other institutions that are public users of this project? - is there an official vision or roadmap for future releases? I see that python 3.x support looks like it?s happening on renshawbay/pythonnet (awesome). For other wish-list items or proposed contributions, is it best to start opening issues on the pythonnet/pythonnet github site? How are pull requests managed? I?m also wondering if there?s any collective / documented knowledge about the inherent limitations and pitfalls of the library and/or where development resources are needed? Best, Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.d.lloyd at gmail.com Mon Jun 15 22:32:13 2015 From: brian.d.lloyd at gmail.com (Brian Lloyd) Date: Mon, 15 Jun 2015 16:32:13 -0400 Subject: [Python.NET] surveying the landscape ... In-Reply-To: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> References: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> Message-ID: Hi Adam - thanks for the note, and happy to see Python for .NET is useful to you. I can't answer all of the questions, but can take a swing at a few: - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? I'm still above ground, but not really active on the Python for .NET project recently, mostly due to creation of a cloud-centric business, shift of focus etc. I still follow developments, but without a business driver can't justify a lot of bandwidth on it. Tony and others are probably better candidates for BDFL ;) - who manages releases to PyPI? That I don't know. the answer may be "nobody" right now - while there are a number of active contributors to the project, it really hasn't gotten the critical mass that most OSS projects need to have dedicated release responsibilities, etc. While releases may have been made to PyPI, I'm not sure anyone views it as a responsibility at this point (correct me if I'm wrong guys). - is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project? As far as I know, this is the main conduit for discussion, and the place where the most active contributors chat. - are there other institutions that are public users of this project? I can't name names, but I've had discussions with numerous companies that are active users. The sweet spot seems to be in the financial industry (driving trading models, etc.) People are using it for mission critical things that are managing real money. - is there an official vision or roadmap for future releases? I would say probably not - while some folks like Tony have really stepped up to push to project forward, it takes a bigger commitment to have roadmaps, etc. I think the project may still be too "niche" for that to happen organically - people have day jobs and contribute as they can to achieve their own goals (which is great!), but it usually requires funding or a wider ecosystem to support more mature product management activities. Hopefully this is helpful, if not all ideal answers :) On Mon, Jun 15, 2015 at 3:57 PM, Adam Klein wrote: > Hello all, > > > > We are using Python.NET at BlueMountain to interface between our large > .NET code base and the cpython ecosystem for interactive, exploratory > computing. By way of background, I was a major contributor to the pandas > library for a time; my firm is behind the Deedle library ( > https://github.com/BlueMountainCapital/Deedle). > > To state the obvious, the project has proven hugely valuable. > BlueMountain has an interest in making sure the library doesn?t languish. > To that end, we?re interested in contributing to the project in terms of > manpower and possibly funding development. I?d like to get a better sense > of a few things: > > > > - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts > steering the ship (being the top code contributor recently on github?) It > looks like python 3.x integration and more recent work is happening on on > renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? > > - who manages releases to PyPI? > > - is this PythonDotNet mailing list the appropriate clearinghouse for all > discussions related to the project? > > - are there other institutions that are public users of this project? > > - is there an official vision or roadmap for future releases? > > > > I see that python 3.x support looks like it?s happening on > renshawbay/pythonnet (awesome). For other wish-list items or proposed > contributions, is it best to start opening issues on the > pythonnet/pythonnet github site? How are pull requests managed? > > > > I?m also wondering if there?s any collective / documented knowledge about > the inherent limitations and pitfalls of the library and/or where > development resources are needed? > > > > Best, > > Adam > > > > > > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -- 47 Lining *Brian Lloyd, SVP Engineering* Cloud Advisory and Development Services M +1.540.845.2975 | E brian.lloyd at 47lining.com | W www.47lining.com This message and any attachments are confidential and intended solely for the individual(s) or entity to which it is addressed. If you are not the intended recipient, do not read, copy or distribute the email or any attachments. Please notify the sender immediately by return e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad at fie.us Mon Jun 15 23:35:40 2015 From: brad at fie.us (Brad Friedman) Date: Mon, 15 Jun 2015 17:35:40 -0400 Subject: [Python.NET] surveying the landscape ... In-Reply-To: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> References: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> Message-ID: <7DBB5EA3-0D73-4E2B-B876-833847F1B150@fie.us> I'll chime in and say the lack of these kinds of legitimate "stake-holder" systems and responsibilities has forced me to turn away from depending my work on this project. I still keep up on it in hopes that it will turn around. If a legitimate player were to step up and contribute to a responsible, active and stable future for the project, I'd likely reconsider my stance and begin active support again. It's hard to justify putting much into it as one guy with limited resources. It needs full multi-platform release and development support both as a python module and a .net embedding toolkit, both for Python 2.x and 3.x. That's a lot of work to commit to getting set right and maintaining. > On Jun 15, 2015, at 3:57 PM, Adam Klein wrote: > > Hello all, > > We are using Python.NET at BlueMountain to interface between our large .NET code base and the cpython ecosystem for interactive, exploratory computing. By way of background, I was a major contributor to the pandas library for a time; my firm is behind the Deedle library (https://github.com/BlueMountainCapital/Deedle). > To state the obvious, the project has proven hugely valuable. BlueMountain has an interest in making sure the library doesn?t languish. To that end, we?re interested in contributing to the project in terms of manpower and possibly funding development. I?d like to get a better sense of a few things: > > - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? > - who manages releases to PyPI? > - is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project? > - are there other institutions that are public users of this project? > - is there an official vision or roadmap for future releases? > > I see that python 3.x support looks like it?s happening on renshawbay/pythonnet (awesome). For other wish-list items or proposed contributions, is it best to start opening issues on the pythonnet/pythonnet github site? How are pull requests managed? > > I?m also wondering if there?s any collective / documented knowledge about the inherent limitations and pitfalls of the library and/or where development resources are needed? > > Best, > Adam > > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From btribble at ea.com Tue Jun 16 01:08:54 2015 From: btribble at ea.com (Tribble, Brett) Date: Mon, 15 Jun 2015 23:08:54 +0000 Subject: [Python.NET] surveying the landscape ... In-Reply-To: <7DBB5EA3-0D73-4E2B-B876-833847F1B150@fie.us> References: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> <7DBB5EA3-0D73-4E2B-B876-833847F1B150@fie.us> Message-ID: Adam, I?m ecstatic that there?s a player out there who is making good use of Python.net, and who would like to help contribute. Organizational and logistical issues aside, I?m all for anything you can throw at the project! Someone correct me if I?m wrong, but I believe Brian Lloyd has largely yielded this project to Tony and the community. Based on Brian and Tony?s past posts, I?m fairly sure they?ll welcome any and all contributions to the project. It may sound sacrilegious to some, but I would love to see the PTVS (https://pytools.codeplex.com/) folks get involved with the project. They?re turning out a solid product, and this fits solidly in with what Microsoft is trying to do with PTVS, .NET Core, Azure etc. From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of Brad Friedman Sent: Monday, June 15, 2015 2:36 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ... I'll chime in and say the lack of these kinds of legitimate "stake-holder" systems and responsibilities has forced me to turn away from depending my work on this project. I still keep up on it in hopes that it will turn around. If a legitimate player were to step up and contribute to a responsible, active and stable future for the project, I'd likely reconsider my stance and begin active support again. It's hard to justify putting much into it as one guy with limited resources. It needs full multi-platform release and development support both as a python module and a .net embedding toolkit, both for Python 2.x and 3.x. That's a lot of work to commit to getting set right and maintaining. On Jun 15, 2015, at 3:57 PM, Adam Klein > wrote: Hello all, We are using Python.NET at BlueMountain to interface between our large .NET code base and the cpython ecosystem for interactive, exploratory computing. By way of background, I was a major contributor to the pandas library for a time; my firm is behind the Deedle library (https://github.com/BlueMountainCapital/Deedle). To state the obvious, the project has proven hugely valuable. BlueMountain has an interest in making sure the library doesn?t languish. To that end, we?re interested in contributing to the project in terms of manpower and possibly funding development. I?d like to get a better sense of a few things: - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? - who manages releases to PyPI? - is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project? - are there other institutions that are public users of this project? - is there an official vision or roadmap for future releases? I see that python 3.x support looks like it?s happening on renshawbay/pythonnet (awesome). For other wish-list items or proposed contributions, is it best to start opening issues on the pythonnet/pythonnet github site? How are pull requests managed? I?m also wondering if there?s any collective / documented knowledge about the inherent limitations and pitfalls of the library and/or where development resources are needed? Best, Adam _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at pyxll.com Tue Jun 16 11:16:47 2015 From: tony at pyxll.com (Tony Roberts) Date: Tue, 16 Jun 2015 09:16:47 +0000 Subject: [Python.NET] surveying the landscape ... In-Reply-To: References: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> <7DBB5EA3-0D73-4E2B-B876-833847F1B150@fie.us> Message-ID: Hi Adam, from my point of view it'd be great to have more people involved. I've been doing some development, but more or less out of necessity (I enjoy working on the project when I can, but don't really have the time to commit to it much more than I have been unfortunately). To give you some background around why there's the renshawbay repo as well as the main repo; Initially I created the renshawbay repo as there were various changes I needed to make to the project while it was hosted in sourceforge, and for me it was easier to manage that in github. I added Python 3 support, and later some stuff around subclassing .net classes in Python. It was then decided to move the project to github, so we created the pythonnet repo directly from the sourceforge repo rather than fork the renshawbay repo. The thinking back then was that we should do a 2.0 release based off that fork, and then once that was stable look at merging in the Python 3 work from the renshawbay fork. So, to answer your first question - pythonnet/pythonnet is the official repo, but most new development (new features etc) has taken place on the renshawbay/pythonnet fork in the python3 branch (which maintains support for Python 2). There's no official roadmap that I'm aware of. There are some issues and milestones in the github repo, but AFAIK no one is actively working on those right now. There are only a couple of issues remaining for the 2.0 release however. Pull requests to the official repo are reviewed and merged by the project owners (of which I'm one). So far those have been bug fixes or changes necessary for the 2.0 release. I keep the renshawbay fork up to date with any commits to the main repo. For what it's worth, here's what I'm aware of that needs attention: - Finalizing and releasing to PyPI the 2.0 release for Python 2.x only - Testing and getting the renshawbay python3 branch working on non-windows platforms (the linux build currently has problems, and I've not tested any mac builds) - Merging the renshawbay python3 branch into the main pythonnet fork - Updating the docs If you're able to help at all that would be much appreciated. Best regards, Tony On Tue, Jun 16, 2015 at 12:08 AM Tribble, Brett wrote: > Adam, I?m ecstatic that there?s a player out there who is making good > use of Python.net, and who would like to help contribute. Organizational > and logistical issues aside, I?m all for anything you can throw at the > project! Someone correct me if I?m wrong, but I believe Brian Lloyd has > largely yielded this project to Tony and the community. Based on Brian and > Tony?s past posts, I?m fairly sure they?ll welcome any and all > contributions to the project. > > > > It may sound sacrilegious to some, but I would love to see the PTVS ( > https://pytools.codeplex.com/) folks get involved with the project. > They?re turning out a solid product, and this fits solidly in with what > Microsoft is trying to do with PTVS, .NET Core, Azure etc. > > > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+btribble= > ea.com at python.org] *On Behalf Of *Brad Friedman > *Sent:* Monday, June 15, 2015 2:36 PM > *To:* A list for users and developers of Python for .NET > *Subject:* Re: [Python.NET] surveying the landscape ... > > > > I'll chime in and say the lack of these kinds of legitimate "stake-holder" > systems and responsibilities has forced me to turn away from depending my > work on this project. I still keep up on it in hopes that it will turn > around. If a legitimate player were to step up and contribute to a > responsible, active and stable future for the project, I'd likely > reconsider my stance and begin active support again. It's hard to justify > putting much into it as one guy with limited resources. It needs full > multi-platform release and development support both as a python module and > a .net embedding toolkit, both for Python 2.x and 3.x. That's a lot of > work to commit to getting set right and maintaining. > > > On Jun 15, 2015, at 3:57 PM, Adam Klein > wrote: > > Hello all, > > > > We are using Python.NET at BlueMountain to interface between our large > .NET code base and the cpython ecosystem for interactive, exploratory > computing. By way of background, I was a major contributor to the pandas > library for a time; my firm is behind the Deedle library ( > https://github.com/BlueMountainCapital/Deedle). > > To state the obvious, the project has proven hugely valuable. BlueMountain > has an interest in making sure the library doesn?t languish. To that end, > we?re interested in contributing to the project in terms of manpower and > possibly funding development. I?d like to get a better sense of a few > things: > > > > - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts > steering the ship (being the top code contributor recently on github?) It > looks like python 3.x integration and more recent work is happening on on > renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? > > - who manages releases to PyPI? > > - is this PythonDotNet mailing list the appropriate clearinghouse for all > discussions related to the project? > > - are there other institutions that are public users of this project? > > - is there an official vision or roadmap for future releases? > > > > I see that python 3.x support looks like it?s happening on > renshawbay/pythonnet (awesome). For other wish-list items or proposed > contributions, is it best to start opening issues on the > pythonnet/pythonnet github site? How are pull requests managed? > > > > I?m also wondering if there?s any collective / documented knowledge about > the inherent limitations and pitfalls of the library and/or where > development resources are needed? > > > > Best, > > Adam > > > > > > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From rharding64 at yahoo.com Tue Jun 16 12:10:05 2015 From: rharding64 at yahoo.com (Ron Harding) Date: Tue, 16 Jun 2015 10:10:05 +0000 (UTC) Subject: [Python.NET] surveying the landscape ... In-Reply-To: References: Message-ID: <1730384795.4550639.1434449405945.JavaMail.yahoo@mail.yahoo.com> i'm still new with ironpython, along with using python 2.7, platformio, pyserial, pyvisa.? I am an EE who cross trained into MS .NET programming from embedded micro-controller systems development and manufacturing. ?? I primarily use python on embedded linux systems such as beaglebone black, raspberry pi, seeeduino arch.? although i also have netduino devices running MS .NET micro framework.? does python.net run on .net micro framework? ? thanks Ron ??The desire that guides me in all I do is the desire to harness the forces of nature to the service of mankind. ?Nikola Tesla?Radio Power Will Revolutionize the World? (Modern Mechanix & Inventions, July, 1934) On Tuesday, June 16, 2015 2:37 AM, Tony Roberts wrote: Hi Adam, from my point of view it'd be great to have more people involved. I've been doing some development, but more or less out of necessity (I enjoy working on the project when I can, but don't really have the time to commit to it much more than I have been unfortunately). To give you some background around why there's the renshawbay repo as well as the main repo; Initially I created the renshawbay repo as there were various changes I needed to make to the project while it was hosted in sourceforge, and for me it was easier to manage that in github. I added Python 3 support, and later some stuff around subclassing .net classes in Python. It was then decided to move the project to github, so we created the pythonnet repo directly from the sourceforge repo rather than fork the renshawbay repo. The thinking back then was that we should do a 2.0 release based off that fork, and then once that was stable look at merging in the Python 3 work from the renshawbay fork. So, to answer your first question - pythonnet/pythonnet is the official repo, but most new development (new features etc) has taken place on the renshawbay/pythonnet fork in the python3 branch (which maintains support for Python 2). There's no official roadmap that I'm aware of. There are some issues and milestones in the github repo, but AFAIK no one is actively working on those right now. There are only a couple of issues remaining for the 2.0 release however. Pull requests to the official repo are reviewed and merged by the project owners (of which I'm one). So far those have been bug fixes or changes necessary for the 2.0 release. I keep the renshawbay fork up to date with any commits to the main repo. For what it's worth, here's what I'm aware of that needs attention:? ? - Finalizing and releasing to PyPI the 2.0 release for Python 2.x only? ? - Testing and getting the renshawbay python3 branch working on non-windows platforms (the linux build currently has problems, and I've not tested any mac builds)? ? - Merging the renshawbay python3 branch into the main pythonnet fork? ? - Updating the docs If you're able to help at all that would be much appreciated. Best regards,Tony On Tue, Jun 16, 2015 at 12:08 AM Tribble, Brett wrote: Adam, I?m ecstatic that there?s a player out there who is making good use of Python.net, and who would like to help contribute. Organizational and logistical issues aside, I?m all for anything you can throw at the project! Someone correct me if I?m wrong, but I believe Brian Lloyd has largely yielded this project to Tony and the community. Based on Brian and ?Tony?s past posts, I?m fairly sure they?ll welcome any and all contributions to the project.?It may sound sacrilegious to some, but I would love to see the PTVS (https://pytools.codeplex.com/) folks get involved with the project. They?re turning out a solid product, and this fits solidly in with what Microsoft is trying to do with PTVS, .NET Core, Azure etc.??From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org]On Behalf Of Brad Friedman Sent: Monday, June 15, 2015 2:36 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ...?I'll chime in and say the lack of these kinds of legitimate "stake-holder" systems and responsibilities has forced me to turn away from depending my work on this project. I still keep up on it in hopes that it will turn around.? If a legitimate player were to step up and contribute to a responsible, active and stable future for the project, I'd likely reconsider my stance and begin active support again. It's hard to justify putting much into it as one guy with limited resources.? It needs full multi-platform release and development support both as a python module and a .net embedding toolkit, both for Python 2.x and 3.x.? That's a lot of work to commit to getting set right and maintaining. On Jun 15, 2015, at 3:57 PM, Adam Klein wrote: Hello all,?We are usingPython.NET at BlueMountain to interface between our large .NET code base and the cpython ecosystem for interactive, exploratory computing. By way of background, I was a major contributor to the pandas library for a time; my firm is behind the Deedle library (https://github.com/BlueMountainCapital/Deedle).To state the obvious, the project has proven hugely valuable. BlueMountain has an interest in making sure the library doesn?t languish. To that end, we?re interested in contributing to the project in terms of manpower and possibly funding development. I?d like to get a better sense of a few things:?- is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo?- who manages releases to PyPI?- is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project?- are there other institutions that are public users of this project?- is there an official vision or roadmap for future releases??I see that python 3.x support looks like it?s happening on renshawbay/pythonnet (awesome). For other wish-list items or proposed contributions, is it best to start opening issues on the pythonnet/pythonnet github site? How are pull requests managed??I?m also wondering if there?s any collective / documented knowledge about the inherent limitations and pitfalls of the library and/or where development resources are needed? ?Best,? Adam??? _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincenzo.gis at gmail.com Thu Jun 18 12:06:48 2015 From: vincenzo.gis at gmail.com (Vincenzo Gisondi) Date: Thu, 18 Jun 2015 10:06:48 +0000 (UTC) Subject: [Python.NET] Pythonwin crash on from import Message-ID: After recompiling the solution project of pythonent accordance with the procedure oleskii for the .NET framework 4, I'm having a problem with my code. Here are the first few lines where the crash occurs. import sys, clr sys.path.append ("G: / bin_EESPORt") clr.AddReference ("ASAM.HILAPI.Implementation") clr.AddReference ("ASAM.HILAPI.Interfaces") clr.AddReference ("dSPACE.HILAPI.EESPort") clr.AddReference ("dSPACE.HILAPI.EESPort.Interfaces") from System import * from System.IO import * from System.Threading import * from ASAM.HILAPI.dSPACE.EESPort import * #here crash PythonWin from ASAM.HILAPI.Implementation.EESPort.Error import * from ASAM.HILAPI.Interfaces.EESPort import * from ASAM.HILAPI.Interfaces.EESPort.Enum import * from ASAM.HILAPI.Interfaces.EESPort.ErrorFactory import * from ASAM.HILAPI.Interfaces.EESPort.ErrorObjects import * When in debug mode i execute the line below Pythonwin crash: from ASAM.HILAPI.dSPACE.EESPort import * #here crash PythonWin The PC system is windows 7 64-bit. The IDE used is PythonWin with Python 2.7.9 MSC v.1500 32-bit (Intel)] on win32. The Frameworks installed are: .NET Framework 4 Client Profile, .NET Framework 4 Extended, .NET Framework 4 Targeting Multi-Pack and Visual C # 2010 Express. Thank you in advance deposit for the help, I really need your help From tony at pyxll.com Thu Jun 18 15:42:20 2015 From: tony at pyxll.com (Tony Roberts) Date: Thu, 18 Jun 2015 13:42:20 +0000 Subject: [Python.NET] Pythonwin crash on from import In-Reply-To: References: Message-ID: Hi Vincenzo, are you using the pythonnet/pythonnet repo on github? If so, you can modify the setup.py file to build a debug version (set CONFIG="Debug" near the top of the file). You can then attach the visual studio debugger to your python process and step through the C# code. If you're using the source from sourceforge I suggest you try the latest code from github instead and see if that fixes your problem. Without a stack trace or more information about the crash it's hard to tell what might be going wrong I'm afraid. Tony On Thu, Jun 18, 2015 at 11:06 AM Vincenzo Gisondi wrote: > After recompiling the solution project of pythonent accordance with the > procedure oleskii for the .NET framework 4, I'm having a problem with my > code. Here are the first few lines where the crash occurs. > > > import sys, clr > > sys.path.append ("G: / bin_EESPORt") > clr.AddReference ("ASAM.HILAPI.Implementation") > clr.AddReference ("ASAM.HILAPI.Interfaces") > clr.AddReference ("dSPACE.HILAPI.EESPort") > clr.AddReference ("dSPACE.HILAPI.EESPort.Interfaces") > > > from System import * > from System.IO import * > from System.Threading import * > > from ASAM.HILAPI.dSPACE.EESPort import * #here crash PythonWin > from ASAM.HILAPI.Implementation.EESPort.Error import * > from ASAM.HILAPI.Interfaces.EESPort import * > from ASAM.HILAPI.Interfaces.EESPort.Enum import * > from ASAM.HILAPI.Interfaces.EESPort.ErrorFactory import * > from ASAM.HILAPI.Interfaces.EESPort.ErrorObjects import * > > > When in debug mode i execute the line below Pythonwin crash: > > from ASAM.HILAPI.dSPACE.EESPort import * #here crash PythonWin > > > The PC system is windows 7 64-bit. > > The IDE used is PythonWin with Python 2.7.9 MSC v.1500 32-bit (Intel)] > on win32. > > The Frameworks installed are: .NET Framework 4 Client Profile, .NET > Framework 4 Extended, .NET Framework 4 Targeting Multi-Pack and Visual C > # 2010 Express. > > Thank you in advance deposit for the help, I really need your help > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From germanocarella.list at gmail.com Sat Jun 20 15:34:44 2015 From: germanocarella.list at gmail.com (germano carella) Date: Sat, 20 Jun 2015 15:34:44 +0200 Subject: [Python.NET] Python .net and wpf: it's possible? Message-ID: <55856BF4.1060009@gmail.com> Hi, I'm Germano From Italy. I'm trying to write a wpf application using python for .net. import clr clr.AddReference("wpf\PresentationFramework.Classic") clr.AddReference("wpf\PresentationCore") from System.Windows import Window,Application class MyWindow(Window): def __init__(self): Window.__init__(self) self.LoadComponent("page.xaml") Application.Run(MyWindow()) InvalidOperationException! There is something I heve to do? What is wrong? Thanks! Germano From tony at pyxll.com Mon Jun 22 11:43:07 2015 From: tony at pyxll.com (Tony Roberts) Date: Mon, 22 Jun 2015 09:43:07 +0000 Subject: [Python.NET] Python .net and wpf: it's possible? In-Reply-To: <55856BF4.1060009@gmail.com> References: <55856BF4.1060009@gmail.com> Message-ID: Hi Germano, It helps to look at the full exception and stack trace, not just the exception type. In this case you probably got this error "System.InvalidOperationException: The calling thread must be STA, because many UI components require this." which tells you that the main thread you're calling Application.Run from is not an STA thread. The following code shows how to create and show a WPF Window. Regards, Tony // window.xaml import clr clr.AddReference(r"wpf\PresentationFramework") from System.IO import StreamReader from System.Windows.Markup import XamlReader from System.Windows import Application, Window from System.Threading import Thread, ThreadStart, ApartmentState def app_thread(): stream = StreamReader("window.xaml") window = XamlReader.Load(stream.BaseStream) Application().Run(window) thread = Thread(ThreadStart(app_thread)) thread.SetApartmentState(ApartmentState.STA) thread.Start() thread.Join() On Sat, Jun 20, 2015 at 2:34 PM germano carella < germanocarella.list at gmail.com> wrote: > Hi, > I'm Germano From Italy. > > I'm trying to write a wpf application using python for .net. > import clr > clr.AddReference("wpf\PresentationFramework.Classic") > clr.AddReference("wpf\PresentationCore") > from System.Windows import Window,Application > > class MyWindow(Window): > def __init__(self): > Window.__init__(self) > self.LoadComponent("page.xaml") > > Application.Run(MyWindow()) > > InvalidOperationException! > > There is something I heve to do? > What is wrong? > Thanks! > Germano > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hmansell at bluemountaincapital.com Mon Jun 22 16:00:36 2015 From: hmansell at bluemountaincapital.com (Howard Mansell) Date: Mon, 22 Jun 2015 14:00:36 +0000 Subject: [Python.NET] surveying the landscape ... In-Reply-To: <60CDCA83B420BB48BF95B8AF66CE7FFF45C2BD94@NYMBX02.bcna.corp> References: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> <7DBB5EA3-0D73-4E2B-B876-833847F1B150@fie.us> <60CDCA83B420BB48BF95B8AF66CE7FFF45C2BD94@NYMBX02.bcna.corp> Message-ID: <6D44D8323DD7AF45A2786ED793BC8F8944F61E8A@NYMBX02.bcna.corp> Hi All Would any of the past contributors be willing and able to work on the project more actively if we at BlueMountain funded the development? We don?t have pre-existing deep technical knowledge of the project, so contributing directly is more difficult for us. Feel free to email me directly if you are interested. (BTW, Brett ? I agree having more active support from PVTS guys would be useful. Not sure whether they are able to contribute, though) Thanks Howard From: PythonDotNet [mailto:pythondotnet-bounces+aklein=bmcm.com at python.org] On Behalf Of Tony Roberts Sent: Tuesday, June 16, 2015 5:17 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ... Hi Adam, from my point of view it'd be great to have more people involved. I've been doing some development, but more or less out of necessity (I enjoy working on the project when I can, but don't really have the time to commit to it much more than I have been unfortunately). To give you some background around why there's the renshawbay repo as well as the main repo; Initially I created the renshawbay repo as there were various changes I needed to make to the project while it was hosted in sourceforge, and for me it was easier to manage that in github. I added Python 3 support, and later some stuff around subclassing .net classes in Python. It was then decided to move the project to github, so we created the pythonnet repo directly from the sourceforge repo rather than fork the renshawbay repo. The thinking back then was that we should do a 2.0 release based off that fork, and then once that was stable look at merging in the Python 3 work from the renshawbay fork. So, to answer your first question - pythonnet/pythonnet is the official repo, but most new development (new features etc) has taken place on the renshawbay/pythonnet fork in the python3 branch (which maintains support for Python 2). There's no official roadmap that I'm aware of. There are some issues and milestones in the github repo, but AFAIK no one is actively working on those right now. There are only a couple of issues remaining for the 2.0 release however. Pull requests to the official repo are reviewed and merged by the project owners (of which I'm one). So far those have been bug fixes or changes necessary for the 2.0 release. I keep the renshawbay fork up to date with any commits to the main repo. For what it's worth, here's what I'm aware of that needs attention: - Finalizing and releasing to PyPI the 2.0 release for Python 2.x only - Testing and getting the renshawbay python3 branch working on non-windows platforms (the linux build currently has problems, and I've not tested any mac builds) - Merging the renshawbay python3 branch into the main pythonnet fork - Updating the docs If you're able to help at all that would be much appreciated. Best regards, Tony On Tue, Jun 16, 2015 at 12:08 AM Tribble, Brett > wrote: Adam, I?m ecstatic that there?s a player out there who is making good use of Python.net, and who would like to help contribute. Organizational and logistical issues aside, I?m all for anything you can throw at the project! Someone correct me if I?m wrong, but I believe Brian Lloyd has largely yielded this project to Tony and the community. Based on Brian and Tony?s past posts, I?m fairly sure they?ll welcome any and all contributions to the project. It may sound sacrilegious to some, but I would love to see the PTVS (https://pytools.codeplex.com/) folks get involved with the project. They?re turning out a solid product, and this fits solidly in with what Microsoft is trying to do with PTVS, .NET Core, Azure etc. From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of Brad Friedman Sent: Monday, June 15, 2015 2:36 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ... I'll chime in and say the lack of these kinds of legitimate "stake-holder" systems and responsibilities has forced me to turn away from depending my work on this project. I still keep up on it in hopes that it will turn around. If a legitimate player were to step up and contribute to a responsible, active and stable future for the project, I'd likely reconsider my stance and begin active support again. It's hard to justify putting much into it as one guy with limited resources. It needs full multi-platform release and development support both as a python module and a .net embedding toolkit, both for Python 2.x and 3.x. That's a lot of work to commit to getting set right and maintaining. On Jun 15, 2015, at 3:57 PM, Adam Klein > wrote: Hello all, We are using Python.NET at BlueMountain to interface between our large .NET code base and the cpython ecosystem for interactive, exploratory computing. By way of background, I was a major contributor to the pandas library for a time; my firm is behind the Deedle library (https://github.com/BlueMountainCapital/Deedle). To state the obvious, the project has proven hugely valuable. BlueMountain has an interest in making sure the library doesn?t languish. To that end, we?re interested in contributing to the project in terms of manpower and possibly funding development. I?d like to get a better sense of a few things: - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? - who manages releases to PyPI? - is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project? - are there other institutions that are public users of this project? - is there an official vision or roadmap for future releases? I see that python 3.x support looks like it?s happening on renshawbay/pythonnet (awesome). For other wish-list items or proposed contributions, is it best to start opening issues on the pythonnet/pythonnet github site? How are pull requests managed? I?m also wondering if there?s any collective / documented knowledge about the inherent limitations and pitfalls of the library and/or where development resources are needed? Best, Adam _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthoff at berkeley.edu Mon Jun 22 23:50:47 2015 From: anthoff at berkeley.edu (David Anthoff) Date: Mon, 22 Jun 2015 14:50:47 -0700 Subject: [Python.NET] surveying the landscape ... In-Reply-To: <6D44D8323DD7AF45A2786ED793BC8F8944F61E8A@NYMBX02.bcna.corp> References: <60CDCA83B420BB48BF95B8AF66CE7FFF45C211C7@NYMBX02.bcna.corp> <7DBB5EA3-0D73-4E2B-B876-833847F1B150@fie.us> <60CDCA83B420BB48BF95B8AF66CE7FFF45C2BD94@NYMBX02.bcna.corp> <6D44D8323DD7AF45A2786ED793BC8F8944F61E8A@NYMBX02.bcna.corp> Message-ID: I have the credentials to the pypi listing, and I uploaded the one dev release we made. I also am an owner of the github.com/pythonnet organization, but I think there are three other owners as well. I have moved to other projects in my work, so I won?t be making any contributions to this project going forward. I?d obviously be happy to hand over the pypi credentials and anything else to whoever steps up on this project. Best, David From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley.edu at python.org] On Behalf Of Howard Mansell Sent: Monday, June 22, 2015 7:01 AM To: pythondotnet at python.org Subject: Re: [Python.NET] surveying the landscape ... Hi All Would any of the past contributors be willing and able to work on the project more actively if we at BlueMountain funded the development? We don?t have pre-existing deep technical knowledge of the project, so contributing directly is more difficult for us. Feel free to email me directly if you are interested. (BTW, Brett ? I agree having more active support from PVTS guys would be useful. Not sure whether they are able to contribute, though) Thanks Howard From: PythonDotNet [ mailto:pythondotnet-bounces+aklein=bmcm.com at python.org] On Behalf Of Tony Roberts Sent: Tuesday, June 16, 2015 5:17 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ... Hi Adam, from my point of view it'd be great to have more people involved. I've been doing some development, but more or less out of necessity (I enjoy working on the project when I can, but don't really have the time to commit to it much more than I have been unfortunately). To give you some background around why there's the renshawbay repo as well as the main repo; Initially I created the renshawbay repo as there were various changes I needed to make to the project while it was hosted in sourceforge, and for me it was easier to manage that in github. I added Python 3 support, and later some stuff around subclassing .net classes in Python. It was then decided to move the project to github, so we created the pythonnet repo directly from the sourceforge repo rather than fork the renshawbay repo. The thinking back then was that we should do a 2.0 release based off that fork, and then once that was stable look at merging in the Python 3 work from the renshawbay fork. So, to answer your first question - pythonnet/pythonnet is the official repo, but most new development (new features etc) has taken place on the renshawbay/pythonnet fork in the python3 branch (which maintains support for Python 2). There's no official roadmap that I'm aware of. There are some issues and milestones in the github repo, but AFAIK no one is actively working on those right now. There are only a couple of issues remaining for the 2.0 release however. Pull requests to the official repo are reviewed and merged by the project owners (of which I'm one). So far those have been bug fixes or changes necessary for the 2.0 release. I keep the renshawbay fork up to date with any commits to the main repo. For what it's worth, here's what I'm aware of that needs attention: - Finalizing and releasing to PyPI the 2.0 release for Python 2.x only - Testing and getting the renshawbay python3 branch working on non-windows platforms (the linux build currently has problems, and I've not tested any mac builds) - Merging the renshawbay python3 branch into the main pythonnet fork - Updating the docs If you're able to help at all that would be much appreciated. Best regards, Tony On Tue, Jun 16, 2015 at 12:08 AM Tribble, Brett > wrote: Adam, I?m ecstatic that there?s a player out there who is making good use of Python.net, and who would like to help contribute. Organizational and logistical issues aside, I?m all for anything you can throw at the project! Someone correct me if I?m wrong, but I believe Brian Lloyd has largely yielded this project to Tony and the community. Based on Brian and Tony?s past posts, I?m fairly sure they?ll welcome any and all contributions to the project. It may sound sacrilegious to some, but I would love to see the PTVS ( https://pytools.codeplex.com/) folks get involved with the project. They?re turning out a solid product, and this fits solidly in with what Microsoft is trying to do with PTVS, .NET Core, Azure etc. From: PythonDotNet [mailto: pythondotnet-bounces+btribble= ea.com at python.org] On Behalf Of Brad Friedman Sent: Monday, June 15, 2015 2:36 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] surveying the landscape ... I'll chime in and say the lack of these kinds of legitimate "stake-holder" systems and responsibilities has forced me to turn away from depending my work on this project. I still keep up on it in hopes that it will turn around. If a legitimate player were to step up and contribute to a responsible, active and stable future for the project, I'd likely reconsider my stance and begin active support again. It's hard to justify putting much into it as one guy with limited resources. It needs full multi-platform release and development support both as a python module and a .net embedding toolkit, both for Python 2.x and 3.x. That's a lot of work to commit to getting set right and maintaining. On Jun 15, 2015, at 3:57 PM, Adam Klein > wrote: Hello all, We are using Python.NET at BlueMountain to interface between our large .NET code base and the cpython ecosystem for interactive, exploratory computing. By way of background, I was a major contributor to the pandas library for a time; my firm is behind the Deedle library ( https://github.com/BlueMountainCapital/Deedle). To state the obvious, the project has proven hugely valuable. BlueMountain has an interest in making sure the library doesn?t languish. To that end, we?re interested in contributing to the project in terms of manpower and possibly funding development. I?d like to get a better sense of a few things: - is there a BDFL ? is Brian Lloyd still active; or is Tony Roberts steering the ship (being the top code contributor recently on github?) It looks like python 3.x integration and more recent work is happening on on renshawbay/pythonnet? Is pythonnet/pythonnet still the official repo? - who manages releases to PyPI? - is this PythonDotNet mailing list the appropriate clearinghouse for all discussions related to the project? - are there other institutions that are public users of this project? - is there an official vision or roadmap for future releases? I see that python 3.x support looks like it?s happening on renshawbay/pythonnet (awesome). For other wish-list items or proposed contributions, is it best to start opening issues on the pythonnet/pythonnet github site? How are pull requests managed? I?m also wondering if there?s any collective / documented knowledge about the inherent limitations and pitfalls of the library and/or where development resources are needed? Best, Adam _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From jared at quantconnect.com Tue Jun 23 06:24:21 2015 From: jared at quantconnect.com (Jared Broad) Date: Tue, 23 Jun 2015 00:24:21 -0400 Subject: [Python.NET] Architecture Advice Message-ID: Hello All, Python.Net looks amazing, I'm excited to get into it. I wanted to ask some general architecture advice to see if what we're attempting to do is possible, and if so, how I could best lay out the design. We've got a large open source C# application called Lean which runs .NET/Mono DLL's we call "Algorithms" -- ( https://github.com/QuantConnect/Lean) we'd like to allow it to support python algorithms. Ideally, we'd like to keep all the maintenance and core code base in C#, and invoke events in Python event handlers. Users would write python algorithms (implement event handlers) which would be called from C#. They would need access to C# properties in the C# base class, and the ability to call C# methods in the base DLL. Ideally we wouldn't require a stand alone python wrapper program. I'd welcome thoughts on how to architect this in a high performance way! Thank you! Jared LEAN open source - https://github.com/QuantConnect/Lean Python algorithm frame - https://github.com/QuantConnect/Lean/tree/master/Algorithm.Python -- Jared Broad www.quantconnect.com Phone-USA: +1 917 327 0556 *Democratizing Finance, Empowering Individuals* Facebook | Twitter | LinkedIn | Skype: jaredbroad Want to know more about Algorithms? Check out our infographic! ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at pyxll.com Fri Jun 26 11:43:21 2015 From: tony at pyxll.com (Tony Roberts) Date: Fri, 26 Jun 2015 09:43:21 +0000 Subject: [Python.NET] pythonnet 2.0.0 released Message-ID: Hi, I've finally gotten round to finishing off the last couple of things that were blocking an 'official' 2.0.0 release (to do with packaging as wheels/source dist). There is now a 2.0.0 release available on PyPI ( https://pypi.python.org/pypi/pythonnet), with binary wheels for Windows (32 and 64 bit) and a source distribution for Linux and Mac. The next task will be to integrate the changes from the renshawbay/pythonnet fork to add Python 3 support. cheers, Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From aklein at bluemountaincapital.com Fri Jun 26 16:50:17 2015 From: aklein at bluemountaincapital.com (Adam Klein) Date: Fri, 26 Jun 2015 14:50:17 +0000 Subject: [Python.NET] pythonnet 2.0.0 released In-Reply-To: References: Message-ID: <60CDCA83B420BB48BF95B8AF66CE7FFF45C36163@NYMBX02.bcna.corp> Congrats and thank you! From: PythonDotNet [mailto:pythondotnet-bounces+aklein=bmcm.com at python.org] On Behalf Of Tony Roberts Sent: Friday, June 26, 2015 5:43 AM To: pythondotnet at python.org Subject: [Python.NET] pythonnet 2.0.0 released Hi, I've finally gotten round to finishing off the last couple of things that were blocking an 'official' 2.0.0 release (to do with packaging as wheels/source dist). There is now a 2.0.0 release available on PyPI (https://pypi.python.org/pypi/pythonnet), with binary wheels for Windows (32 and 64 bit) and a source distribution for Linux and Mac. The next task will be to integrate the changes from the renshawbay/pythonnet fork to add Python 3 support. cheers, Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at pyxll.com Fri Jun 26 16:39:13 2015 From: tony at pyxll.com (Tony Roberts) Date: Fri, 26 Jun 2015 14:39:13 +0000 Subject: [Python.NET] pythonnet 2.1.0.dev1 released Message-ID: Hi, I've merged the changes from the renshawbay/pythonnet fork into the develop branch in pythonnet/pythonnet and released it as 2.1.0.dev1. Binary wheels for windows (2.6 to 3.4, x86 and x86_64) have been uploaded to PyPI, along with the source dist for Linux and Mac. You can install it with pip with the --pre argument: > pip install --pre pythonnet New features are: - Python 3 support - Managed types can be sub-classed in Python and have virtual methods overridden. - Uses dynamic objects for cleaner code when embedding Python - Better Linux support (work with or without --enable-shared configure option) Now the Linux build works for Python built with and without the --enable-shared configure option, AFAIK, there's no need for the npython executable anymore so I've removed it. If it is still needed for some use case I've not considered please let me know and I will reinstate it. cheers, Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From btribble at ea.com Fri Jun 26 21:58:26 2015 From: btribble at ea.com (Tribble, Brett) Date: Fri, 26 Jun 2015 19:58:26 +0000 Subject: [Python.NET] pythonnet 2.1.0.dev1 released In-Reply-To: References: Message-ID: Wow, awesome! From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of Tony Roberts Sent: Friday, June 26, 2015 7:39 AM To: pythondotnet at python.org Subject: [Python.NET] pythonnet 2.1.0.dev1 released Hi, I've merged the changes from the renshawbay/pythonnet fork into the develop branch in pythonnet/pythonnet and released it as 2.1.0.dev1. Binary wheels for windows (2.6 to 3.4, x86 and x86_64) have been uploaded to PyPI, along with the source dist for Linux and Mac. You can install it with pip with the --pre argument: > pip install --pre pythonnet New features are: - Python 3 support - Managed types can be sub-classed in Python and have virtual methods overridden. - Uses dynamic objects for cleaner code when embedding Python - Better Linux support (work with or without --enable-shared configure option) Now the Linux build works for Python built with and without the --enable-shared configure option, AFAIK, there's no need for the npython executable anymore so I've removed it. If it is still needed for some use case I've not considered please let me know and I will reinstate it. cheers, Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From mc at mclaveau Sat Jun 27 15:36:21 2015 From: mc at mclaveau (mc at mclaveau) Date: Sat, 27 Jun 2015 15:36:21 +0200 Subject: [Python.NET] pythonnet 2.0.0 released In-Reply-To: References: Message-ID: <558EA6D5.9050501@mclaveau.com> Thank you very much!! -- Le 26.06.15 11:43, Tony Roberts a ?crit : > Hi, > > I've finally gotten round to finishing off the last couple of things > that were blocking an 'official' 2.0.0 release (to do with packaging > as wheels/source dist). > > There is now a 2.0.0 release available on PyPI > (https://pypi.python.org/pypi/pythonnet), with binary wheels for > Windows (32 and 64 bit) and a source distribution for Linux and Mac. > > The next task will be to integrate the changes from the > renshawbay/pythonnet fork to add Python 3 support. > > cheers, > Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: C:\Users\CLAVEAU\AppData\Roaming\Thunderbird\signatures\sign-styloplume.GIF Type: image/gif Size: 9129 bytes Desc: not available URL: