Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>App Engine runs Python code in a sandbox, and only authorized standard library modules &amp; packages can be imported from your application.</p> <p>as @mg has mentioned, if you want to allow for 3rd-party modules &amp; packages, you need to bundle them with your application. to do that specifically for feedparser, just drop the <code>feedparser.py</code> file into your top-level App Engine directory (where your <code>app.yaml</code>, <code>index.yaml</code>, and <code>main.py</code> are located).</p> <p>(UPDATED Oct 2011) also keep in mind the hard limits:</p> <ul> <li>max total number of files (app files and static files): 3,000 (upped to 10k in 1.5.5, Oct 2011)</li> <li>max size of an application or static file: 10MB (upped to 32MB in 1.5.5)</li> <li>max total size of all application and static files: 150MB</li> </ul> <p>if you want to save on the total number of files, you can put a wad of <code>.py</code> files in a ZIP so you only pay for one file. although this article is slightly out-of-date -- recommending bundling of Django 1.0 which is now included -- the technique of bundling modules &amp; packages into ZIP files still apply:</p> <p><a href="http://code.google.com/appengine/articles/django10_zipimport.html" rel="nofollow noreferrer">http://code.google.com/appengine/articles/django10_zipimport.html</a></p> <p>Official page in the docs which discusses the file limitations:</p> <p><a href="http://code.google.com/appengine/docs/python/runtime.html#Pure_Python" rel="nofollow noreferrer">http://code.google.com/appengine/docs/python/runtime.html#Pure_Python</a></p> <p>(UPDATED Nov 2011): The link below features a list of whitelisted Python modules/packages with C code for 2.5. The Python 2.7 runtime frees up many restrictions so much so that the whitelist has become a blacklist. Here are the allowed/whitelisted 2.5 C modules as well as the disallowed/blacklisted 2.7 C modules:</p> <p><a href="http://code.google.com/appengine/kb/libraries.html" rel="nofollow noreferrer">http://code.google.com/appengine/kb/libraries.html</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload