METADATA 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. Metadata-Version: 2.1
  2. Name: Flask
  3. Version: 1.1.1
  4. Summary: A simple framework for building complex web applications.
  5. Home-page: https://palletsprojects.com/p/flask/
  6. Author: Armin Ronacher
  7. Author-email: armin.ronacher@active-4.com
  8. Maintainer: Pallets
  9. Maintainer-email: contact@palletsprojects.com
  10. License: BSD-3-Clause
  11. Project-URL: Documentation, https://flask.palletsprojects.com/
  12. Project-URL: Code, https://github.com/pallets/flask
  13. Project-URL: Issue tracker, https://github.com/pallets/flask/issues
  14. Platform: UNKNOWN
  15. Classifier: Development Status :: 5 - Production/Stable
  16. Classifier: Environment :: Web Environment
  17. Classifier: Framework :: Flask
  18. Classifier: Intended Audience :: Developers
  19. Classifier: License :: OSI Approved :: BSD License
  20. Classifier: Operating System :: OS Independent
  21. Classifier: Programming Language :: Python
  22. Classifier: Programming Language :: Python :: 2
  23. Classifier: Programming Language :: Python :: 2.7
  24. Classifier: Programming Language :: Python :: 3
  25. Classifier: Programming Language :: Python :: 3.5
  26. Classifier: Programming Language :: Python :: 3.6
  27. Classifier: Programming Language :: Python :: 3.7
  28. Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
  29. Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
  30. Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
  31. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  32. Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
  33. Requires-Dist: Werkzeug (>=0.15)
  34. Requires-Dist: Jinja2 (>=2.10.1)
  35. Requires-Dist: itsdangerous (>=0.24)
  36. Requires-Dist: click (>=5.1)
  37. Provides-Extra: dev
  38. Requires-Dist: pytest ; extra == 'dev'
  39. Requires-Dist: coverage ; extra == 'dev'
  40. Requires-Dist: tox ; extra == 'dev'
  41. Requires-Dist: sphinx ; extra == 'dev'
  42. Requires-Dist: pallets-sphinx-themes ; extra == 'dev'
  43. Requires-Dist: sphinxcontrib-log-cabinet ; extra == 'dev'
  44. Requires-Dist: sphinx-issues ; extra == 'dev'
  45. Provides-Extra: docs
  46. Requires-Dist: sphinx ; extra == 'docs'
  47. Requires-Dist: pallets-sphinx-themes ; extra == 'docs'
  48. Requires-Dist: sphinxcontrib-log-cabinet ; extra == 'docs'
  49. Requires-Dist: sphinx-issues ; extra == 'docs'
  50. Provides-Extra: dotenv
  51. Requires-Dist: python-dotenv ; extra == 'dotenv'
  52. Flask
  53. =====
  54. Flask is a lightweight `WSGI`_ web application framework. It is designed
  55. to make getting started quick and easy, with the ability to scale up to
  56. complex applications. It began as a simple wrapper around `Werkzeug`_
  57. and `Jinja`_ and has become one of the most popular Python web
  58. application frameworks.
  59. Flask offers suggestions, but doesn't enforce any dependencies or
  60. project layout. It is up to the developer to choose the tools and
  61. libraries they want to use. There are many extensions provided by the
  62. community that make adding new functionality easy.
  63. Installing
  64. ----------
  65. Install and update using `pip`_:
  66. .. code-block:: text
  67. pip install -U Flask
  68. A Simple Example
  69. ----------------
  70. .. code-block:: python
  71. from flask import Flask
  72. app = Flask(__name__)
  73. @app.route("/")
  74. def hello():
  75. return "Hello, World!"
  76. .. code-block:: text
  77. $ env FLASK_APP=hello.py flask run
  78. * Serving Flask app "hello"
  79. * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  80. Contributing
  81. ------------
  82. For guidance on setting up a development environment and how to make a
  83. contribution to Flask, see the `contributing guidelines`_.
  84. .. _contributing guidelines: https://github.com/pallets/flask/blob/master/CONTRIBUTING.rst
  85. Donate
  86. ------
  87. The Pallets organization develops and supports Flask and the libraries
  88. it uses. In order to grow the community of contributors and users, and
  89. allow the maintainers to devote more time to the projects, `please
  90. donate today`_.
  91. .. _please donate today: https://psfmember.org/civicrm/contribute/transact?reset=1&id=20
  92. Links
  93. -----
  94. * Website: https://palletsprojects.com/p/flask/
  95. * Documentation: https://flask.palletsprojects.com/
  96. * Releases: https://pypi.org/project/Flask/
  97. * Code: https://github.com/pallets/flask
  98. * Issue tracker: https://github.com/pallets/flask/issues
  99. * Test status: https://dev.azure.com/pallets/flask/_build
  100. * Official chat: https://discord.gg/t6rrQZH
  101. .. _WSGI: https://wsgi.readthedocs.io
  102. .. _Werkzeug: https://www.palletsprojects.com/p/werkzeug/
  103. .. _Jinja: https://www.palletsprojects.com/p/jinja/
  104. .. _pip: https://pip.pypa.io/en/stable/quickstart/