GithubHelp home page GithubHelp logo

isabella232 / python-compat-runtime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/python-compat-runtime

0.0 0.0 0.0 104.5 MB

DEPRECATED: gcr.io/google_appengine/python-compat-multicore

License: Apache License 2.0

Python 75.73% PHP 20.26% JavaScript 2.68% CSS 0.20% HTML 1.11% Makefile 0.01% Shell 0.01%

python-compat-runtime's Introduction

DEPRECATED: Google App Engine Flexible Environment Python Compat Runtime

This repository contains the source code used for the App Engine Flexible Environment Python Compat (multicore) runtime, corresponding to env:flex + runtime: python-compat in your app.yaml. This runtime provides best effort compatibility with applications written to target the App Engine Standard Environment with Python 2.7. This runtime is deprecated and incomplete.

Using this runtime

Do not use this runtime for new development. If you are using this runtime, you should expediently migrate to the vanilla Python runtime before November 2017.

Gunicorn configuration

By default the multi-process version of the runtime is launched via the Gunicorn webserver and is configured to use gevent-based concurrency and a number of processes equal to the number of CPU cores available.

This can be changed by creating a file called gunicorn.conf.py in your application's root directory, which will override the default gunicorn.conf.py included with this project. Refer the gunicorn documentation for details.

Caveats

This runtime is deprecated and incomplete. Only critical bug fixes are planned.

Notably:

  • Handlers in app.yaml that are flagged as login: required or login: admin are not supported. Attemping to access these handlers will result in a 404 as the handlers will not be registered.
  • threadsafe: false in app.yaml is ignored. Your application must either be threadsafe or you much change the gunicorn configuration to use sync workers.
  • Deferred TaskQueues are not functional.

There may be other features that are not implemented or not functional in this version.

Contributing changes

See CONTRIBUTING.md

Licensing

See LICENSE

python-compat-runtime's People

Contributors

andrewsg avatar b-daniels avatar bryanmau1 avatar gregsako avatar justinbeckwith avatar proppy avatar vladlf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.