Our service is evaluating steps to upgrade from python 2.7 to python 3.7. We heavily use document search api, but I cannot find any similar api for python 3.
Is there a plan to support document search api in python 3? or any available alternatives?
Thanks in advance.
Environment: appengine, python 2.7, standard environment.
Host any full-text search database such as Elasticsearch on Compute Engine and access it from your service.
https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3/migrating-services
Related
I am setting up a new API and Google Cloud Endpoints Frameworks looks like a good candidate to use with an AppEngine standard handler. The API handler is to accesses BigQuery in the backend - This seems to prefer newer cloud-api-client libraries.
Python 2.7 is deprecated at the start of 2020. I can't find any guidance on whether Google is going to update endpoints to support GAE on Python3.x or removed (replaced with some other product perhaps?)
App Engine now supports Python 3.x.
Should I be considering cloud endpoints framework for a new project?
You're right, Endpoints Frameworks do not support Python 3.x yet.
A possible solution would be to use Cloud Endpoints on App Engine flexible environment.
I am using Google Cloud Storage and I want to serve scaled images from it, Python 2 version of Google App Engine supported it via Images API but with Python3, they removed that API.
https://cloud.google.com/appengine/docs/standard/python3/python-differences
Cannot understand the intension behind removing such an import feature, upgrading to Python3 in Google Cloud environment sounds like a downgrade to me.
As you said, the proprietary App Engine APIs are not available in Python3.7. The main reason is because GCP is unbundling App Engine and now, you are no longer dependent on these APIs.
Currently, there are some third parties alternative solutions. In your specific case, and based on GCP documentation, I think that you can try to use Imgix or Rethumb.
Seems like Google is planning on adding it back to Python 3:
https://cloud.google.com/appengine/docs/standard/python3/services/access
To reduce runtime migration complexity, Google Cloud now supports a set of App Engine bundled services and their associated APIs on second-generation runtimes, which include Python 3, Java 11, and Go 1.12 or higher. Your app can call bundled services APIs for second-generation runtimes through language-idiomatic libraries.
Is it possible to create a Google AppEngine application using Java in one module and Python in another (or Go)?
It is possible to have modules with different languages. I have not tried it myself but it has been confirmed in the GAE google group when SDK 1.8.2 was first released.
I am now on python 2.7 and have datastore admin working I want to copy the datastore from one app to another. All the documentation I find refers to Python 2.5 where is the how to do this for Python 2.7
Datastore Admin is independent of the version you're using, so you don't have to worry about it. Please just enable Datastore Admin via the Admin Console.
Currently use of Solr or Lucene is not fully supported on Google App Engine, there are hacks around the issue but none seems perfect.
If I setup the Solr server via a cloud offering somewhere else, run the main site and application on GAE but use the Solr server for search functionalities, can anyone see any problems doing doing it this way?
The current (version 1.4.1) implementation of SolrJ (the Solr client for Java) doesn't work on GAE due to some external dependencies (mainly Apache Commons HTTP client). There are a few other gotchas, see this thread.
You can either contribute to the efforts towards a more portable SolrJ, or code directly against the Solr HTTP interface with the standard GAE HTTP client.