You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
3.7KB

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