80 lines
1.1 KiB
ReStructuredText
80 lines
1.1 KiB
ReStructuredText
=========
|
|
Utilities
|
|
=========
|
|
|
|
Various utility functions shipped with Werkzeug.
|
|
|
|
|
|
HTML Helpers
|
|
============
|
|
|
|
.. module:: werkzeug.utils
|
|
|
|
.. autoclass:: HTMLBuilder
|
|
|
|
.. autofunction:: escape
|
|
|
|
.. autofunction:: unescape
|
|
|
|
|
|
General Helpers
|
|
===============
|
|
|
|
.. autoclass:: cached_property
|
|
:members:
|
|
|
|
.. autoclass:: environ_property
|
|
|
|
.. autoclass:: header_property
|
|
|
|
.. autofunction:: parse_cookie
|
|
|
|
.. autofunction:: dump_cookie
|
|
|
|
.. autofunction:: redirect
|
|
|
|
.. autofunction:: append_slash_redirect
|
|
|
|
.. autofunction:: import_string
|
|
|
|
.. autofunction:: find_modules
|
|
|
|
.. autofunction:: validate_arguments
|
|
|
|
.. autofunction:: secure_filename
|
|
|
|
.. autofunction:: bind_arguments
|
|
|
|
|
|
URL Helpers
|
|
===========
|
|
|
|
Please refer to :doc:`urls`.
|
|
|
|
UserAgent Parsing
|
|
=================
|
|
|
|
.. module:: werkzeug.useragents
|
|
|
|
.. autoclass:: UserAgent
|
|
:members:
|
|
|
|
|
|
Security Helpers
|
|
================
|
|
|
|
.. module:: werkzeug.security
|
|
|
|
.. versionadded:: 0.6.1
|
|
|
|
.. autofunction:: generate_password_hash
|
|
|
|
.. autofunction:: check_password_hash
|
|
|
|
.. autofunction:: safe_str_cmp
|
|
|
|
.. autofunction:: safe_join
|
|
|
|
.. autofunction:: pbkdf2_hex
|
|
|
|
.. autofunction:: pbkdf2_bin
|