MCPcopy Create free account

hub / github.com/pallets/werkzeug / functions

Functions2,000 in github.com/pallets/werkzeug

↓ 1 callersFunction_walk
(node: t.Mapping[str, dict], path: t.Tuple[str, ...])
src/werkzeug/_reloader.py:154
↓ 1 callersFunction_with_metaclass
Create a base class with a metaclass.
examples/cupoftee/application.py:45
↓ 1 callersMethod_wrap_range_response
Wrap existing Response in case of Range Request context.
src/werkzeug/wrappers/response.py:689
↓ 1 callersFunctionaddConsoleIconToFrames
(frames)
src/werkzeug/debug/shared/debugger.js:172
↓ 1 callersFunctionaddEventListenersToElements
(elements, event, listener)
src/werkzeug/debug/shared/debugger.js:147
↓ 1 callersFunctionaddInfoPrompt
* Add extra info
src/werkzeug/debug/shared/debugger.js:154
↓ 1 callersFunctionaddToggleFrameTraceback
(frames)
src/werkzeug/debug/shared/debugger.js:23
↓ 1 callersFunctionaddToggleTraceTypesOnClick
* toggle traceback types on click.
src/werkzeug/debug/shared/debugger.js:197
↓ 1 callersMethodallowed_methods
Returns the valid methods that match for a given path. .. versionadded:: 0.7
src/werkzeug/routing/map.py:680
↓ 1 callersMethodas_set
Convert the `ETags` object into a python set. Per default all the weak etags are not part of this set.
src/werkzeug/datastructures.py:2382
↓ 1 callersFunctionassert_environ
(environ, method)
tests/test_wrappers.py:42
↓ 1 callersFunctionauth_property
A static helper function for Authentication subclasses to add extra authentication system properties onto a class:: class FooAuthenticate
src/werkzeug/datastructures.py:2737
↓ 1 callersMethodauth_required
(self, request)
examples/httpbasicauth.py:17
↓ 1 callersFunctionbase36_encode
(number)
examples/shortly/shortly.py:18
↓ 1 callersMethodbest_match
Given a list of supported values, finds the best match from the list of accepted values. Language tags are normalized for the purpose
src/werkzeug/datastructures.py:1888
↓ 1 callersMethodbind
Bind the url to a map and create a regular expression based on the information from the rule itself and the defaults from the map. :i
src/werkzeug/routing/rules.py:545
↓ 1 callersMethodbind_f
(instance: "LocalProxy", obj: t.Any)
src/werkzeug/local.py:287
↓ 1 callersMethodbind_to_context
Useful for the shell. Binds the application to the current active context. It's automatically called by the shell command.
examples/simplewiki/application.py:47
↓ 1 callersMethodbind_to_context
(self)
examples/simplewiki/utils.py:78
↓ 1 callersMethodbuild_compare_key
The build compare key for sorting. :internal:
src/werkzeug/routing/rules.py:878
↓ 1 callersFunctionbzzzzzzz
(gyver: bytes)
src/werkzeug/_internal.py:471
↓ 1 callersMethodcheck_auth
(self, username, password)
examples/httpbasicauth.py:14
↓ 1 callersMethodcheck_environ
(self, environ: "WSGIEnvironment")
src/werkzeug/middleware/lint.py:236
↓ 1 callersMethodcheck_headers
(self, headers: Headers)
src/werkzeug/middleware/lint.py:334
↓ 1 callersMethodcheck_iterator
(self, app_iter: t.Iterable[bytes])
src/werkzeug/middleware/lint.py:361
↓ 1 callersFunctioncheck_list_content
(b, length)
tests/test_test.py:156
↓ 1 callersFunctioncheck_password_hash
Check a password against a given salted and hashed password value. In order to support unsalted legacy passwords this method supports plain te
src/werkzeug/security.py:92
↓ 1 callersMethodcheck_start_response
( self, status: str, headers: t.List[t.Tuple[str, str]], exc_info: t.Optional[
src/werkzeug/middleware/lint.py:280
↓ 1 callersFunctioncli
()
examples/manage-coolmagic.py:8
↓ 1 callersFunctioncli
()
examples/manage-i18nurls.py:8
↓ 1 callersFunctioncli
()
examples/manage-couchy.py:19
↓ 1 callersFunctioncli
()
examples/manage-simplewiki.py:24
↓ 1 callersFunctioncli
()
examples/manage-plnt.py:18
↓ 1 callersFunctioncli
()
examples/manage-shorty.py:23
↓ 1 callersFunctioncli
()
examples/manage-cupoftee.py:21
↓ 1 callersFunctioncli
()
examples/manage-webpylike.py:13
↓ 1 callersMethodclose
Close the underlying file if possible.
src/werkzeug/datastructures.py:3011
↓ 1 callersMethodclose
Close the wrapped response if possible. You can also use the object in a with statement which will automatically close it. .. versio
src/werkzeug/wrappers/response.py:434
↓ 1 callersMethodclose
Closes associated resources of this request object. This closes all file handles explicitly. You can also use the request object in
src/werkzeug/wrappers/request.py:304
↓ 1 callersMethodclose
(self)
src/werkzeug/debug/console.py:29
↓ 1 callersMethodclose
(self)
tests/test_wrappers.py:285
↓ 1 callersMethodclose
(self)
tests/test_wsgi.py:451
↓ 1 callersMethodclosest_rule
(self, adapter: t.Optional["MapAdapter"])
src/werkzeug/routing/exceptions.py:87
↓ 1 callersMethodcompile
(source: str, filename: str, symbol: str)
src/werkzeug/debug/console.py:150
↓ 1 callersMethodcopy
Return a shallow copy of this object.
src/werkzeug/datastructures.py:512
↓ 1 callersFunctioncreateConsole
()
src/werkzeug/debug/shared/debugger.js:208
↓ 1 callersFunctioncreateConsoleInput
()
src/werkzeug/debug/shared/debugger.js:228
↓ 1 callersFunctioncreateConsoleInputForm
()
src/werkzeug/debug/shared/debugger.js:222
↓ 1 callersFunctioncreateConsoleOutput
()
src/werkzeug/debug/shared/debugger.js:215
↓ 1 callersFunctioncreateExpansionButtonForConsole
()
src/werkzeug/debug/shared/debugger.js:245
↓ 1 callersFunctioncreateIconForConsole
()
src/werkzeug/debug/shared/debugger.js:238
↓ 1 callersFunctioncreateInteractiveConsole
()
src/werkzeug/debug/shared/debugger.js:253
↓ 1 callersFunctioncreate_app
(redis_host="localhost", redis_port=6379, with_static=True)
examples/shortly/shortly.py:126
↓ 1 callersFunctioncsp_property
Return a new property object for a content security policy header. Useful if you want to add support for a csp extension in a subclass.
src/werkzeug/datastructures.py:2116
↓ 1 callersFunctiondecode_part
(part: bytes)
src/werkzeug/_internal.py:432
↓ 1 callersFunctiondefault_stream_factory
( total_content_length: t.Optional[int], content_type: t.Optional[str], filename: t.Optional[str],
src/werkzeug/formparser.py:58
↓ 1 callersMethoddelete
Call :meth:`open` with ``method`` set to ``DELETE``.
src/werkzeug/test.py:1153
↓ 1 callersMethoddelete_cookie
Deletes a cookie in the test client.
src/werkzeug/test.py:929
↓ 1 callersMethoddict_repr
( self, d: t.Union[t.Dict[int, None], t.Dict[str, int], t.Dict[t.Union[str, int], int]],
src/werkzeug/debug/repr.py:166
↓ 1 callersFunctiondispatch
(path, quiet=False)
tests/test_routing.py:467
↓ 1 callersMethoddispatch
(self, environ, start_response)
examples/shorty/application.py:27
↓ 1 callersMethoddispatch_repr
(self, obj: t.Any, recursive: bool)
src/werkzeug/debug/repr.py:197
↓ 1 callersMethoddispatch_request
(self, request)
examples/httpbasicauth.py:25
↓ 1 callersMethoddispatch_request
(self, request)
examples/cupoftee/application.py:98
↓ 1 callersMethoddispatch_request
(self, request)
examples/shortly/shortly.py:107
↓ 1 callersMethoddisplay_console
Display a standalone shell.
src/werkzeug/debug/__init__.py:381
↓ 1 callersFunctiondocReady
(fn)
src/werkzeug/debug/shared/debugger.js:353
↓ 1 callersFunctiondump
Print the object details to stdout._write (for the interactive console of the web debugger.
src/werkzeug/debug/repr.py:40
↓ 1 callersFunctiondump_header
Dump an HTTP header again. This is the reversal of :func:`parse_list_header`, :func:`parse_set_header` and :func:`parse_dict_header`. This a
src/werkzeug/http.py:273
↓ 1 callersFunctionensure_echo_on
Ensure that echo mode is enabled. Some tools such as PDB disable it which causes usability issues after a reload.
src/werkzeug/_reloader.py:398
↓ 1 callersFunctionensure_redirect
(path, new_url, args=None)
tests/test_routing.py:1038
↓ 1 callersMethoderror_404
(self)
examples/shortly/shortly.py:88
↓ 1 callersMethodeval
(self, code: str)
src/werkzeug/debug/__init__.py:133
↓ 1 callersMethodeval
(self, code: str)
src/werkzeug/debug/console.py:216
↓ 1 callersMethodexecute_command
Execute a command in a console.
src/werkzeug/debug/__init__.py:366
↓ 1 callersFunctionfadeIn
(element, display)
src/werkzeug/debug/shared/debugger.js:340
↓ 1 callersFunctionfadeOut
(element)
src/werkzeug/debug/shared/debugger.js:327
↓ 1 callersMethodfallback_repr
(self)
src/werkzeug/debug/repr.py:220
↓ 1 callersMethodfetch
()
src/werkzeug/debug/console.py:73
↓ 1 callersMethodfind
Return the index of the header in the set or return -1 if not found. :param header: the header to be looked up.
src/werkzeug/datastructures.py:2286
↓ 1 callersMethodflush
(self)
src/werkzeug/debug/console.py:32
↓ 1 callersMethodfoo
(self)
tests/test_wrappers.py:367
↓ 1 callersFunctionformat_datetime
Format a datetime object.
examples/simplewiki/utils.py:67
↓ 1 callersFunctiongen
()
tests/test_wrappers.py:892
↓ 1 callersFunctiongen
()
tests/live_apps/streaming_app.py:7
↓ 1 callersFunctiongenerate
()
tests/test_wrappers.py:918
↓ 1 callersFunctiongenerate_items
()
tests/test_wrappers.py:962
↓ 1 callersFunctiongenerate_password_hash
Hash a password with the given method and salt with a string of the given length. The format of the string returned includes the method that w
src/werkzeug/security.py:60
↓ 1 callersFunctiongenerator
()
tests/test_wrappers.py:905
↓ 1 callersFunctionget
()
tests/test_local.py:555
↓ 1 callersMethodget_all
Return a list of all the values for the named field. This method is compatible with the :mod:`wsgiref` :meth:`~wsgiref.headers.Header
src/werkzeug/datastructures.py:985
↓ 1 callersFunctionget_content_length
(resp)
tests/test_wrappers.py:958
↓ 1 callersMethodget_converter
Looks up the converter for the given parameter. .. versionadded:: 0.9
src/werkzeug/routing/rules.py:562
↓ 1 callersMethodget_default_redirect
A helper that returns the URL to redirect to if it finds one. This is used for default redirecting only. :internal:
src/werkzeug/routing/map.py:713
↓ 1 callersMethodget_directory_loader
(self, directory: str)
src/werkzeug/middleware/shared_data.py:199
↓ 1 callersMethodget_empty_kwargs
Provides kwargs for instantiating empty copy with empty() Use this method to provide custom keyword arguments to the subclass of
src/werkzeug/routing/rules.py:507
↓ 1 callersMethodget_headers
Get a list of headers.
src/werkzeug/exceptions.py:123
↓ 1 callersMethodget_headers
( self, environ: t.Optional["WSGIEnvironment"] = None, scope: t.Optional[dict] = None,
src/werkzeug/exceptions.py:315
↓ 1 callersMethodget_headers
( self, environ: t.Optional["WSGIEnvironment"] = None, scope: t.Optional[dict] = None,
src/werkzeug/exceptions.py:379
↓ 1 callersFunctionget_host
Return the host for the given WSGI environment. The ``Host`` header is preferred, then ``SERVER_NAME`` if it's not set. The returned host wil
src/werkzeug/wsgi.py:93
← previousnext →401–500 of 2,000, ranked by callers