METADATA 4.7 KB

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