MCPcopy Create free account

hub / github.com/pallets/werkzeug / functions

Functions2,000 in github.com/pallets/werkzeug

↓ 1 callersFunctionget_interface_ip
Get the IP address of an external interface. Used when binding to 0.0.0.0 or ::1 to show a more useful URL. :meta private:
src/werkzeug/serving.py:633
↓ 1 callersMethodget_json
(self, force: bool = ..., silent: "te.Literal[False]" = ...)
src/werkzeug/wrappers/response.py:649
↓ 1 callersMethodget_package_loader
(self, package: str, package_path: str)
src/werkzeug/middleware/shared_data.py:157
↓ 1 callersMethodget_parse_func
( self, mimetype: str, options: t.Dict[str, str] )
src/werkzeug/formparser.py:214
↓ 1 callersMethodget_part_charset
(self, headers: Headers)
src/werkzeug/formparser.py:377
↓ 1 callersFunctionget_path_info
Return the ``PATH_INFO`` from the WSGI environment and decode it unless ``charset`` is ``None``. :param environ: WSGI environment to get the
src/werkzeug/wsgi.py:198
↓ 1 callersFunctionget_random_uid
()
examples/couchy/utils.py:55
↓ 1 callersFunctionget_random_uid
()
examples/shorty/utils.py:65
↓ 1 callersMethodget_resource
Return a static resource from the shared folder.
src/werkzeug/debug/__init__.py:396
↓ 1 callersMethodget_response
(self)
examples/cupoftee/pages.py:72
↓ 1 callersFunctionget_sockaddr
Return a fully qualified socket address that can be passed to :func:`socket.bind`.
src/werkzeug/serving.py:617
↓ 1 callersMethodgetlist
(self, key, type=None)
src/werkzeug/datastructures.py:764
↓ 1 callersFunctionhandleConsoleSubmit
(e, command, frameID)
src/werkzeug/debug/shared/debugger.js:261
↓ 1 callersFunctionhost_is_trusted
Check if a host matches a list of trusted names. :param hostname: The name to check. :param trusted_list: A list of valid names to match. If
src/werkzeug/sansio/utils.py:9
↓ 1 callersFunctioninitPinBox
()
src/werkzeug/debug/shared/debugger.js:40
↓ 1 callersMethodinject_wsgi
Inject the cookies as client headers into the server's wsgi environment.
src/werkzeug/test.py:198
↓ 1 callersFunctioninjecting_start_response
( status: str, headers: t.List[t.Tuple[str, str]], exc_info: t.Any = None )
src/werkzeug/_internal.py:520
↓ 1 callersMethodinsert
(self, pos, value)
src/werkzeug/datastructures.py:78
↓ 1 callersMethodinsert_url
(self, url)
examples/shortly/shortly.py:93
↓ 1 callersMethodis_allowed
Subclasses can override this method to disallow the access to certain files. However by providing `disallow` in the constructor this
src/werkzeug/middleware/shared_data.py:140
↓ 1 callersFunctionis_byte_range_valid
Checks if a given byte content range is valid for the given length. .. versionadded:: 0.7
src/werkzeug/http.py:1307
↓ 1 callersFunctionis_running_from_reloader
Check if the server is running as a subprocess within the Werkzeug reloader. .. versionadded:: 0.10
src/werkzeug/serving.py:898
↓ 1 callersFunctionis_ssl_error
Checks if the given error (or the current one) is an SSL error.
src/werkzeug/serving.py:600
↓ 1 callersFunctionis_valid_url
(url)
examples/shortly/shortly.py:29
↓ 1 callersMethodis_weak
Check if an etag is weak.
src/werkzeug/datastructures.py:2390
↓ 1 callersMethodisatty
(self)
src/werkzeug/debug/console.py:26
↓ 1 callersFunctioniter_sys_path
()
src/werkzeug/testapp.py:142
↓ 1 callersMethodjson
The parsed JSON data if :attr:`mimetype` indicates JSON (:mimetype:`application/json`, see :attr:`is_json`). Calls :meth:`get_json` w
src/werkzeug/wrappers/request.py:536
↓ 1 callersMethodkeys
(self)
src/werkzeug/datastructures.py:725
↓ 1 callersMethodlast_newline
(self)
src/werkzeug/sansio/multipart.py:126
↓ 1 callersMethodlistvalues
Return an iterator of all values associated with a key. Zipping :meth:`keys` and this is the same as calling :meth:`lists`: >>> d =
src/werkzeug/datastructures.py:502
↓ 1 callersMethodlistvalues
(self)
src/werkzeug/datastructures.py:1496
↓ 1 callersMethodlog_error
(self, format: str, *args: t.Any)
src/werkzeug/serving.py:426
↓ 1 callersMethodlog_pin_request
Log the pin if needed.
src/werkzeug/debug/__init__.py:490
↓ 1 callersMethodlog_startup
Show information about the address when starting the server.
src/werkzeug/serving.py:780
↓ 1 callersMethodlookup
(self, obj: t.Union["Request", "Response"])
src/werkzeug/utils.py:155
↓ 1 callersMethodmake_alias_redirect_url
Internally called to make an alias redirect URL.
src/werkzeug/routing/map.py:763
↓ 1 callersFunctionmake_app
()
examples/manage-cupoftee.py:14
↓ 1 callersFunctionmake_app
Factory function that creates a new `CoolmagicApplication` object. Optional WSGI middlewares should be applied here.
examples/coolmagic/application.py:61
↓ 1 callersFunctionmake_chunk_iter
Works like :func:`make_line_iter` but accepts a separator which divides chunks. If you want newline based processing you should use :func:`ma
src/werkzeug/wsgi.py:787
↓ 1 callersMethodmake_content_range
Creates a :class:`~werkzeug.datastructures.ContentRange` object from the current range and given content length.
src/werkzeug/datastructures.py:2526
↓ 1 callersMethodmake_environ
(self)
src/werkzeug/serving.py:159
↓ 1 callersMethodmake_form_data_parser
Creates the form data parser. Instantiates the :attr:`form_data_parser_class` with some parameters. .. versionadded:: 0.8
src/werkzeug/wrappers/request.py:243
↓ 1 callersFunctionmake_server
Create an appropriate WSGI server instance based on the value of ``threaded`` and ``processes``. This is called from :func:`run_simple`, but
src/werkzeug/serving.py:853
↓ 1 callersFunctionmake_shell
()
examples/manage-couchy.py:11
↓ 1 callersFunctionmake_shell
()
examples/manage-simplewiki.py:15
↓ 1 callersFunctionmake_shell
()
examples/manage-shorty.py:15
↓ 1 callersFunctionmake_ssl_devcert
Creates an SSL key for development. This should be used instead of the ``'adhoc'`` key which generates a new cert on each server start. It ac
src/werkzeug/serving.py:505
↓ 1 callersMethodmatch
( self, domain: str, path: str, method: str, websocket: bool )
src/werkzeug/routing/matcher.py:67
↓ 1 callersMethodmiddleware
Like :meth:`make_middleware` but used as a decorator on the WSGI application function. .. code-block:: python @manager.m
src/werkzeug/local.py:241
↓ 1 callersFunctionnl2p
Add paragraphs to a text.
examples/plnt/utils.py:69
↓ 1 callersMethodobject_repr
( self, obj: t.Optional[t.Union[t.Type[dict], t.Callable, t.Type[list]]] )
src/werkzeug/debug/repr.py:191
↓ 1 callersMethodon_json_loading_failed
Called if :meth:`get_json` fails and isn't silenced. If this method returns a value, it is used as the return value for :meth:`get_js
src/werkzeug/wrappers/request.py:618
↓ 1 callersFunctionpage_not_found
Displays an error message if a user tried to access a not existing special page.
examples/simplewiki/specialpages.py:32
↓ 1 callersFunctionparse_content_range_header
Parses a range header into a :class:`~werkzeug.datastructures.ContentRange` object or `None` if parsing is not possible. .. versionadded:
src/werkzeug/http.py:800
↓ 1 callersFunctionparse_converter_args
(argstr: str)
src/werkzeug/routing/rules.py:109
↓ 1 callersFunctionparse_creole
Parse some creole markup and create a genshi stream.
examples/simplewiki/utils.py:49
↓ 1 callersFunctionparse_www_authenticate_header
Parse an HTTP WWW-Authenticate header into a :class:`~werkzeug.datastructures.WWWAuthenticate` object. :param value: a WWW-Authenticate heade
src/werkzeug/http.py:700
↓ 1 callersMethodpatch
Call :meth:`open` with ``method`` set to ``PATCH``.
src/werkzeug/test.py:1158
↓ 1 callersMethodpin_auth
Authenticates with the pin.
src/werkzeug/debug/__init__.py:439
↓ 1 callersMethodport_integer
(self)
src/werkzeug/serving.py:394
↓ 1 callersMethodprocess
(self)
examples/cupoftee/application.py:66
↓ 1 callersFunctionpromptForPin
()
src/werkzeug/debug/shared/debugger.js:78
↓ 1 callersMethodprovides_defaults_for
Check if this rule has defaults for a given rule. :internal:
src/werkzeug/routing/rules.py:832
↓ 1 callersMethodproxy_to
( self, opts: t.Dict[str, t.Any], path: str, prefix: str )
src/werkzeug/middleware/http_proxy.py:100
↓ 1 callersMethodput
Call :meth:`open` with ``method`` set to ``PUT``.
src/werkzeug/test.py:1148
↓ 1 callersMethodquery
(cls, code)
examples/couchy/models.py:24
↓ 1 callersFunctionquote_etag
Quote an etag. :param etag: the etag to quote. :param weak: set to `True` to tag it "weak".
src/werkzeug/http.py:854
↓ 1 callersMethodread
()
src/werkzeug/middleware/http_proxy.py:203
↓ 1 callersMethodread
(self, *args: t.Any)
src/werkzeug/middleware/lint.py:51
↓ 1 callersMethodread_chunk_len
(self)
src/werkzeug/serving.py:97
↓ 1 callersMethodreadline
(self)
src/werkzeug/debug/console.py:38
↓ 1 callersMethodreadlines
Reads a file into a list of strings. It calls :meth:`readline` until the file is read to the end. It does support the optional `size
src/werkzeug/wsgi.py:1022
↓ 1 callersMethodregex_repr
(self, obj: t.Pattern)
src/werkzeug/debug/repr.py:133
↓ 1 callersFunctionrelease_local
Release the data for the current context in a :class:`Local` or :class:`LocalStack` without using a :class:`LocalManager`. This should not be
src/werkzeug/local.py:21
↓ 1 callersMethodremove
Remove a header from the set. This raises an :exc:`KeyError` if the header is not in the set. .. versionchanged:: 0.5 In
src/werkzeug/datastructures.py:2240
↓ 1 callersFunctionremove_entity_headers
Remove all entity headers from a list or :class:`Headers` object. This operation works in-place. `Expires` and `Content-Location` headers are
src/werkzeug/http.py:1072
↓ 1 callersFunctionrender_console_html
(secret: str, evalex_trusted: bool)
src/werkzeug/debug/tbtools.py:428
↓ 1 callersMethodrender_debugger_html
( self, evalex: bool, secret: str, evalex_trusted: bool )
src/werkzeug/debug/tbtools.py:319
↓ 1 callersMethodrender_html
(self, mark_library: bool)
src/werkzeug/debug/tbtools.py:380
↓ 1 callersMethodrender_template
(self, template=None)
examples/cupoftee/application.py:69
↓ 1 callersMethodrender_template
(self, name, **context)
examples/cupoftee/application.py:115
↓ 1 callersMethodrender_template
(self, name, values)
examples/i18nurls/application.py:63
↓ 1 callersFunctionrender_testapp
(req: Request)
src/werkzeug/testapp.py:162
↓ 1 callersMethodresolve_redirect
Perform a new request to the location given by the redirect response to the previous request. :meta private:
src/werkzeug/test.py:969
↓ 1 callersMethodresponse
A string of 32 hex digits computed as defined in RFC 2617, which proves that the user knows a password. Digest auth only.
src/werkzeug/datastructures.py:2697
↓ 1 callersMethodrestart_with_reloader
Spawn a new Python interpreter with the same arguments as the current one, but running the reloader thread.
src/werkzeug/_reloader.py:257
↓ 1 callersMethodreverse
(self)
src/werkzeug/datastructures.py:84
↓ 1 callersMethodrun_step
(self)
src/werkzeug/_reloader.py:361
↓ 1 callersFunctionrun_with_reloader
Run the given function in an independent Python interpreter.
src/werkzeug/_reloader.py:417
↓ 1 callersMethodrun_wsgi_app
Runs the wrapped WSGI app with the given environment. :meta private:
src/werkzeug/test.py:952
↓ 1 callersMethodrunsource
(self, source: str, **kwargs: t.Any)
src/werkzeug/debug/console.py:162
↓ 1 callersMethodseekable
(self)
src/werkzeug/wsgi.py:556
↓ 1 callersFunctionselect_address_family
Return ``AF_INET4``, ``AF_INET6``, or ``AF_UNIX`` depending on the host and port.
src/werkzeug/serving.py:607
↓ 1 callersMethodserve_forever
(self, poll_interval: float = 0.5)
src/werkzeug/serving.py:764
↓ 1 callersMethodset_basic
Clear the auth info and enable basic auth.
src/werkzeug/datastructures.py:2782
↓ 1 callersMethodshowtraceback
(self)
src/werkzeug/debug/console.py:184
↓ 1 callersFunctionslideToggle
(target)
src/werkzeug/debug/shared/debugger.js:190
↓ 1 callersMethodstart_file_streaming
( self, event: File, total_content_length: t.Optional[int] )
src/werkzeug/formparser.py:387
↓ 1 callersMethodstart_response
(status, headers, exc_info=None)
src/werkzeug/serving.py:305
← previousnext →501–600 of 2,000, ranked by callers