METADATA 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Metadata-Version: 2.1
  2. Name: Werkzeug
  3. Version: 2.2.2
  4. Summary: The comprehensive WSGI web application library.
  5. Home-page: https://palletsprojects.com/p/werkzeug/
  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://werkzeug.palletsprojects.com/
  13. Project-URL: Changes, https://werkzeug.palletsprojects.com/changes/
  14. Project-URL: Source Code, https://github.com/pallets/werkzeug/
  15. Project-URL: Issue Tracker, https://github.com/pallets/werkzeug/issues/
  16. Project-URL: Twitter, https://twitter.com/PalletsTeam
  17. Project-URL: Chat, https://discord.gg/pallets
  18. Classifier: Development Status :: 5 - Production/Stable
  19. Classifier: Environment :: Web Environment
  20. Classifier: Intended Audience :: Developers
  21. Classifier: License :: OSI Approved :: BSD License
  22. Classifier: Operating System :: OS Independent
  23. Classifier: Programming Language :: Python
  24. Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
  25. Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
  26. Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
  27. Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
  28. Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
  29. Requires-Python: >=3.7
  30. Description-Content-Type: text/x-rst
  31. License-File: LICENSE.rst
  32. Requires-Dist: MarkupSafe (>=2.1.1)
  33. Provides-Extra: watchdog
  34. Requires-Dist: watchdog ; extra == 'watchdog'
  35. Werkzeug
  36. ========
  37. *werkzeug* German noun: "tool". Etymology: *werk* ("work"), *zeug* ("stuff")
  38. Werkzeug is a comprehensive `WSGI`_ web application library. It began as
  39. a simple collection of various utilities for WSGI applications and has
  40. become one of the most advanced WSGI utility libraries.
  41. It includes:
  42. - An interactive debugger that allows inspecting stack traces and
  43. source code in the browser with an interactive interpreter for any
  44. frame in the stack.
  45. - A full-featured request object with objects to interact with
  46. headers, query args, form data, files, and cookies.
  47. - A response object that can wrap other WSGI applications and handle
  48. streaming data.
  49. - A routing system for matching URLs to endpoints and generating URLs
  50. for endpoints, with an extensible system for capturing variables
  51. from URLs.
  52. - HTTP utilities to handle entity tags, cache control, dates, user
  53. agents, cookies, files, and more.
  54. - A threaded WSGI server for use while developing applications
  55. locally.
  56. - A test client for simulating HTTP requests during testing without
  57. requiring running a server.
  58. Werkzeug doesn't enforce any dependencies. It is up to the developer to
  59. choose a template engine, database adapter, and even how to handle
  60. requests. It can be used to build all sorts of end user applications
  61. such as blogs, wikis, or bulletin boards.
  62. `Flask`_ wraps Werkzeug, using it to handle the details of WSGI while
  63. providing more structure and patterns for defining powerful
  64. applications.
  65. .. _WSGI: https://wsgi.readthedocs.io/en/latest/
  66. .. _Flask: https://www.palletsprojects.com/p/flask/
  67. Installing
  68. ----------
  69. Install and update using `pip`_:
  70. .. code-block:: text
  71. pip install -U Werkzeug
  72. .. _pip: https://pip.pypa.io/en/stable/getting-started/
  73. A Simple Example
  74. ----------------
  75. .. code-block:: python
  76. from werkzeug.wrappers import Request, Response
  77. @Request.application
  78. def application(request):
  79. return Response('Hello, World!')
  80. if __name__ == '__main__':
  81. from werkzeug.serving import run_simple
  82. run_simple('localhost', 4000, application)
  83. Donate
  84. ------
  85. The Pallets organization develops and supports Werkzeug and other
  86. popular packages. In order to grow the community of contributors and
  87. users, and allow the maintainers to devote more time to the projects,
  88. `please donate today`_.
  89. .. _please donate today: https://palletsprojects.com/donate
  90. Links
  91. -----
  92. - Documentation: https://werkzeug.palletsprojects.com/
  93. - Changes: https://werkzeug.palletsprojects.com/changes/
  94. - PyPI Releases: https://pypi.org/project/Werkzeug/
  95. - Source Code: https://github.com/pallets/werkzeug/
  96. - Issue Tracker: https://github.com/pallets/werkzeug/issues/
  97. - Website: https://palletsprojects.com/p/werkzeug/
  98. - Twitter: https://twitter.com/PalletsTeam
  99. - Chat: https://discord.gg/pallets