METADATA 4.6 KB

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