76 lines
1.9 KiB
Plaintext
76 lines
1.9 KiB
Plaintext
Metadata-Version: 2.0
|
|
Name: Flask
|
|
Version: 0.12.2
|
|
Summary: A microframework based on Werkzeug, Jinja2 and good intentions
|
|
Home-page: http://github.com/pallets/flask/
|
|
Author: Armin Ronacher
|
|
Author-email: armin.ronacher@active-4.com
|
|
License: BSD
|
|
Platform: any
|
|
Classifier: Development Status :: 4 - Beta
|
|
Classifier: Environment :: Web Environment
|
|
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.6
|
|
Classifier: Programming Language :: Python :: 2.7
|
|
Classifier: Programming Language :: Python :: 3
|
|
Classifier: Programming Language :: Python :: 3.3
|
|
Classifier: Programming Language :: Python :: 3.4
|
|
Classifier: Programming Language :: Python :: 3.5
|
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
Requires-Dist: Jinja2 (>=2.4)
|
|
Requires-Dist: Werkzeug (>=0.7)
|
|
Requires-Dist: click (>=2.0)
|
|
Requires-Dist: itsdangerous (>=0.21)
|
|
|
|
Flask
|
|
-----
|
|
|
|
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good
|
|
intentions. And before you ask: It's BSD licensed!
|
|
|
|
Flask is Fun
|
|
````````````
|
|
|
|
Save in a hello.py:
|
|
|
|
.. code:: python
|
|
|
|
from flask import Flask
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def hello():
|
|
return "Hello World!"
|
|
|
|
if __name__ == "__main__":
|
|
app.run()
|
|
|
|
And Easy to Setup
|
|
`````````````````
|
|
|
|
And run it:
|
|
|
|
.. code:: bash
|
|
|
|
$ pip install Flask
|
|
$ python hello.py
|
|
* Running on http://localhost:5000/
|
|
|
|
Ready for production? `Read this first <http://flask.pocoo.org/docs/deploying/>`.
|
|
|
|
Links
|
|
`````
|
|
|
|
* `website <http://flask.pocoo.org/>`_
|
|
* `documentation <http://flask.pocoo.org/docs/>`_
|
|
* `development version
|
|
<http://github.com/pallets/flask/zipball/master#egg=Flask-dev>`_
|
|
|
|
|
|
|