Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/werkzeug
/ types & classes
Types & classes
303 in github.com/pallets/werkzeug
⨍
Functions
2,000
◇
Types & classes
303
↳
Endpoints
1
↓ 35 callers
Class
Client
This class allows you to send requests to a wrapped application. The use_cookies parameter indicates whether cookies should be stored and sen
src/werkzeug/test.py:843
↓ 32 callers
Class
Response
Represents an outgoing WSGI HTTP response with body, status, and headers. Has properties and methods for using the functionality defined by va
src/werkzeug/wrappers/response.py:67
↓ 17 callers
Class
Headers
An object that stores some headers. It has a dict-like interface, but is ordered, can store the same key multiple times, and iterating yields
src/werkzeug/datastructures.py:848
↓ 16 callers
Class
EnvironBuilder
This class can be used to conveniently create a WSGI environment for testing purposes. It can be used to quickly create WSGI environments or
src/werkzeug/test.py:242
↓ 14 callers
Class
NotFound
*404* `Not Found` Raise if a resource does not exist and never existed.
src/werkzeug/exceptions.py:341
↓ 14 callers
Class
Rule
A Rule represents one URL pattern. There are some options for `Rule` that change the way it behaves and are passed to the `Rule` constructor.
src/werkzeug/routing/rules.py:310
↓ 13 callers
Class
MultiDict
A :class:`MultiDict` is a dictionary subclass customized to deal with multiple values for the same key which is for example used by the parsing
src/werkzeug/datastructures.py:289
↓ 12 callers
Class
Request
Represents an incoming WSGI HTTP request, with headers and body taken from the WSGI environment. Has properties and methods for using the func
src/werkzeug/wrappers/request.py:29
↓ 10 callers
Class
Response
Represents the non-IO parts of an HTTP response, specifically the status and headers but not the body. This class is not meant for general us
src/werkzeug/sansio/response.py:63
↓ 10 callers
Class
SharedDataMiddleware
A WSGI middleware which provides static content for development environments or simple server setups. Its usage is quite simple:: import
src/werkzeug/middleware/shared_data.py:38
↓ 9 callers
Class
Example
tests/test_local.py:235
↓ 9 callers
Class
Map
The map class stores all the URL rules and some configuration parameters. Some of the configuration values are only stored on the `Map` insta
src/werkzeug/routing/map.py:41
↓ 9 callers
Class
Response
Encapsulates a WSGI response. Unlike the default response object werkzeug provides, this accepts a genshi stream and will automatically rend
examples/simplewiki/utils.py:82
↓ 8 callers
Class
ClosingIterator
The WSGI specification requires that all middlewares and gateways respect the `close` callback of the iterable returned by the application. Be
src/werkzeug/wsgi.py:454
↓ 6 callers
Class
DebugTraceback
src/werkzeug/debug/tbtools.py:218
↓ 5 callers
Class
LintMiddleware
Warns about common errors in the WSGI and HTTP behavior of the server and wrapped application. Some of the issues it checks are: - invalid
src/werkzeug/middleware/lint.py:210
↓ 5 callers
Class
Local
Create a namespace of context-local data. This wraps a :class:`ContextVar` containing a :class:`dict` value. This may incur a performance pen
src/werkzeug/local.py:33
↓ 5 callers
Class
LocalManager
Manage releasing the data for the current context in one or more :class:`Local` and :class:`LocalStack` objects. This should not be needed fo
src/werkzeug/local.py:186
↓ 4 callers
Class
A
tests/test_utils.py:82
↓ 4 callers
Class
FileStorage
The :class:`FileStorage` class is a thin wrapper over incoming files. It is used by the request object to represent uploaded files. All the a
src/werkzeug/datastructures.py:2894
↓ 4 callers
Class
Request
Represents the non-IO parts of a HTTP request, including the method, URL info, and headers. This class is not meant for general use. It shoul
src/werkzeug/sansio/request.py:38
↓ 4 callers
Class
TemplateResponse
examples/i18nurls/application.py:48
↓ 3 callers
Class
BadRequest
*400* `Bad Request` Raise if the browser sends something to the application the application or server cannot handle.
src/werkzeug/exceptions.py:174
↓ 3 callers
Class
Data
src/werkzeug/sansio/multipart.py:40
↓ 3 callers
Class
DebugReprGenerator
src/werkzeug/debug/repr.py:121
↓ 3 callers
Class
EnvironHeaders
Read only version of the headers from a WSGI environment. This provides the same interface as `Headers` and is constructed from a WSGI enviro
src/werkzeug/datastructures.py:1354
↓ 3 callers
Class
Epilogue
src/werkzeug/sansio/multipart.py:46
↓ 3 callers
Class
Field
src/werkzeug/sansio/multipart.py:27
↓ 3 callers
Class
File
src/werkzeug/sansio/multipart.py:33
↓ 3 callers
Class
Foo
tests/test_debug.py:164
↓ 3 callers
Class
FormDataParser
This class implements parsing of form data for Werkzeug. By itself it can parse multipart and url encoded form data. It can be subclassed an
src/werkzeug/formparser.py:156
↓ 3 callers
Class
HTMLStringO
A StringO version that HTML escapes on write.
src/werkzeug/debug/console.py:20
↓ 3 callers
Class
MultipartDecoder
Decodes a multipart message as bytes into Python events. The part data is returned as available to allow the caller to save the data from mem
src/werkzeug/sansio/multipart.py:79
↓ 3 callers
Class
OrderedMultiDict
Works like a regular :class:`MultiDict` but preserves the order of the fields. To convert the ordered multi dict into a list you can use the
src/werkzeug/datastructures.py:653
↓ 3 callers
Class
Preamble
src/werkzeug/sansio/multipart.py:22
↓ 2 callers
Class
Accept
An :class:`Accept` object is just a list subclass for lists of ``(value, quality)`` tuples. It is automatically sorted by specificity and qua
src/werkzeug/datastructures.py:1629
↓ 2 callers
Class
Authorization
Represents an ``Authorization`` header sent by the client. This is returned by :func:`~werkzeug.http.parse_authorization_header`. It can be u
src/werkzeug/datastructures.py:2631
↓ 2 callers
Class
CallbackDict
A dict that calls a function passed every time something is changed. The function is passed the dict instance.
src/werkzeug/datastructures.py:2205
↓ 2 callers
Class
CombinedMultiDict
A read only :class:`MultiDict` that you can pass multiple :class:`MultiDict` instances as sequence and it will combine the return values of all wr
src/werkzeug/datastructures.py:1405
↓ 2 callers
Class
Console
An interactive console.
src/werkzeug/debug/console.py:202
↓ 2 callers
Class
ContentRange
Represents the content range header. .. versionadded:: 0.7
src/werkzeug/datastructures.py:2573
↓ 2 callers
Class
ContentSecurityPolicy
Subclass of a dict that stores values for a Content Security Policy header. It has accessors for all the level 3 policies. Because the csp di
src/werkzeug/datastructures.py:2129
↓ 2 callers
Class
Couchy
examples/couchy/application.py:16
↓ 2 callers
Class
DebuggedApplication
Enables debugging support for a given application:: from werkzeug.debug import DebuggedApplication from myapp import app app
src/werkzeug/debug/__init__.py:223
↓ 2 callers
Class
HTTPException
The base class for all HTTP exceptions. This exception can be called as a WSGI application to render a default error page or you can catch the sub
src/werkzeug/exceptions.py:64
↓ 2 callers
Class
InternalServerError
*500* `Internal Server Error` Raise if an internal server error occurred. This is a good fallback if an unknown error occurred in the dispat
src/werkzeug/exceptions.py:712
↓ 2 callers
Class
LimitedStream
Wraps a stream so that it doesn't read more than n bytes. If the stream is exhausted and the caller tries to get more bytes from it :func:`on
src/werkzeug/wsgi.py:864
↓ 2 callers
Class
LocalProxy
A proxy to the object bound to a context-local object. All operations on the proxy are forwarded to the bound object. If no object is bound, a
src/werkzeug/local.py:382
↓ 2 callers
Class
MethodNotAllowed
*405* `Method Not Allowed` Raise if the server used a method the resource does not handle. For example `POST` if the resource is view only.
src/werkzeug/exceptions.py:354
↓ 2 callers
Class
MultipartEncoder
src/werkzeug/sansio/multipart.py:256
↓ 2 callers
Class
RequestEntityTooLarge
*413* `Request Entity Too Large` The status code one should return if the data submitted exceeded a given limit.
src/werkzeug/exceptions.py:477
↓ 2 callers
Class
Response
The concrete response object for the WSGI application.
examples/coolmagic/utils.py:85
↓ 2 callers
Class
Response
examples/i18nurls/application.py:44
↓ 2 callers
Class
Revision
Represents one revision of a page. This is useful for editing particular revision of pages or creating new revisions. It's also used for
examples/simplewiki/database.py:63
↓ 2 callers
Class
RulePart
A part of a rule. Rules can be represented by parts as delimited by `/` with instances of this class representing those parts. The *content*
src/werkzeug/routing/rules.py:26
↓ 2 callers
Class
State
A representation of a rule state. This includes the *rules* that correspond to the state and the possible *static* and *dynamic* transitions
src/werkzeug/routing/matcher.py:19
↓ 2 callers
Class
Submount
Like `Subdomain` but prefixes the URL rule with a given string:: url_map = Map([ Rule('/', endpoint='index'), Submoun
src/werkzeug/routing/rules.py:171
↓ 2 callers
Class
Weighting
src/werkzeug/routing/rules.py:18
↓ 2 callers
Class
_RangeWrapper
This class can be used to convert an iterable object into an iterable that will only yield a piece of the underlying content. It yields blocks
src/werkzeug/wsgi.py:582
↓ 2 callers
Class
header_property
Like `environ_property` but for headers.
src/werkzeug/utils.py:152
↓ 1 callers
Class
Aborter
When passed a dict of code -> exception items it can be used as callable that raises exceptions. If the first argument to the callable is an
src/werkzeug/exceptions.py:833
↓ 1 callers
Class
Application
examples/httpbasicauth.py:9
↓ 1 callers
Class
BadGateway
*502* `Bad Gateway` If you do proxying in your application you should return this status code if you received an invalid response from the up
src/werkzeug/exceptions.py:753
↓ 1 callers
Class
BadHost
Raised if the submitted host is badly formatted. .. versionadded:: 0.11.2
src/werkzeug/exceptions.py:245
↓ 1 callers
Class
BaseWSGIServer
A WSGI server that that handles one request at a time. Use :func:`make_server` to create a server instance.
src/werkzeug/serving.py:651
↓ 1 callers
Class
Blog
examples/plnt/database.py:53
↓ 1 callers
Class
BuildError
Raised if the build system cannot find a URL for an endpoint with the values provided.
src/werkzeug/routing/exceptions.py:65
↓ 1 callers
Class
BytesURL
Represents a parsed URL in bytes.
src/werkzeug/urls.py:355
↓ 1 callers
Class
COEP
Cross Origin Embedder Policies
src/werkzeug/http.py:178
↓ 1 callers
Class
COOP
Cross Origin Opener Policies
src/werkzeug/http.py:185
↓ 1 callers
Class
CharsetAccept
Like :class:`Accept` but with normalization for charsets.
src/werkzeug/datastructures.py:1936
↓ 1 callers
Class
ClientDisconnected
Internal exception that is raised if Werkzeug detects a disconnected client. Since the client is already gone at that point attempting to sen
src/werkzeug/exceptions.py:222
↓ 1 callers
Class
ClientRedirectError
If a redirect loop is detected when using follow_redirects=True with the :cls:`Client`, then this exception is raised.
src/werkzeug/test.py:837
↓ 1 callers
Class
CloseIter
tests/test_test.py:699
↓ 1 callers
Class
CoolMagicApplication
The application class. It's passed a directory with configuration values.
examples/coolmagic/application.py:21
↓ 1 callers
Class
Cup
examples/cupoftee/application.py:80
↓ 1 callers
Class
CustomRule
tests/test_routing.py:1239
↓ 1 callers
Class
Database
examples/cupoftee/db.py:10
↓ 1 callers
Class
DebugFrameSummary
A :class:`traceback.FrameSummary` that can evaluate code in the frame's namespace.
src/werkzeug/debug/tbtools.py:338
↓ 1 callers
Class
DechunkedInput
An input stream that handles Transfer-Encoding 'chunked
src/werkzeug/serving.py:86
↓ 1 callers
Class
DevServerClient
tests/conftest.py:24
↓ 1 callers
Class
DispatcherMiddleware
Combine multiple applications as a single WSGI application. Requests are dispatched to an application based on the path it is mounted under.
src/werkzeug/middleware/dispatcher.py:41
↓ 1 callers
Class
EndpointPrefix
Prefixes all endpoints (which must be strings for this factory) with another string. This can be useful for sub applications:: url_map =
src/werkzeug/routing/rules.py:197
↓ 1 callers
Class
Entry
examples/plnt/database.py:66
↓ 1 callers
Class
ErrorStream
src/werkzeug/middleware/lint.py:99
↓ 1 callers
Class
EventHandler
src/werkzeug/_reloader.py:312
↓ 1 callers
Class
Foo
tests/test_local.py:433
↓ 1 callers
Class
ForkingWSGIServer
A WSGI server that handles concurrent requests in separate forked processes. Use :func:`make_server` to create a server instance.
src/werkzeug/serving.py:826
↓ 1 callers
Class
GuardedIterator
src/werkzeug/middleware/lint.py:130
↓ 1 callers
Class
GuardedWrite
src/werkzeug/middleware/lint.py:119
↓ 1 callers
Class
ImmutableDict
An immutable :class:`dict`. .. versionadded:: 0.5
src/werkzeug/datastructures.py:1572
↓ 1 callers
Class
ImportStringError
Provides information about a failed :func:`import_string` attempt.
src/werkzeug/utils.py:667
↓ 1 callers
Class
InputStream
src/werkzeug/middleware/lint.py:47
↓ 1 callers
Class
Iterable
tests/test_test.py:737
↓ 1 callers
Class
Iterable
tests/test_wrappers.py:278
↓ 1 callers
Class
LanguageAccept
Like :class:`Accept` but with normalization for language tags.
src/werkzeug/datastructures.py:1882
↓ 1 callers
Class
LowercasingStream
tests/test_wrappers.py:455
↓ 1 callers
Class
MIMEAccept
Like :class:`Accept` but with special methods and behavior for mimetypes.
src/werkzeug/datastructures.py:1808
↓ 1 callers
Class
MapAdapter
Returned by :meth:`Map.bind` or :meth:`Map.bind_to_environ` and does the URL matching and building based on runtime information.
src/werkzeug/routing/map.py:376
↓ 1 callers
Class
Middleware
tests/test_test.py:521
next →
1–100 of 303, ranked by callers