-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'pyextra/' changes from 4eda4dd..eb09257
eb09257 Add gunicorn to pyextra 9558197 add flask to pyextra git-subtree-dir: pyextra git-subtree-split: eb092578c359bd54db22569d696ecacbd90237c3
- Loading branch information
Vehicle Researcher
committed
May 23, 2018
1 parent
57b9ddf
commit ea6c196
Showing
168 changed files
with
51,052 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
Metadata-Version: 1.1 | ||
Name: Flask | ||
Version: 1.0.2 | ||
Summary: A simple framework for building complex web applications. | ||
Home-page: https://www.palletsprojects.com/p/flask/ | ||
Author: Pallets team | ||
Author-email: contact@palletsprojects.com | ||
License: BSD | ||
Description: Flask | ||
===== | ||
|
||
Flask is a lightweight `WSGI`_ web application framework. It is designed | ||
to make getting started quick and easy, with the ability to scale up to | ||
complex applications. It began as a simple wrapper around `Werkzeug`_ | ||
and `Jinja`_ and has become one of the most popular Python web | ||
application frameworks. | ||
|
||
Flask offers suggestions, but doesn't enforce any dependencies or | ||
project layout. It is up to the developer to choose the tools and | ||
libraries they want to use. There are many extensions provided by the | ||
community that make adding new functionality easy. | ||
|
||
|
||
Installing | ||
---------- | ||
|
||
Install and update using `pip`_: | ||
|
||
.. code-block:: text | ||
|
||
pip install -U Flask | ||
|
||
|
||
A Simple Example | ||
---------------- | ||
|
||
.. code-block:: python | ||
|
||
from flask import Flask | ||
|
||
app = Flask(__name__) | ||
|
||
@app.route('/') | ||
def hello(): | ||
return 'Hello, World!' | ||
|
||
.. code-block:: text | ||
|
||
$ FLASK_APP=hello.py flask run | ||
* Serving Flask app "hello" | ||
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) | ||
|
||
|
||
Donate | ||
------ | ||
|
||
The Pallets organization develops and supports Flask and the libraries | ||
it uses. In order to grow the community of contributors and users, and | ||
allow the maintainers to devote more time to the projects, `please | ||
donate today`_. | ||
|
||
.. _please donate today: https://psfmember.org/civicrm/contribute/transact?reset=1&id=20 | ||
|
||
|
||
Links | ||
----- | ||
|
||
* Website: https://www.palletsprojects.com/p/flask/ | ||
* Documentation: http://flask.pocoo.org/docs/ | ||
* License: `BSD <https://github.com/pallets/flask/blob/master/LICENSE>`_ | ||
* Releases: https://pypi.org/project/Flask/ | ||
* Code: https://github.com/pallets/flask | ||
* Issue tracker: https://github.com/pallets/flask/issues | ||
* Test status: | ||
|
||
* Linux, Mac: https://travis-ci.org/pallets/flask | ||
* Windows: https://ci.appveyor.com/project/pallets/flask | ||
|
||
* Test coverage: https://codecov.io/gh/pallets/flask | ||
|
||
.. _WSGI: https://wsgi.readthedocs.io | ||
.. _Werkzeug: https://www.palletsprojects.com/p/werkzeug/ | ||
.. _Jinja: https://www.palletsprojects.com/p/jinja/ | ||
.. _pip: https://pip.pypa.io/en/stable/quickstart/ | ||
|
||
Platform: any | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Web Environment | ||
Classifier: Framework :: Flask | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: BSD License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.4 | ||
Classifier: Programming Language :: Python :: 3.5 | ||
Classifier: Programming Language :: Python :: 3.6 | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application | ||
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,223 @@ | ||
AUTHORS | ||
CHANGES.rst | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
README.rst | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
Flask.egg-info/PKG-INFO | ||
Flask.egg-info/SOURCES.txt | ||
Flask.egg-info/dependency_links.txt | ||
Flask.egg-info/entry_points.txt | ||
Flask.egg-info/not-zip-safe | ||
Flask.egg-info/requires.txt | ||
Flask.egg-info/top_level.txt | ||
artwork/LICENSE | ||
artwork/logo-full.svg | ||
artwork/logo-lineart.svg | ||
docs/Makefile | ||
docs/advanced_foreword.rst | ||
docs/api.rst | ||
docs/appcontext.rst | ||
docs/becomingbig.rst | ||
docs/blueprints.rst | ||
docs/changelog.rst | ||
docs/cli.rst | ||
docs/conf.py | ||
docs/config.rst | ||
docs/contents.rst.inc | ||
docs/contributing.rst | ||
docs/design.rst | ||
docs/errorhandling.rst | ||
docs/extensiondev.rst | ||
docs/extensions.rst | ||
docs/flaskstyle.sty | ||
docs/foreword.rst | ||
docs/htmlfaq.rst | ||
docs/index.rst | ||
docs/installation.rst | ||
docs/latexindex.rst | ||
docs/license.rst | ||
docs/logging.rst | ||
docs/logo.pdf | ||
docs/make.bat | ||
docs/quickstart.rst | ||
docs/reqcontext.rst | ||
docs/security.rst | ||
docs/server.rst | ||
docs/shell.rst | ||
docs/signals.rst | ||
docs/styleguide.rst | ||
docs/templating.rst | ||
docs/testing.rst | ||
docs/unicode.rst | ||
docs/upgrading.rst | ||
docs/views.rst | ||
docs/_static/debugger.png | ||
docs/_static/flask-favicon.ico | ||
docs/_static/flask.png | ||
docs/_static/logo-full.png | ||
docs/_static/no.png | ||
docs/_static/pycharm-runconfig.png | ||
docs/_static/touch-icon.png | ||
docs/_static/yes.png | ||
docs/deploying/cgi.rst | ||
docs/deploying/fastcgi.rst | ||
docs/deploying/index.rst | ||
docs/deploying/mod_wsgi.rst | ||
docs/deploying/uwsgi.rst | ||
docs/deploying/wsgi-standalone.rst | ||
docs/patterns/apierrors.rst | ||
docs/patterns/appdispatch.rst | ||
docs/patterns/appfactories.rst | ||
docs/patterns/caching.rst | ||
docs/patterns/celery.rst | ||
docs/patterns/deferredcallbacks.rst | ||
docs/patterns/distribute.rst | ||
docs/patterns/errorpages.rst | ||
docs/patterns/fabric.rst | ||
docs/patterns/favicon.rst | ||
docs/patterns/fileuploads.rst | ||
docs/patterns/flashing.rst | ||
docs/patterns/index.rst | ||
docs/patterns/jquery.rst | ||
docs/patterns/lazyloading.rst | ||
docs/patterns/methodoverrides.rst | ||
docs/patterns/mongokit.rst | ||
docs/patterns/packages.rst | ||
docs/patterns/requestchecksum.rst | ||
docs/patterns/sqlalchemy.rst | ||
docs/patterns/sqlite3.rst | ||
docs/patterns/streaming.rst | ||
docs/patterns/subclassing.rst | ||
docs/patterns/templateinheritance.rst | ||
docs/patterns/urlprocessors.rst | ||
docs/patterns/viewdecorators.rst | ||
docs/patterns/wtforms.rst | ||
docs/tutorial/blog.rst | ||
docs/tutorial/database.rst | ||
docs/tutorial/deploy.rst | ||
docs/tutorial/factory.rst | ||
docs/tutorial/flaskr_edit.png | ||
docs/tutorial/flaskr_index.png | ||
docs/tutorial/flaskr_login.png | ||
docs/tutorial/index.rst | ||
docs/tutorial/install.rst | ||
docs/tutorial/layout.rst | ||
docs/tutorial/next.rst | ||
docs/tutorial/static.rst | ||
docs/tutorial/templates.rst | ||
docs/tutorial/tests.rst | ||
docs/tutorial/views.rst | ||
examples/javascript/.gitignore | ||
examples/javascript/LICENSE | ||
examples/javascript/MANIFEST.in | ||
examples/javascript/README.rst | ||
examples/javascript/setup.cfg | ||
examples/javascript/setup.py | ||
examples/javascript/js_example/__init__.py | ||
examples/javascript/js_example/views.py | ||
examples/javascript/js_example/templates/base.html | ||
examples/javascript/js_example/templates/fetch.html | ||
examples/javascript/js_example/templates/jquery.html | ||
examples/javascript/js_example/templates/plain.html | ||
examples/javascript/tests/conftest.py | ||
examples/javascript/tests/test_js_example.py | ||
examples/tutorial/.gitignore | ||
examples/tutorial/LICENSE | ||
examples/tutorial/MANIFEST.in | ||
examples/tutorial/README.rst | ||
examples/tutorial/setup.cfg | ||
examples/tutorial/setup.py | ||
examples/tutorial/flaskr/__init__.py | ||
examples/tutorial/flaskr/auth.py | ||
examples/tutorial/flaskr/blog.py | ||
examples/tutorial/flaskr/db.py | ||
examples/tutorial/flaskr/schema.sql | ||
examples/tutorial/flaskr/static/style.css | ||
examples/tutorial/flaskr/templates/base.html | ||
examples/tutorial/flaskr/templates/auth/login.html | ||
examples/tutorial/flaskr/templates/auth/register.html | ||
examples/tutorial/flaskr/templates/blog/create.html | ||
examples/tutorial/flaskr/templates/blog/index.html | ||
examples/tutorial/flaskr/templates/blog/update.html | ||
examples/tutorial/tests/conftest.py | ||
examples/tutorial/tests/data.sql | ||
examples/tutorial/tests/test_auth.py | ||
examples/tutorial/tests/test_blog.py | ||
examples/tutorial/tests/test_db.py | ||
examples/tutorial/tests/test_factory.py | ||
flask/__init__.py | ||
flask/__main__.py | ||
flask/_compat.py | ||
flask/app.py | ||
flask/blueprints.py | ||
flask/cli.py | ||
flask/config.py | ||
flask/ctx.py | ||
flask/debughelpers.py | ||
flask/globals.py | ||
flask/helpers.py | ||
flask/logging.py | ||
flask/sessions.py | ||
flask/signals.py | ||
flask/templating.py | ||
flask/testing.py | ||
flask/views.py | ||
flask/wrappers.py | ||
flask/json/__init__.py | ||
flask/json/tag.py | ||
tests/conftest.py | ||
tests/test_appctx.py | ||
tests/test_basic.py | ||
tests/test_blueprints.py | ||
tests/test_cli.py | ||
tests/test_config.py | ||
tests/test_helpers.py | ||
tests/test_instance_config.py | ||
tests/test_json_tag.py | ||
tests/test_logging.py | ||
tests/test_regression.py | ||
tests/test_reqctx.py | ||
tests/test_signals.py | ||
tests/test_subclassing.py | ||
tests/test_templating.py | ||
tests/test_testing.py | ||
tests/test_user_error_handler.py | ||
tests/test_views.py | ||
tests/static/config.json | ||
tests/static/index.html | ||
tests/templates/_macro.html | ||
tests/templates/context_template.html | ||
tests/templates/escaping_template.html | ||
tests/templates/mail.txt | ||
tests/templates/non_escaping_template.txt | ||
tests/templates/simple_template.html | ||
tests/templates/template_filter.html | ||
tests/templates/template_test.html | ||
tests/templates/nested/nested.txt | ||
tests/test_apps/.env | ||
tests/test_apps/.flaskenv | ||
tests/test_apps/blueprintapp/__init__.py | ||
tests/test_apps/blueprintapp/apps/__init__.py | ||
tests/test_apps/blueprintapp/apps/admin/__init__.py | ||
tests/test_apps/blueprintapp/apps/admin/static/test.txt | ||
tests/test_apps/blueprintapp/apps/admin/static/css/test.css | ||
tests/test_apps/blueprintapp/apps/admin/templates/admin/index.html | ||
tests/test_apps/blueprintapp/apps/frontend/__init__.py | ||
tests/test_apps/blueprintapp/apps/frontend/templates/frontend/index.html | ||
tests/test_apps/cliapp/__init__.py | ||
tests/test_apps/cliapp/app.py | ||
tests/test_apps/cliapp/factory.py | ||
tests/test_apps/cliapp/importerrorapp.py | ||
tests/test_apps/cliapp/message.txt | ||
tests/test_apps/cliapp/multiapp.py | ||
tests/test_apps/cliapp/inner1/__init__.py | ||
tests/test_apps/cliapp/inner1/inner2/__init__.py | ||
tests/test_apps/cliapp/inner1/inner2/flask.py | ||
tests/test_apps/helloworld/hello.py | ||
tests/test_apps/helloworld/wsgi.py | ||
tests/test_apps/subdomaintestmodule/__init__.py | ||
tests/test_apps/subdomaintestmodule/static/hello.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[console_scripts] | ||
flask = flask.cli:main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
../flask/testing.py | ||
../flask/templating.py | ||
../flask/__main__.py | ||
../flask/sessions.py | ||
../flask/signals.py | ||
../flask/helpers.py | ||
../flask/debughelpers.py | ||
../flask/wrappers.py | ||
../flask/app.py | ||
../flask/ctx.py | ||
../flask/config.py | ||
../flask/logging.py | ||
../flask/blueprints.py | ||
../flask/views.py | ||
../flask/cli.py | ||
../flask/_compat.py | ||
../flask/globals.py | ||
../flask/__init__.py | ||
../flask/json/tag.py | ||
../flask/json/__init__.py | ||
../flask/testing.pyc | ||
../flask/templating.pyc | ||
../flask/__main__.pyc | ||
../flask/sessions.pyc | ||
../flask/signals.pyc | ||
../flask/helpers.pyc | ||
../flask/debughelpers.pyc | ||
../flask/wrappers.pyc | ||
../flask/app.pyc | ||
../flask/ctx.pyc | ||
../flask/config.pyc | ||
../flask/logging.pyc | ||
../flask/blueprints.pyc | ||
../flask/views.pyc | ||
../flask/cli.pyc | ||
../flask/_compat.pyc | ||
../flask/globals.pyc | ||
../flask/__init__.pyc | ||
../flask/json/tag.pyc | ||
../flask/json/__init__.pyc | ||
not-zip-safe | ||
entry_points.txt | ||
dependency_links.txt | ||
PKG-INFO | ||
top_level.txt | ||
requires.txt | ||
SOURCES.txt | ||
../../../../bin/flask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
Oops, something went wrong.