Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/werkzeug
/ functions
Functions
2,000 in github.com/pallets/werkzeug
⨍
Functions
2,000
◇
Types & classes
303
↳
Endpoints
1
Method
has_next
(self)
examples/simplewiki/utils.py:124
Method
has_next
Return True if there are pages after the current one.
examples/shorty/utils.py:94
Method
has_previous
Return True if there are pages before the current one.
examples/couchy/utils.py:79
Method
has_previous
Return True if there are pages before the current one.
examples/plnt/utils.py:125
Method
has_previous
(self)
examples/simplewiki/utils.py:120
Method
has_previous
Return True if there are pages before the current one.
examples/shorty/utils.py:89
Method
head
Call :meth:`open` with ``method`` set to ``HEAD``.
src/werkzeug/test.py:1168
Method
host
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
Method
host
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
Method
host_url
The request URL scheme and host only.
src/werkzeug/sansio/request.py:233
Method
i_op
(self: t.Any, other: t.Any)
src/werkzeug/local.py:360
Method
identifier
(cls)
examples/cupoftee/application.py:41
Method
if_match
An object containing all the etags in the `If-Match` header. :rtype: :class:`~werkzeug.datastructures.ETags`
src/werkzeug/sansio/request.py:425
Method
if_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
Method
if_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
Method
if_range
The parsed ``If-Range`` header. .. versionchanged:: 2.0 ``IfRange.date`` is timezone-aware. .. versionadded:: 0.7
src/werkzeug/sansio/request.py:459
Method
if_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
Function
index
()
examples/coolmagic/views/static.py:5
Function
index
(req)
examples/i18nurls/views.py:7
Function
index
Show the index page or any an offset of it.
examples/plnt/views.py:16
Method
index
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
Method
info
(self)
src/werkzeug/test.py:189
Method
info
(self)
src/werkzeug/debug/tbtools.py:363
Method
init_database
Called from the management script to generate the db.
examples/simplewiki/application.py:43
Method
init_database
(self)
examples/shorty/application.py:24
Function
initdb
()
examples/manage-couchy.py:24
Function
initdb
()
examples/manage-simplewiki.py:29
Function
initdb
Initialize the database
examples/manage-plnt.py:23
Function
initdb
()
examples/manage-shorty.py:28
Function
inner
(environ, start_response)
tests/test_test.py:734
Method
input_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
Method
insert
(self, pos, value)
src/werkzeug/datastructures.py:1338
Method
is_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
Method
is_exhausted
If the stream is exhausted this attribute is `True`.
src/werkzeug/wsgi.py:908
Method
is_json
Check if the mimetype indicates JSON data, either :mimetype:`application/json` or :mimetype:`application/*+json`.
src/werkzeug/sansio/response.py:279
Method
is_json
Check if the mimetype indicates JSON data, either :mimetype:`application/json` or :mimetype:`application/*+json`.
src/werkzeug/sansio/request.py:538
Method
is_library
(self)
src/werkzeug/debug/tbtools.py:367
Function
is_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
Method
is_secure
``True`` if the request was made with a secure protocol (HTTPS or WSS).
src/werkzeug/sansio/request.py:206
Method
is_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
Method
is_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
Method
isatty
(self)
src/werkzeug/wrappers/response.py:874
Method
json
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
Function
late_start_response
(environ, start_response)
tests/test_test.py:640
Function
link
(request, uid)
examples/couchy/views.py:48
Function
link
(request, uid)
examples/shorty/views.py:44
Function
list
(request, page)
examples/shorty/views.py:53
Method
listvalues
(self)
src/werkzeug/datastructures.py:757
Method
loader
( path: t.Optional[str], )
src/werkzeug/middleware/shared_data.py:162
Function
local_redirect_app
(environ, start_response)
tests/test_test.py:432
Method
log_message
(self, format: str, *args: t.Any)
src/werkzeug/serving.py:429
Method
log_request
( self, code: t.Union[int, str] = "-", size: t.Union[int, str] = "-" )
src/werkzeug/serving.py:397
Method
lookup
(self, obj: "Request")
src/werkzeug/utils.py:148
Method
lowered
(item)
src/werkzeug/datastructures.py:910
Function
make_app
(database, interval=120)
examples/cupoftee/application.py:24
Method
make_d
()
tests/test_datastructures.py:350
Function
make_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
Method
mimetype
The mimetype (content type without charset etc.) .. versionadded:: 0.14
src/werkzeug/test.py:558
Method
mimetype
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
Method
mimetype
The mimetype (content type without charset etc.)
src/werkzeug/sansio/response.py:293
Method
mimetype
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
Method
mimetype_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
Method
mimetype_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
Method
mimetype_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
Method
mimetype_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
Function
missing_action
Displayed if a user tried to access a action that does not exist.
examples/simplewiki/actions.py:201
Function
multi_value_post_app
(environ, start_response)
tests/test_test.py:67
Function
my_dummy_application
(environ, start_response)
tests/middleware/test_lint.py:43
Method
name
The status name.
src/werkzeug/exceptions.py:87
Method
nc
The nonce count value transmitted by clients if a qop-header is also transmitted. HTTP digest auth only.
src/werkzeug/datastructures.py:2682
Function
new
(request)
examples/couchy/views.py:13
Function
new
(request)
examples/shorty/views.py:14
Function
new_db_session
()
examples/plnt/database.py:21
Function
new_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
Method
next
Return the URL for the next page.
examples/couchy/utils.py:94
Method
next
Return the URL for the next page.
examples/plnt/utils.py:140
Method
next
(self)
examples/simplewiki/utils.py:132
Method
next
Return the URL for the next page.
examples/shorty/utils.py:104
Function
no_response_headers_app
A WSGI application which returns a resposne with no headers.
tests/test_test.py:861
Method
nonce
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
Function
not_found
This function is always executed if an url does not match or a `NotFound` exception is raised.
examples/coolmagic/views/static.py:20
Function
not_found
(request)
examples/couchy/views.py:72
Function
not_found
(request)
examples/shorty/views.py:61
Function
null_application
(environ, start_response)
tests/middleware/test_dispatcher.py:8
Function
null_application
(environ, start_response)
tests/middleware/test_shared_data.py:15
Method
on_any_event
(self, event)
src/werkzeug/_reloader.py:313
Function
on_diff
Show the diff between two revisions.
examples/simplewiki/actions.py:88
Function
on_edit
Edit the current revision of a page.
examples/simplewiki/actions.py:37
Method
on_exhausted
(self)
tests/test_wsgi.py:95
Method
on_follow_short_link
(self, request, short_id)
examples/shortly/shortly.py:69
Function
on_log
Show the list of recent changes.
examples/simplewiki/actions.py:80
Method
on_new_url
(self, request)
examples/shortly/shortly.py:57
Function
on_revert
Revert an old revision.
examples/simplewiki/actions.py:134
Method
on_short_link_details
(self, request, short_id)
examples/shortly/shortly.py:76
Function
on_show
Displays the page the user requests.
examples/simplewiki/actions.py:21
Function
on_update
(header_set)
src/werkzeug/datastructures.py:2759
Function
on_update
(header_set: HeaderSet)
src/werkzeug/sansio/response.py:39
Method
on_update
(d: CallbackDict)
src/werkzeug/sansio/response.py:315
Function
oncall
(self, *args, **kw)
src/werkzeug/datastructures.py:184
Method
opaque
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
← previous
next →
1,201–1,300 of 2,000, ranked by callers