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.

129 lines
4.3KB

  1. Metadata-Version: 2.1
  2. Name: Werkzeug
  3. Version: 2.0.1
  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. Requires-Dist: dataclasses ; python_version < "3.7"
  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/quickstart/
  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