METADATA 3.5 KB

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