From denis.akhiyarov at gmail.com Thu Nov 3 10:58:26 2016 From: denis.akhiyarov at gmail.com (Denis Akhiyarov) Date: Thu, 3 Nov 2016 09:58:26 -0500 Subject: [Python.NET] Fwd: New python.net questions for Nov 3 - Stack Exchange Message-ID: [image: Stack Exchange] The following item was added to your Stack Exchange "python.net" feed . [image: Stack Overflow] How to use Python and .NET/C# to automatise Princeton Instruments LightField I want to use Python to control a proprietary spectroscopic software (Princeton Instruments LightField). I have a Lightfield automatisation exemple using Mathlab. The exemple use .NET to control ... tagged: c# , python , .net , matlab , python.net Nov 3 at 13:48 Unsubscribe from this filter or change your email preferences by visiting your filter subscriptions page on stackexchange.com . Questions? Comments? Let us know on our feedback site . If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails. Stack Exchange Inc. 110 William Street, 28th floor, NY NY 10038 <3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.akhiyarov at gmail.com Wed Nov 9 03:13:57 2016 From: denis.akhiyarov at gmail.com (Denis Akhiyarov) Date: Wed, 9 Nov 2016 02:13:57 -0600 Subject: [Python.NET] surveying the landscape ... Message-ID: Hi David, Can you please give access to pythonnet on Test PyPI to me? https://testpypi.python.org/pypi/pythonnet For example 3 people have access to production PyPI installation: https://pypi.python.org/pypi/pythonnet/2.2.0.dev1 Thanks, Denis On Mon, Jun 22, 2015 at 4:50 PM, David Anthoff wrote: > 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 > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From OysteinIdema.Torget at statkraft.com Wed Nov 23 08:19:59 2016 From: OysteinIdema.Torget at statkraft.com (=?iso-8859-1?Q?Torget_=D8ystein_Idema?=) Date: Wed, 23 Nov 2016 13:19:59 +0000 Subject: [Python.NET] Adding new attributes to .Net classes is unstable Message-ID: Hi, I have a problem with adding attributes to .Net classes being unstable. E.g. from System import TimeSpan TimeSpan.my_method = lambda self: self.TotalMinutes ts = TimeSpan.FromHours(1) ts.my_method() This code will sometimes work and other times fail with the exception 'TimeSpan' object has no attribute 'my_method'. The failure rate is variable and for some scripts/program it will work all the time while for others it will not work at all. It seems to fail a lot more often on Python 3.5 than on Python 3.4. If I look at either dir(ts) or ts.__class__.__dict__ the method is there even when the call to my_method fails. I have tried to look into the PythonNet code for clues, but as far as I can see the new attribute is registered by MetaType. tp_setattro without error, but the method is still not found. What I want to ask you is 1. Is adding new attributes to a .Net class supported behaviour or does it work more or less by accident? 2. Any pointers to how the attribute lookup is handled for .Net classes is appreciated. Currently I have not found if and where PythonNet is involved in the actual attribute lookup process. Cheers, ?ystein Idema Torget -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.akhiyarov at gmail.com Sat Nov 26 21:12:46 2016 From: denis.akhiyarov at gmail.com (Denis Akhiyarov) Date: Sat, 26 Nov 2016 20:12:46 -0600 Subject: [Python.NET] advanced book about Python In-Reply-To: References: Message-ID: I purchased the book for 160 USD with discount and it is now available to first 50 pythonnet contributors, who reply to me: https://thehackerguidetopython.com/ The book is available in all major e-book formats: PDF, MOBI, EPUB and also online. You can get a sense of the book from the author's blog: https://julien.danjou.info/blog/ On Wed, Oct 26, 2016 at 1:26 PM, Denis Akhiyarov wrote: > I'm looking for 2 more contributors before purchasing the book. Please let > me know! > > By pythonnet contributor I really mean anyone who contributed not only > code but also pythonnet issues or wiki. > > Here is the list of current contributors: > > dta at dta-Inspiron-N5050 ~ $ octohatrack pythonnet/pythonnet > Collecting API contributors... > Collecting all repo contributors.................. > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ..................................................... > Collecting wiki contributors..... > Collecting CONTRIBUTORS file...No CONTRIBUTORS file > > GitHub Contributors: > BartonCline > brianlloyd (Brian Lloyd) > davidanthoff (David Anthoff) > denfromufa > dgsantana (Daniel Santana) > dlech (David Lechner) > fdanny > filmor (Benedikt Reinartz) > hsoft (Virgil Dupras) > jfrayne > johnburnett (John Burnett) > leith-bartrich (Bradley Friedman) > lstratman (Luke Stratman) > matthid (Matthias Dittrich) > omnicognate > patstew > rico-chet > rnestler (Raphael Nestler) > sdpython (xavier dupr?) > stonebig > sweinst > swinstanley (Sam Winstanley) > t3476 (He-chien Tsai) > tiran (Christian Heimes) > tonyroberts (Tony Roberts) > vmuriart (Vik) > zanedp (Zane D. Purvis) > > All Contributors: > adamklein (Adam Klein) > AlexCatarino (Alexandre Catarino) > Alvarz (Carlos Alvarez) > andygraham > anntzer (Antony Lee) > aolney (Andrew M Olney) > aPere3 (Alex, P?r?) > ArvidJB > BartonCline > bastelflp (Philipp Huebner) > bc3tech (Brandon H) > bltribble > brianlloyd (Brian Lloyd) > BrisingrAerowing (Brisingr Aerowing) > ChristopherHoward > chunyisong > colbyj (Colby Johanson) > curzona (Aron Curzon) > dandersson > danic (Dani Carles) > davidanthoff (David Anthoff) > dgsantana (Daniel Santana) > dhirschfeld (Dave Hirschfeld) > dlech (David Lechner) > dmitriyse > dmitry-a-morozov (Dmitry Morozov) > eisenheimjelid (Jelid Leon) > electronicpatterns (Alexander McLin) > fdanny > filmor (Benedikt Reinartz) > freakboy3742 (Russell Keith-Magee) > FredChauviere > galpin > gatapia (Guido Tapia) > ghost (Deleted user) > gnychis (George Nychis) > hognala (Alan Copeland) > hsoft (Virgil Dupras) > Ijwu (Hussein Farran) > jfbramboll (Jason Boileau) > jfrayne > JimSEOW (JimSw2016) > jnkramer3 > johnburnett (John Burnett) > jomido (Jonathan Dobson) > jonnojohnson > JosefNemec (Josef Nemec) > josselex > karbon62 (Lisa Van Sau) > karmakat (Aleks Berland) > kelvinomolumo > kuraga (Alexander Kurakin) > laomagege > laurentbeaumer (Laurent Beaumer) > lcorrigan > leith-bartrich (Bradley Friedman) > leomeuk (Leo) > letianzj (Letian) > LinJianping > lstratman (Luke Stratman) > mackim83 (Mac Kim) > mahibra > maksimlinio (Maksim K) > mateuszlewko > matthid (Matthias Dittrich) > mikofski (Mark Mikofski) > minxomat (311ba2 5453bf) > mozey (Christiaan van Zyl) > mx (Morgon Kanter) > nikhil003 (Nikhil Garg) > npezolano (Nicholas Pezolano) > omnicognate > oysols > patstew > rico-chet > rihardsk (Rihards Kri?lauks) > rnestler (Raphael Nestler) > roarlarsen (Roar Larsen) > rogersachan (Roger) > royalstream (Steven Burns) > rudil > sdpython (xavier dupr?) > selikhovel > shotskii > sigbjorn > somelinguist > spichardo > stonebig > sweinst > swinstanley (Sam Winstanley) > t3476 (He-chien Tsai) > tactevo (Charley Lanusse) > theonewolf (Wolfgang Richter) > ThiefMaster (Adrian) > Thraka (Andy De George) > thu2004 (Thu) > tiran (Christian Heimes) > tonyroberts (Tony Roberts) > uberclops > uenz > vincenzogis > vmuriart (Vik) > wagnerpeer > wiwat-tharateeraparb (Wiwat Tharateeraparb) > yajiedesign (Hu Shiwen) > yever (Ya'ar Hever) > yuvval > zanedp (Zane D. Purvis) > zhenghan008 > ZhukovGreen > zooba (Steve Dower) > zwadar > > Repo: pythonnet/pythonnet > GitHub Contributors: 27 > All Contributors: 112 > > > Thanks, > Denis > > On Fri, Oct 14, 2016 at 2:09 AM, Pochon-Gu?rin Ludovic < > Ludovic.Pochon-Guerin at statkraft.com> wrote: > >> Yes please, >> >> >> >> I want to contribute to get a copy. >> >> >> >> Mvh >> >> Ludovic >> >> >> >> *From:* PythonDotNet [mailto:pythondotnet-bounces+ludovic.pochon-guerin= >> statkraft.com at python.org] *On Behalf Of *Denis Akhiyarov >> *Sent:* 13. oktober 2016 23:39 >> *To:* A list for users and developers of Python for .NET >> *Subject:* [Python.NET] advanced book about Python >> >> >> >> Hi Python and .NET developers, >> >> >> >> I would like to purchase a copy of this advanced book about Python for >> pythonnet contributors: >> >> >> >> https://thehackerguidetopython.com >> >> >> >> The cost of professional license to share with 50 people is 199 USD ($), >> but I will pay it in full if at least 10 people agree to contribute any >> amount towards the full cost. The book is sold for 29$ for one person. >> >> >> >> The author agreed to this deal. The author is OpenStack Project Team >> Leader and Technical Committee Member. >> >> >> >> >> >> [image: Inline image 1] >> >> >> >> Here is a sample chapter about functional programming, comprehensions, >> and generators: >> >> >> >> https://thehackerguidetopython.com/the-hacker-guide-to-python-sample.pdf >> >> >> >> Please reply to me or here if you would like to get this offer! >> >> >> >> Thanks, >> >> Denis >> >> _________________________________________________ >> Python.NET mailing list - PythonDotNet at python.org >> https://mail.python.org/mailman/listinfo/pythondotnet >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 31643 bytes Desc: not available URL: