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
options
Call :meth:`open` with ``method`` set to ``OPTIONS``.
src/werkzeug/test.py:1163
Method
order_link
(self, name, title)
examples/cupoftee/pages.py:13
Function
page_index
Index of all pages.
examples/simplewiki/specialpages.py:10
Function
page_not_found
(req)
examples/i18nurls/views.py:28
Method
pages
Return the number of pages.
examples/couchy/utils.py:99
Method
pages
Return the number of pages.
examples/plnt/utils.py:145
Method
pages
(self)
examples/simplewiki/utils.py:140
Method
pages
Return the number of pages.
examples/shorty/utils.py:109
Function
parse_age
Parses a base-10 integer count of seconds into a timedelta. If parsing fails, the return value is `None`. :param value: a string consisting
src/werkzeug/http.py:992
Function
parse_cookie
Parse a cookie from a string or WSGI environ. The same key can be provided multiple times, the values are stored in-order. The default :class
src/werkzeug/http.py:1133
Method
parse_multipart
(stream, boundary, content_length)
tests/test_formparser.py:398
Method
password
The password if it was part of the URL, `None` otherwise. This undergoes URL decoding and will always be a string.
src/werkzeug/urls.py:129
Method
password
When the authentication type is basic this is the password transmitted by the client, else `None`.
src/werkzeug/datastructures.py:2655
Method
pattern
(self)
tests/conftest.py:111
Function
peek_path_info
Returns the next segment on the `PATH_INFO` or `None` if there is none. Works like :func:`pop_path_info` without modifying the environment:
src/werkzeug/wsgi.py:307
Method
pin
(self)
src/werkzeug/debug/__init__.py:300
Method
pin_cookie_name
The name of the pin cookie.
src/werkzeug/debug/__init__.py:311
Method
pop
(self, index=-1)
src/werkzeug/datastructures.py:81
Method
pop
(self, key, default=None)
src/werkzeug/datastructures.py:137
Method
pop
(self, key, default=_missing)
src/werkzeug/datastructures.py:213
Method
pop
Pop the first item for a list on the dict. Afterwards the key is removed from the dict, so additional values are discarded: >>> d =
src/werkzeug/datastructures.py:555
Method
pop
(self, key=None, default=_missing)
src/werkzeug/datastructures.py:1341
Function
pop_path_info
Removes and returns the next segment of `PATH_INFO`, pushing it onto `SCRIPT_NAME`. Returns `None` if there is nothing left on `PATH_INFO`.
src/werkzeug/wsgi.py:240
Method
popitem
(self)
src/werkzeug/datastructures.py:140
Method
popitem
Pop an item from the dict.
src/werkzeug/datastructures.py:582
Method
popitem
(self)
src/werkzeug/datastructures.py:811
Method
popitem
(self)
src/werkzeug/datastructures.py:1344
Method
popitemlist
(self)
src/werkzeug/datastructures.py:170
Method
popitemlist
(self)
src/werkzeug/datastructures.py:822
Method
poplist
(self, key)
src/werkzeug/datastructures.py:173
Method
port
The port in the URL as an integer if it was present, `None` otherwise. This does not fill in default ports.
src/werkzeug/urls.py:92
Method
pragma
The Pragma general-header field is used to include implementation-specific directives that might apply to any recipient along the requ
src/werkzeug/sansio/request.py:370
Method
previous
Return the URL for the previous page.
examples/couchy/utils.py:89
Method
previous
Return the URL for the previous page.
examples/plnt/utils.py:135
Method
previous
(self)
examples/simplewiki/utils.py:128
Method
previous
Return the URL for the previous page.
examples/shorty/utils.py:99
Method
process
(self)
examples/cupoftee/pages.py:24
Method
process
(self, id)
examples/cupoftee/pages.py:51
Method
process
(self)
examples/cupoftee/pages.py:61
Method
prop
(self)
tests/test_utils.py:83
Function
proxy
(self: "DebugReprGenerator", obj: t.Iterable, recursive: bool)
src/werkzeug/debug/repr.py:101
Method
qop
Indicates what "quality of protection" the client has applied to the message for HTTP digest auth. Note that this is a single token, n
src/werkzeug/datastructures.py:2712
Method
query_string
The query string. If you set this to a string :attr:`args` will no longer be available.
src/werkzeug/test.py:664
Function
quote
(string: bytes)
src/werkzeug/urls.py:533
Function
r_op
(obj: t.Any, other: t.Any)
src/werkzeug/local.py:372
Method
range
The parsed `Range` header. .. versionadded:: 0.7 :rtype: :class:`~werkzeug.datastructures.Range`
src/werkzeug/sansio/request.py:470
Method
raw_password
The password if it was part of the URL, `None` otherwise. Unlike :attr:`password` this one is not being decoded.
src/werkzeug/urls.py:139
Method
raw_username
The username if it was part of the URL, `None` otherwise. Unlike :attr:`username` this one is not being decoded.
src/werkzeug/urls.py:122
Method
read
Return one byte at a time regardless of requested size.
tests/test_wsgi.py:191
Method
readable
(self)
src/werkzeug/wsgi.py:1057
Method
readable
(self)
src/werkzeug/serving.py:94
Method
readinto
(self, buf: bytearray)
src/werkzeug/serving.py:107
Method
readline
(self, *args: t.Any)
src/werkzeug/middleware/lint.py:68
Method
readline
(self, size=-1)
tests/test_wrappers.py:462
Method
realm
This is the server realm sent back for HTTP digest auth.
src/werkzeug/datastructures.py:2662
Function
recent_changes
Display the recent changes.
examples/simplewiki/specialpages.py:20
Function
redirect_loop_app
(environ, start_response)
tests/test_test.py:34
Function
redirect_with_get_app
(environ, start_response)
tests/test_test.py:39
Method
refresh
Rebinds and refreshes the URL. Call this if you modified the rule in place. :internal:
src/werkzeug/routing/rules.py:537
Method
remove
(self, item)
src/werkzeug/datastructures.py:72
Method
remove
(self, key)
src/werkzeug/datastructures.py:1329
Function
remove_hop_by_hop_headers
Remove all HTTP/1.1 "Hop-by-Hop" headers from a list or :class:`Headers` object. This operation works in-place. .. versionadded:: 0.5 :
src/werkzeug/http.py:1096
Method
render_line
(line: str, cls: str)
src/werkzeug/debug/tbtools.py:388
Function
request_demo_app
(request)
tests/test_wrappers.py:37
Function
reset_context_vars
()
tests/test_local.py:21
Function
responder
Marks a function as responder. Decorate a function with it and it will automatically call the return value as WSGI application. Example::
src/werkzeug/wsgi.py:25
Method
retry_after
The Retry-After response-header field can be used with a 503 (Service Unavailable) response to indicate how long the service is expect
src/werkzeug/sansio/response.py:424
Method
root_url
The request URL scheme, host, and root path. This is the root that the application is accessed from.
src/werkzeug/sansio/request.py:226
Method
run
(self)
src/werkzeug/_reloader.py:354
Method
run_step
(self)
src/werkzeug/_reloader.py:287
Method
run_wsgi
(self)
src/werkzeug/serving.py:237
Method
runapp
()
src/werkzeug/middleware/profiler.py:102
Method
runcode
(self, code: CodeType)
src/werkzeug/debug/console.py:178
Function
runserver
Start a new development server.
examples/manage-coolmagic.py:20
Function
runserver
Start a new development server.
examples/manage-i18nurls.py:20
Function
runserver
Start a new development server.
examples/manage-couchy.py:38
Function
runserver
Start a new development server.
examples/manage-simplewiki.py:41
Function
runserver
Start a new development server.
examples/manage-plnt.py:78
Function
runserver
Start a new development server.
examples/manage-shorty.py:40
Function
runserver
Start a new development server.
examples/manage-cupoftee.py:33
Function
runserver
Start a new development server.
examples/manage-webpylike.py:25
Method
script_root
Alias for :attr:`self.root_path`. ``environ["SCRIPT_ROOT"]`` without a trailing slash.
src/werkzeug/wrappers/request.py:492
Function
secure_filename
r"""Pass it a filename and it will return a secure version of it. This filename can then safely be stored on a regular file system and passed
src/werkzeug/utils.py:197
Method
seek
(self, n: int, mode: int = 0)
src/werkzeug/debug/console.py:35
Method
server_name
The server name (read-only, use :attr:`host` to set)
src/werkzeug/test.py:694
Method
server_port
The server port as integer (read-only, use :attr:`host` to set)
src/werkzeug/test.py:699
Method
server_version
(self)
src/werkzeug/serving.py:154
Method
set
(self, _key, _value, **kw)
src/werkzeug/datastructures.py:1317
Method
setdefault
(self, key, default=None)
src/werkzeug/datastructures.py:131
Method
setdefault
(self, key, default=None)
src/werkzeug/datastructures.py:206
Method
setdefault
Returns the value for the key if it is in the dict, otherwise it returns `default` and sets that value for `key`. :param key: The key
src/werkzeug/datastructures.py:439
Method
setdefault
(self, key, default)
src/werkzeug/datastructures.py:1347
Method
setlist
(self, key, new_list)
src/werkzeug/datastructures.py:176
Method
setlist
Remove the old values for a key and add new ones. Note that the list you pass the values in will be shallow-copied before it is inserted in
src/werkzeug/datastructures.py:421
Method
setlist
(self, key, new_list)
src/werkzeug/datastructures.py:779
Method
setlist
(self, key, values)
src/werkzeug/datastructures.py:1320
Method
setlistdefault
(self, key, default_list=None)
src/werkzeug/datastructures.py:179
Method
setlistdefault
Like `setdefault` but sets multiple values. The list returned is not a copy, but the list that is actually used internally. This mea
src/werkzeug/datastructures.py:453
Method
setlistdefault
(self, key, default_list=None)
src/werkzeug/datastructures.py:784
Method
setlistdefault
(self, key, default)
src/werkzeug/datastructures.py:1350
← previous
next →
1,301–1,400 of 2,000, ranked by callers