METADATA 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Metadata-Version: 2.1
  2. Name: Flask
  3. Version: 2.1.2
  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: Donate, https://palletsprojects.com/donate
  12. Project-URL: Documentation, https://flask.palletsprojects.com/
  13. Project-URL: Changes, https://flask.palletsprojects.com/changes/
  14. Project-URL: Source Code, https://github.com/pallets/flask/
  15. Project-URL: Issue Tracker, https://github.com/pallets/flask/issues/
  16. Project-URL: Twitter, https://twitter.com/PalletsTeam
  17. Project-URL: Chat, https://discord.gg/pallets
  18. Platform: UNKNOWN
  19. Classifier: Development Status :: 5 - Production/Stable
  20. Classifier: Environment :: Web Environment
  21. Classifier: Framework :: Flask
  22. Classifier: Intended Audience :: Developers
  23. Classifier: License :: OSI Approved :: BSD License
  24. Classifier: Operating System :: OS Independent
  25. Classifier: Programming Language :: Python
  26. Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
  27. Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
  28. Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
  29. Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
  30. Requires-Python: >=3.7
  31. Description-Content-Type: text/x-rst
  32. License-File: LICENSE.rst
  33. Requires-Dist: Werkzeug (>=2.0)
  34. Requires-Dist: Jinja2 (>=3.0)
  35. Requires-Dist: itsdangerous (>=2.0)
  36. Requires-Dist: click (>=8.0)
  37. Requires-Dist: importlib-metadata (>=3.6.0) ; python_version < "3.10"
  38. Provides-Extra: async
  39. Requires-Dist: asgiref (>=3.2) ; extra == 'async'
  40. Provides-Extra: dotenv
  41. Requires-Dist: python-dotenv ; extra == 'dotenv'
  42. Flask
  43. =====
  44. Flask is a lightweight `WSGI`_ web application framework. It is designed
  45. to make getting started quick and easy, with the ability to scale up to
  46. complex applications. It began as a simple wrapper around `Werkzeug`_
  47. and `Jinja`_ and has become one of the most popular Python web
  48. application frameworks.
  49. Flask offers suggestions, but doesn't enforce any dependencies or
  50. project layout. It is up to the developer to choose the tools and
  51. libraries they want to use. There are many extensions provided by the
  52. community that make adding new functionality easy.
  53. .. _WSGI: https://wsgi.readthedocs.io/
  54. .. _Werkzeug: https://werkzeug.palletsprojects.com/
  55. .. _Jinja: https://jinja.palletsprojects.com/
  56. Installing
  57. ----------
  58. Install and update using `pip`_:
  59. .. code-block:: text
  60. $ pip install -U Flask
  61. .. _pip: https://pip.pypa.io/en/stable/getting-started/
  62. A Simple Example
  63. ----------------
  64. .. code-block:: python
  65. # save this as app.py
  66. from flask import Flask
  67. app = Flask(__name__)
  68. @app.route("/")
  69. def hello():
  70. return "Hello, World!"
  71. .. code-block:: text
  72. $ flask run
  73. * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  74. Contributing
  75. ------------
  76. For guidance on setting up a development environment and how to make a
  77. contribution to Flask, see the `contributing guidelines`_.
  78. .. _contributing guidelines: https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst
  79. Donate
  80. ------
  81. The Pallets organization develops and supports Flask and the libraries
  82. it uses. In order to grow the community of contributors and users, and
  83. allow the maintainers to devote more time to the projects, `please
  84. donate today`_.
  85. .. _please donate today: https://palletsprojects.com/donate
  86. Links
  87. -----
  88. - Documentation: https://flask.palletsprojects.com/
  89. - Changes: https://flask.palletsprojects.com/changes/
  90. - PyPI Releases: https://pypi.org/project/Flask/
  91. - Source Code: https://github.com/pallets/flask/
  92. - Issue Tracker: https://github.com/pallets/flask/issues/
  93. - Website: https://palletsprojects.com/p/flask/
  94. - Twitter: https://twitter.com/PalletsTeam
  95. - Chat: https://discord.gg/pallets