How to run python app on server through browser - python

I just started using PYTHON and now i want to run a google vision cloud app on the server but I'm not sure how to start.
I do have a server up and running at http://18.217.137.107 and the app source code looks like https://cloud.google.com/vision/docs/detecting-landmarks#vision-landmark-detection-python.
Any help would be greatly appreciated.

What you need is a webapp built on some framework like django/flask. You can find a basic app example in the following link:
Create a basic GCP app using Flask

Please refer to this documentation about deploying Python application using Cloud Storage to App Engine Flex. Also, you might find this documentation to make an HTTP Request to Google Cloud Vision API useful, but this is based on Java and not Python.

Related

How to deploy a flask application on Azure?

I am working on a Flask application and I need to deploy it on Azure.
I am totally new to Azure and I have built a project using Python Flask and HTML. In the application, I have one main Flask app and two HTML pages. I need to deploy the whole project to an Azure app service.
Can anyone please let me know how to do it on Windows?
Thanks.
As PGHE said, at present, Python is supported on Azure App Service for Linux.
You can refer to this article about Deploy Python apps to Azure App Service on Linux from Visual Studio Code.
If you still want to publish python application to azure webapp on windows you can refer to this article while the features about publishing to Azure App Service on Windows are deprecated but continue to work.

Python client for Google Container Engine API

I'm working on a project where I need to create and manage clusters, pods, services and deployments on google container engine.I have googled a lot to find an API for that, Google's Container engine REST API is available, is there any python client for that API? what I need exactly.
Help me, please!
Thanks in advance!
On this page you can find information about using Python including installation of the client library and
Google Container Engine API: The Google Container Engine API is used
for building and managing container based applications, powered by the
open source Kubernetes technology.
This page contains information about getting started with the Google
Container Engine API using the Google API Client Library for Python.
In addition, you may be interested in the following documentation.
More generally there is this page about Google APIs and Python libraries and a getting started using Python in GCE example on Github.

Running google cloud endpoints without App Engine

I'm running Google Cloud Endpoints on Google App Engine (python endpoints and soon go endpoints too)
Does it make sense to use Google Cloud endpoints without app engine e.g. on a personal server or such? Is it possible? What would be involved? (I'm thinking app engine does some magic around endpoints & api explorers etc.. which might need re implementing?)
This may help and it's open source:
http://www.appscale.com/
And I found the site from here: https://cloud.google.com/partners/technology-partners/app-engine/

How to use session on Google app engine

I'm building an application using Google app engine with python, and I'm stuck with making sessions. Is there any app that already does that for app engine? Thank you.
I recommend gae-sessions. The source includes demos which show how to use it, including how to integrate with the Users API or RPX/JanRain.
Disclaimer: I wrote gae-sessions, but for an informative comparison of it with alternatives, read this article.

How to establish communication between flex and python code build on Google App Engine

I want to communicate using flex client with GAE, I am able to communicate using XMl from GAE to FLex but how should I post from flex3 to python code present on App Engine.
Can anyone give me a hint about how to send login information from Flex to python
Any ideas suggest me some examples.....please provide me some help
Regards,
Radhika
I've been able to use flex on GAE using the examples found at The GAE SWF Project which uses PyAMF.
Do a HTTP post from Flex to your AppEngine app using the URLRequest class.

Categories