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.

116 lines
3.8 KiB

4 years ago
  1. Metadata-Version: 2.0
  2. Name: Werkzeug
  3. Version: 0.14.1
  4. Summary: The comprehensive WSGI web application library.
  5. Home-page: https://www.palletsprojects.org/p/werkzeug/
  6. Author: Armin Ronacher
  7. Author-email: armin.ronacher@active-4.com
  8. License: BSD
  9. Description-Content-Type: UNKNOWN
  10. Platform: any
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Environment :: Web Environment
  13. Classifier: Intended Audience :: Developers
  14. Classifier: License :: OSI Approved :: BSD License
  15. Classifier: Operating System :: OS Independent
  16. Classifier: Programming Language :: Python
  17. Classifier: Programming Language :: Python :: 2
  18. Classifier: Programming Language :: Python :: 2.6
  19. Classifier: Programming Language :: Python :: 2.7
  20. Classifier: Programming Language :: Python :: 3
  21. Classifier: Programming Language :: Python :: 3.3
  22. Classifier: Programming Language :: Python :: 3.4
  23. Classifier: Programming Language :: Python :: 3.5
  24. Classifier: Programming Language :: Python :: 3.6
  25. Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
  26. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  27. Provides-Extra: dev
  28. Requires-Dist: coverage; extra == 'dev'
  29. Requires-Dist: pytest; extra == 'dev'
  30. Requires-Dist: sphinx; extra == 'dev'
  31. Requires-Dist: tox; extra == 'dev'
  32. Provides-Extra: termcolor
  33. Requires-Dist: termcolor; extra == 'termcolor'
  34. Provides-Extra: watchdog
  35. Requires-Dist: watchdog; extra == 'watchdog'
  36. Werkzeug
  37. ========
  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 source
  43. code in the browser with an interactive interpreter for any frame in
  44. the stack.
  45. * A full-featured request object with objects to interact with headers,
  46. 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 from
  51. 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 locally.
  55. * A test client for simulating HTTP requests during testing without
  56. requiring running a server.
  57. Werkzeug is Unicode aware and doesn't enforce any dependencies. It is up
  58. to the developer to choose a template engine, database adapter, and even
  59. how to handle requests. It can be used to build all sorts of end user
  60. applications such as blogs, wikis, or bulletin boards.
  61. `Flask`_ wraps Werkzeug, using it to handle the details of WSGI while
  62. providing more structure and patterns for defining powerful
  63. applications.
  64. Installing
  65. ----------
  66. Install and update using `pip`_:
  67. .. code-block:: text
  68. pip install -U Werkzeug
  69. A Simple Example
  70. ----------------
  71. .. code-block:: python
  72. from werkzeug.wrappers import Request, Response
  73. @Request.application
  74. def application(request):
  75. return Response('Hello, World!')
  76. if __name__ == '__main__':
  77. from werkzeug.serving import run_simple
  78. run_simple('localhost', 4000, application)
  79. Links
  80. -----
  81. * Website: https://www.palletsprojects.com/p/werkzeug/
  82. * Releases: https://pypi.org/project/Werkzeug/
  83. * Code: https://github.com/pallets/werkzeug
  84. * Issue tracker: https://github.com/pallets/werkzeug/issues
  85. * Test status:
  86. * Linux, Mac: https://travis-ci.org/pallets/werkzeug
  87. * Windows: https://ci.appveyor.com/project/davidism/werkzeug
  88. * Test coverage: https://codecov.io/gh/pallets/werkzeug
  89. .. _WSGI: https://wsgi.readthedocs.io/en/latest/
  90. .. _Flask: https://www.palletsprojects.com/p/flask/
  91. .. _pip: https://pip.pypa.io/en/stable/quickstart/