METADATA 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Metadata-Version: 2.3
  2. Name: Flask
  3. Version: 3.1.0
  4. Summary: A simple framework for building complex web applications.
  5. Maintainer-email: Pallets <contact@palletsprojects.com>
  6. Requires-Python: >=3.9
  7. Description-Content-Type: text/markdown
  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. Classifier: Typing :: Typed
  20. Requires-Dist: Werkzeug>=3.1
  21. Requires-Dist: Jinja2>=3.1.2
  22. Requires-Dist: itsdangerous>=2.2
  23. Requires-Dist: click>=8.1.3
  24. Requires-Dist: blinker>=1.9
  25. Requires-Dist: importlib-metadata>=3.6; python_version < '3.10'
  26. Requires-Dist: asgiref>=3.2 ; extra == "async"
  27. Requires-Dist: python-dotenv ; extra == "dotenv"
  28. Project-URL: Changes, https://flask.palletsprojects.com/changes/
  29. Project-URL: Chat, https://discord.gg/pallets
  30. Project-URL: Documentation, https://flask.palletsprojects.com/
  31. Project-URL: Donate, https://palletsprojects.com/donate
  32. Project-URL: Source, https://github.com/pallets/flask/
  33. Provides-Extra: async
  34. Provides-Extra: dotenv
  35. # Flask
  36. Flask is a lightweight [WSGI][] web application framework. It is designed
  37. to make getting started quick and easy, with the ability to scale up to
  38. complex applications. It began as a simple wrapper around [Werkzeug][]
  39. and [Jinja][], and has become one of the most popular Python web
  40. application frameworks.
  41. Flask offers suggestions, but doesn't enforce any dependencies or
  42. project layout. It is up to the developer to choose the tools and
  43. libraries they want to use. There are many extensions provided by the
  44. community that make adding new functionality easy.
  45. [WSGI]: https://wsgi.readthedocs.io/
  46. [Werkzeug]: https://werkzeug.palletsprojects.com/
  47. [Jinja]: https://jinja.palletsprojects.com/
  48. ## A Simple Example
  49. ```python
  50. # save this as app.py
  51. from flask import Flask
  52. app = Flask(__name__)
  53. @app.route("/")
  54. def hello():
  55. return "Hello, World!"
  56. ```
  57. ```
  58. $ flask run
  59. * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  60. ```
  61. ## Donate
  62. The Pallets organization develops and supports Flask and the libraries
  63. it uses. In order to grow the community of contributors and users, and
  64. allow the maintainers to devote more time to the projects, [please
  65. donate today][].
  66. [please donate today]: https://palletsprojects.com/donate