METADATA 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Metadata-Version: 2.1
  2. Name: Flask
  3. Version: 2.0.3
  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.6
  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 (>=7.1.2)
  37. Provides-Extra: async
  38. Requires-Dist: asgiref (>=3.2) ; extra == 'async'
  39. Provides-Extra: dotenv
  40. Requires-Dist: python-dotenv ; extra == 'dotenv'
  41. Flask
  42. =====
  43. Flask is a lightweight `WSGI`_ web application framework. It is designed
  44. to make getting started quick and easy, with the ability to scale up to
  45. complex applications. It began as a simple wrapper around `Werkzeug`_
  46. and `Jinja`_ and has become one of the most popular Python web
  47. application frameworks.
  48. Flask offers suggestions, but doesn't enforce any dependencies or
  49. project layout. It is up to the developer to choose the tools and
  50. libraries they want to use. There are many extensions provided by the
  51. community that make adding new functionality easy.
  52. .. _WSGI: https://wsgi.readthedocs.io/
  53. .. _Werkzeug: https://werkzeug.palletsprojects.com/
  54. .. _Jinja: https://jinja.palletsprojects.com/
  55. Installing
  56. ----------
  57. Install and update using `pip`_:
  58. .. code-block:: text
  59. $ pip install -U Flask
  60. .. _pip: https://pip.pypa.io/en/stable/getting-started/
  61. A Simple Example
  62. ----------------
  63. .. code-block:: python
  64. # save this as app.py
  65. from flask import Flask
  66. app = Flask(__name__)
  67. @app.route("/")
  68. def hello():
  69. return "Hello, World!"
  70. .. code-block:: text
  71. $ flask run
  72. * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  73. Contributing
  74. ------------
  75. For guidance on setting up a development environment and how to make a
  76. contribution to Flask, see the `contributing guidelines`_.
  77. .. _contributing guidelines: https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst
  78. Donate
  79. ------
  80. The Pallets organization develops and supports Flask and the libraries
  81. it uses. In order to grow the community of contributors and users, and
  82. allow the maintainers to devote more time to the projects, `please
  83. donate today`_.
  84. .. _please donate today: https://palletsprojects.com/donate
  85. Links
  86. -----
  87. - Documentation: https://flask.palletsprojects.com/
  88. - Changes: https://flask.palletsprojects.com/changes/
  89. - PyPI Releases: https://pypi.org/project/Flask/
  90. - Source Code: https://github.com/pallets/flask/
  91. - Issue Tracker: https://github.com/pallets/flask/issues/
  92. - Website: https://palletsprojects.com/p/flask/
  93. - Twitter: https://twitter.com/PalletsTeam
  94. - Chat: https://discord.gg/pallets