MCPcopy Create free account

hub / github.com/pallets/werkzeug / functions

Functions2,000 in github.com/pallets/werkzeug

Methodhas_next
(self)
examples/simplewiki/utils.py:124
Methodhas_next
Return True if there are pages after the current one.
examples/shorty/utils.py:94
Methodhas_previous
Return True if there are pages before the current one.
examples/couchy/utils.py:79
Methodhas_previous
Return True if there are pages before the current one.
examples/plnt/utils.py:125
Methodhas_previous
(self)
examples/simplewiki/utils.py:120
Methodhas_previous
Return True if there are pages before the current one.
examples/shorty/utils.py:89
Methodhead
Call :meth:`open` with ``method`` set to ``HEAD``.
src/werkzeug/test.py:1168
Methodhost
The host part of the URL if available, otherwise `None`. The host is either the hostname or the IP address mentioned in the URL. It
src/werkzeug/urls.py:69
Methodhost
The host name the request was made to, including the port if it's non-standard. Validated with :attr:`trusted_hosts`.
src/werkzeug/sansio/request.py:238
Methodhost_url
The request URL scheme and host only.
src/werkzeug/sansio/request.py:233
Methodi_op
(self: t.Any, other: t.Any)
src/werkzeug/local.py:360
Methodidentifier
(cls)
examples/cupoftee/application.py:41
Methodif_match
An object containing all the etags in the `If-Match` header. :rtype: :class:`~werkzeug.datastructures.ETags`
src/werkzeug/sansio/request.py:425
Methodif_modified_since
The parsed `If-Modified-Since` header as a datetime object. .. versionchanged:: 2.0 The datetime object is timezone-aware.
src/werkzeug/sansio/request.py:441
Methodif_none_match
An object containing all the etags in the `If-None-Match` header. :rtype: :class:`~werkzeug.datastructures.ETags`
src/werkzeug/sansio/request.py:433
Methodif_range
The parsed ``If-Range`` header. .. versionchanged:: 2.0 ``IfRange.date`` is timezone-aware. .. versionadded:: 0.7
src/werkzeug/sansio/request.py:459
Methodif_unmodified_since
The parsed `If-Unmodified-Since` header as a datetime object. .. versionchanged:: 2.0 The datetime object is timezone-aware.
src/werkzeug/sansio/request.py:450
Functionindex
()
examples/coolmagic/views/static.py:5
Functionindex
(req)
examples/i18nurls/views.py:7
Functionindex
Show the index page or any an offset of it.
examples/plnt/views.py:16
Methodindex
Return the index of the header in the set or raise an :exc:`IndexError`. :param header: the header to be looked up.
src/werkzeug/datastructures.py:2297
Methodinfo
(self)
src/werkzeug/test.py:189
Methodinfo
(self)
src/werkzeug/debug/tbtools.py:363
Methodinit_database
Called from the management script to generate the db.
examples/simplewiki/application.py:43
Methodinit_database
(self)
examples/shorty/application.py:24
Functioninitdb
()
examples/manage-couchy.py:24
Functioninitdb
()
examples/manage-simplewiki.py:29
Functioninitdb
Initialize the database
examples/manage-plnt.py:23
Functioninitdb
()
examples/manage-shorty.py:28
Functioninner
(environ, start_response)
tests/test_test.py:734
Methodinput_stream
An optional input stream. This is mutually exclusive with setting :attr:`form` and :attr:`files`, setting it will clear those. Do not
src/werkzeug/test.py:649
Methodinsert
(self, pos, value)
src/werkzeug/datastructures.py:1338
Methodis_endpoint_expecting
Iterate over all rules and check if the endpoint expects the arguments provided. This is for example useful if you have some URLs tha
src/werkzeug/routing/map.py:131
Methodis_exhausted
If the stream is exhausted this attribute is `True`.
src/werkzeug/wsgi.py:908
Methodis_json
Check if the mimetype indicates JSON data, either :mimetype:`application/json` or :mimetype:`application/*+json`.
src/werkzeug/sansio/response.py:279
Methodis_json
Check if the mimetype indicates JSON data, either :mimetype:`application/json` or :mimetype:`application/*+json`.
src/werkzeug/sansio/request.py:538
Methodis_library
(self)
src/werkzeug/debug/tbtools.py:367
Functionis_resource_modified
Convenience method for conditional requests. :param environ: the WSGI environment of the request to be checked. :param etag: the etag for the
src/werkzeug/http.py:1034
Methodis_secure
``True`` if the request was made with a secure protocol (HTTPS or WSS).
src/werkzeug/sansio/request.py:206
Methodis_sequence
If the iterator is buffered, this property will be `True`. A response object will consider an iterator to be buffered if the response
src/werkzeug/wrappers/response.py:425
Methodis_streamed
If the response is streamed (the response is not an iterable with a length information) this property is `True`. In this case streamed
src/werkzeug/wrappers/response.py:409
Methodisatty
(self)
src/werkzeug/wrappers/response.py:874
Methodjson
The parsed JSON data if :attr:`mimetype` indicates JSON (:mimetype:`application/json`, see :attr:`is_json`). Calls :meth:`get_json` w
src/werkzeug/wrappers/response.py:640
Functionlate_start_response
(environ, start_response)
tests/test_test.py:640
Functionlink
(request, uid)
examples/couchy/views.py:48
Functionlink
(request, uid)
examples/shorty/views.py:44
Functionlist
(request, page)
examples/shorty/views.py:53
Methodlistvalues
(self)
src/werkzeug/datastructures.py:757
Methodloader
( path: t.Optional[str], )
src/werkzeug/middleware/shared_data.py:162
Functionlocal_redirect_app
(environ, start_response)
tests/test_test.py:432
Methodlog_message
(self, format: str, *args: t.Any)
src/werkzeug/serving.py:429
Methodlog_request
( self, code: t.Union[int, str] = "-", size: t.Union[int, str] = "-" )
src/werkzeug/serving.py:397
Methodlookup
(self, obj: "Request")
src/werkzeug/utils.py:148
Methodlowered
(item)
src/werkzeug/datastructures.py:910
Functionmake_app
(database, interval=120)
examples/cupoftee/application.py:24
Methodmake_d
()
tests/test_datastructures.py:350
Functionmake_line_iter
Safely iterates line-based over an input stream. If the input stream is not a :class:`LimitedStream` the `limit` parameter is mandatory. Thi
src/werkzeug/wsgi.py:695
Methodmimetype
The mimetype (content type without charset etc.) .. versionadded:: 0.14
src/werkzeug/test.py:558
Methodmimetype
Like :attr:`content_type`, but without parameters (eg, without charset, type etc.) and always lowercase. For example if the content t
src/werkzeug/datastructures.py:2956
Methodmimetype
The mimetype (content type without charset etc.)
src/werkzeug/sansio/response.py:293
Methodmimetype
Like :attr:`content_type`, but without parameters (eg, without charset, type etc.) and always lowercase. For example if the content t
src/werkzeug/sansio/request.py:351
Methodmimetype_params
The mimetype parameters as dict. For example if the content type is ``text/html; charset=utf-8`` the params would be ``{'charset': 'u
src/werkzeug/test.py:571
Methodmimetype_params
The mimetype parameters as dict. For example if the content type is ``text/html; charset=utf-8`` the params would be ``{'charset': 'u
src/werkzeug/datastructures.py:2968
Methodmimetype_params
The mimetype parameters as dict. For example if the content type is ``text/html; charset=utf-8`` the params would be ``{'charset': 'ut
src/werkzeug/sansio/response.py:307
Methodmimetype_params
The mimetype parameters as dict. For example if the content type is ``text/html; charset=utf-8`` the params would be ``{'charset': 'u
src/werkzeug/sansio/request.py:361
Functionmissing_action
Displayed if a user tried to access a action that does not exist.
examples/simplewiki/actions.py:201
Functionmulti_value_post_app
(environ, start_response)
tests/test_test.py:67
Functionmy_dummy_application
(environ, start_response)
tests/middleware/test_lint.py:43
Methodname
The status name.
src/werkzeug/exceptions.py:87
Methodnc
The nonce count value transmitted by clients if a qop-header is also transmitted. HTTP digest auth only.
src/werkzeug/datastructures.py:2682
Functionnew
(request)
examples/couchy/views.py:13
Functionnew
(request)
examples/shorty/views.py:14
Functionnew_db_session
()
examples/plnt/database.py:21
Functionnew_db_session
This function creates a new session if there is no session yet for the current context. It looks up the application and if it finds one
examples/simplewiki/database.py:28
Methodnext
Return the URL for the next page.
examples/couchy/utils.py:94
Methodnext
Return the URL for the next page.
examples/plnt/utils.py:140
Methodnext
(self)
examples/simplewiki/utils.py:132
Methodnext
Return the URL for the next page.
examples/shorty/utils.py:104
Functionno_response_headers_app
A WSGI application which returns a resposne with no headers.
tests/test_test.py:861
Methodnonce
The nonce the server sent for digest auth, sent back by the client. A nonce should be unique for every 401 response for HTTP digest auth.
src/werkzeug/datastructures.py:2667
Functionnot_found
This function is always executed if an url does not match or a `NotFound` exception is raised.
examples/coolmagic/views/static.py:20
Functionnot_found
(request)
examples/couchy/views.py:72
Functionnot_found
(request)
examples/shorty/views.py:61
Functionnull_application
(environ, start_response)
tests/middleware/test_dispatcher.py:8
Functionnull_application
(environ, start_response)
tests/middleware/test_shared_data.py:15
Methodon_any_event
(self, event)
src/werkzeug/_reloader.py:313
Functionon_diff
Show the diff between two revisions.
examples/simplewiki/actions.py:88
Functionon_edit
Edit the current revision of a page.
examples/simplewiki/actions.py:37
Methodon_exhausted
(self)
tests/test_wsgi.py:95
Methodon_follow_short_link
(self, request, short_id)
examples/shortly/shortly.py:69
Functionon_log
Show the list of recent changes.
examples/simplewiki/actions.py:80
Methodon_new_url
(self, request)
examples/shortly/shortly.py:57
Functionon_revert
Revert an old revision.
examples/simplewiki/actions.py:134
Methodon_short_link_details
(self, request, short_id)
examples/shortly/shortly.py:76
Functionon_show
Displays the page the user requests.
examples/simplewiki/actions.py:21
Functionon_update
(header_set)
src/werkzeug/datastructures.py:2759
Functionon_update
(header_set: HeaderSet)
src/werkzeug/sansio/response.py:39
Methodon_update
(d: CallbackDict)
src/werkzeug/sansio/response.py:315
Functiononcall
(self, *args, **kw)
src/werkzeug/datastructures.py:184
Methodopaque
The opaque header from the server returned unchanged by the client. It is recommended that this string be base64 or hexadecimal data.
src/werkzeug/datastructures.py:2704
← previousnext →1,201–1,300 of 2,000, ranked by callers