METADATA 4.3 KB

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