Python updates through Eclipse - python

How do I get Python updates through Eclipse Kepler Version?
I previously used to download it from the Google Apps Engine website, but since January 2014 Google recommended using Eclipse to get automatic updates for Python. However, when I downloaded Eclipse Kepler it did not contain Python. It only contains Java.

Eclipse has several plugins that support developing software with Python (PyDev, for example). None of those include a Python runtime and they never did. So you probably misunderstood something.
My guess is that when you say "Python", you actually mean "the app engine framework for the Python language".
As far as I can tell, you still get that from Google: https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python
Now there is also a plugin for Eclipse which adds extended support for developing App Engine applications. You get that from Google as well: https://developers.google.com/eclipse/docs/getting_started

Related

Can Azure Functions be written in Python?

I'm interested in using Azure Functions written in Python with Cosmos DB.
I saw a demo that was posted very recently (February 6th) that showed how to enable "Experimental Language Support" for AFs. Referencing the demo here (https://www.youtube.com/watch?v=pKGVRKtCp7Y) shows enabling this support option (as of 8 weeks ago) allowed Azure Functions to be written in Python.
I've followed the steps in the demo and I dont see Python as an option currently in my portal for HTTP Triggers. I'm wondering if support for Python has been dropped entirely or if there's a step I'm missing?
Please advise.
.
From the GitHub issue:In-portal editing will be disabled for Python Functions.
Python Function Apps on Functions v2, deployed to a Linux App Service
Plan allow in-portal file editing. This feature will be disabled
starting March 2019.
However you still could create the Python Function with VS code extension or Azure Functions Core Tools.

App Engine is not supported for python 3 in pycharm

I want to create a google app engine project in pycharm. I select python 3, give my project a name.
And it's written that App Engine is not supported for the selected interpreter
I can choose python 2.7 and it is working but why can't I choose python 3.6? I even tried 3.5, same problem. However in official documentation it supports python 3.6...
I'm sure I have installed google app flexible environment
I'll leave there a screen of pycharm just in case gdrive link
AFAIK PyCharm's GAE support means:
ability to run/debug a GAE app project using the SDK's dev_appserver.py - which is only supported for the standard environment
ability to deploy on GAE using the SDK utilities - which not long ago didn't even support well apps with multiple standard environment services - I had to deploy my app manually.
In other words PyCharm doesn't offer real/significant benefits for the flexible env GAE apps, you'll have to complement it with manual ops or scripts anyways.
So I'd just create a regular python 3.5/3.6 project and simply not specify it's also a GAE project.

Alternative IDE supporting debugging for Google App Engine in Python (Eclipse + PyDev no debug support on SDK 1.7.6+)

I'm developing on GAE-Python 2.7 using Eclipse+PyDev as IDE. Since GAE SDK 1.7.6 (March 2013), where Google "broke" support for breakpoints*, I've been using the old dev server to continue debugging the application I'm working on.
However, Google will drop support of the old dev server as of July 2013 and, since I do not expect a prompt solution for this on PyDev (I've seen no activity so far about this), I would like to look for an alternative IDE to still being able to do debugging.
I know that one of the possible options is to go for PyCharm (initial license of 89€+VAT and 59€+VAT each year to continue receiving upgrades), but I would like to know how other people is (will be) addressing this problem and what are the current alternatives to PyCharm
*I would like to clarify the sentence "Google broke support for breakpoints": In SDK 1.7.6+, Google started using stdin/stdout in the new dev server for doing IPC and this leaves no chances to even do debugging with pdb. Google claims that they have created the hooks for tool vendors to support debugging (as PyCharm did) but, in my opinion, they "broke" debugging by forcing people to move away from the IDE they were initially recommending due to an architectural decision (I'm not an expert, but they could have used the native IPC mechanisms included in Python instead of using stdin/stdout).
EDIT:
I forgot to mention that I'm running Eclipse+Pydev for MacOSX, so please, also mention your OS compatibility in your alternatives/solutions.
I posted this in google groups a while back. I can run debugging in Boa Constructor using remote debugging. https://groups.google.com/forum/#!topicsearchin/google-appengine/Boa/google-appengine/-m00Qz4Vc7U
I am pretty sure it would be trivial to make winpdb work with remote debugging as well, though I haven't tried it (I don't use winpdb ;-)
If any other debug environments support similiar remote debugging facilities it shouldn't be too hard to get them going.
There a screen shot of Boa debugging in action here https://groups.google.com/forum/#!searchin/google-appengine/debugging$20Boa/google-appengine/ZHHkwr3ok8c/btDno8oPYyAJ
T
The latest version of PyDev (2.8.1) supports GAE debugging. However, "Edit and Continue Debugging or Interactive Debugging" feature seems to have stopped working.

The best tools for working with Google App Engine Python

I'm an existing C# (ASP.NET MVC 3 years +), C++, Javascript developer, and have done a bit of Python development in my time.
I'm looking to take on a Google App Engine Python project and essentially I feel a bit lost without a decent integrated IDE experience + Data Management tool with GUI. Is GAE just for hardcore developers that can code right first time, in vim? I feel like I'm wasting time on things that could honestly code in 5 mins in a more Established framework.
I'm currently using the Eclipse plugin, and trying to view all the elements in an array while paused. I'm drilling into objects, but can't seem to find the list.
Is this just something that can't be done with App Engine at the moment, if so please do help me!
I also assume there is no amazing data management tool yet?
I have used both Wing IDE Pro and PyCharm. Both are great lightweight IDEs but for me Pycharm is the winner for Google App Engine development. It has built in support for GAE.
Get the python plugin for google app engine from http://pydev.org/. It supportS direct deployment to appengine from eclipse. It's one of the best environment for the ones from C#,.NET. It even has autocomplete and lot more........
please refer to this http://code.google.com/appengine/articles/eclipse.html
I use Wing IDE Pro and it's the best python ide I've ever used by far. I use VS 2010 Ultimate for C#, so for me to feel comfortable and efficient in Wing says a lot concerning its quality for writing python. For GAE specifically, Wing supports debugging locally.

Is it possible to deploy a Python application on the Mac App Store?

Does Apple accept Python applications for distribution on the new Mac App Store?
If so, how should the application be packaged? Is py2app sufficient? Something else?
I packaged Pennywise, which is available on the Mac App Store. It's based on Virgil's moneyGuru, which uses Python, PyObjC, and py2app.
You will have to follow Apple's process for preparing an application for submission to the Mac App Store. Most importantly, you will want to add the proper keys to your Info.plist, and remove any automatic updating mechanism, e.g. Sparkle. It's not strictly required, but you will probably also want to implement receipt checking. Using Xcode will make the submission process much easier. You can look at the moneyGuru source code for an example of how to use Xcode as the final part of the build process.
Py2app embeds a copy of the Python framework in the bundle, so I don't know whether Apple would approve an application that only linked to the system framework. While the primary binary can't support PPC, Apple does not seem to check the architectures of binaries in embedded frameworks.
One final caveat: I wouldn't recommend this process for writing new applications. Using Python, PyObjC, and py2app seriously complicates the build process and introduces additional dependencies.
I know it's possible because I know of at least one Python-based app that is in the app store ("Pennywise", which is based on my own app, moneyGuru, which uses Python + PyObjc + py2app). I didn't do it myself, so I'm not sure of the details.
I wrote a comprehensive article explaining how to build and submit a Python app to the Mac App Store. It includes source code and build scripts for a barebones example app that I have successfully submitted.
Submitting a Python App to the Mac App Store
Yes, it is possible, as long as you adhere with the full set of approval guidelines. This means that the python interpreter will have to be bundled into your application, for example.
See here for a full list of requirements:
https://developer.apple.com/appstore/mac/resources/approval/guidelines.html
It is quite possible. My app is currently listed:
http://itunes.apple.com/us/app/quickwho/id419483981?mt=12&ls=1#
Bundled up with py2app, no worries.
Apple provides the Build Applet tool for Python with Xcode so it should be supported by the App store. MacOS X 10.6.6 includes Python 2.5 and 2.6 as part of the default install, you can specify /usr/bin/python2.5 and /usr/lib/python2.5.

Categories