abc.ABC
klein.test.test_headers.GetValuesTestsMixIn
- Tests for utilities that access data from the RawHeaders internal representation.klein.test.test_headers.FrozenHTTPHeadersTests
- Tests for FrozenHTTPHeaders
.klein.test.test_headers.MutableHTTPHeadersTestsMixIn
- Tests for IMutableHTTPHeaders
implementations.klein.test.test_headers.RawHeadersReadTests
- Tests for utilities that access data from the "headers tartare" internal representation.klein.test.test_headers.MutableHTTPHeadersTestsMixIn
- Tests for IMutableHTTPHeaders
implementations.klein.test.test_message.FrozenHTTPMessageTestsMixIn
- Mix-In class for implementations of IHTTPMessage.klein.test.util.EqualityTestsMixin
- A mixin defining tests for the standard implementation of == and !=.klein.test.test_app.KleinEqualityTestCase
- Tests for Klein
's implementation of == and !=.klein.test.test_resource.KleinResourceEqualityTests
- Tests for KleinResource
's implementation of == and !=.constantly.Names
klein.interfaces.SessionMechanism
- Mechanisms which can be used to identify and authenticate a session.Exception
klein._imessage.FountAlreadyAccessedError
- The HTTP message's fount has already been accessed and is no longer available.klein._resource.URLDecodeError
- Raised if one or more string parts of the URL could not be decoded.klein.interfaces.EarlyExit
- An EarlyExit
may be raised by any of the code that runs in the before-request dependency injection code path when using klein.Requirer.require
.klein.interfaces.NoSuchSession
- No such session could be found.klein.interfaces.TooLateForCookies
- It's too late to set a cookie.klein.interfaces.TransactionEnded
- Exception raised when.klein.interfaces.ValidationError
- A ValidationError
is raised by Field.extractValue
.klein.interfaces.ValueAbsent
- A value was required but none was supplied.klein._form.FieldInjector
- Field injector.klein._form.ProtoForm
- Form-builder.klein._form.RenderableFormParam
- A RenderableFormParam
implements IRequiredParameter
and IDependencyInjector
to provide a RenderableForm
to your route.klein._headers.FrozenHTTPHeaders
- Immutable HTTP entity headers.klein._headers.MutableHTTPHeaders
- Mutable HTTP entity headers.klein._headers_compat.HTTPHeadersWrappingHeaders
- HTTP entity headers.klein._message.MessageState
- Internal mutable state for HTTP message implementations in klein
.klein._request.FrozenHTTPRequest
- Immutable HTTP request.klein._request_compat.HTTPRequestWrappingIRequest
- HTTP request.klein._requirer.RequestLifecycle
- Mechanism to run hooks at the start of a request managed by a Requirer
.klein._resource._StandInResource
- A standin for a Resource.klein._response.FrozenHTTPResponse
- Immutable HTTP response.klein._tubes.IOFount
- Fount that reads from a file-like-object.klein.app.Klein
- Klein
is an object which is responsible for maintaining the routing configuration of our application.klein.app.KleinRequest
- Undocumentedklein.Authorization
- Declare that a require-decorated function requires a certain interface be authorized from the session.klein.Field
- A Field
is a static part of a Form
.klein.test.test_form.DanglingField
- A dangling field that, for some reason, doesn't remember its own name when told.klein.FieldValues
- Reified post-parsing values for HTTP form submission.klein.Form
- A Form
is a collection of fields attached to a function.klein.Plating
- A Plating
is a container which can be used to generate HTML from data.klein.Plating._Widget
- Implementation of Plating.widgeted
. This is a callable
descriptor that records the instance to which its wrapped function is bound, if any. Its widget
method then passes that instance or None
and the result of invoking the function (or now bound method) to the creating ...klein.RenderableForm
- An IRenderable
representing a renderable form.klein.RequestComponent
- Require a hyperlink DecodedURL
object from a Requirer
.klein.RequestURL
- Require a hyperlink DecodedURL
object from a Requirer
.klein.Requirer
- Dependency injection for required parameters.klein.resource._SpecialModuleObject
- See the test in klein.test.test_resource.GlobalAppTests.test_weird_resource_situation
for an explanation.klein.Response
- Metadata about an HTTP response, with an object that Klein knows how to understand.klein.SessionProcurer
- A SessionProcurer
procures a session from a request and a store.klein.storage._memory._MemoryAuthorizerFunction
- Type shadow for function with the given attribute.klein.storage._memory.MemorySession
- An in-memory session.klein.storage.memory.MemorySessionStore
- No class docstring; 0/2 instance variable, 1/4 method, 1/1 class method documentedklein.test.test_app.DummyRequest
- Undocumentedklein.test.test_app.DuplicateHasher
- Every DuplicateHasher
has the same hash value and compares equal to every other DuplicateHasher
.klein.test.test_app.KleinEqualityTestCase._One
- Undocumentedklein.test.test_form.TestObject
- No class docstring; 0/2 instance variable, 0/2 class variable, 6/15 methods documentedklein.test.test_plating.DeferredValue
- A value within a JSON serializable object that is deferred.klein.test.test_plating.InstanceWidget
- A class with a method that's a Plating.widget
.klein.test.test_resource.KleinResourceEqualityTests._Another
- Undocumentedklein.test.test_resource.KleinResourceEqualityTests._One
- Undocumentedklein.test.test_resource.MockProducer
- Undocumentedklein.test.test_session.SimpleTest
- Implementation of ISimpleTest
for testing.klein.test.test_trial.TestCaseTests.Frobbable
- Implements IFrobbable
.klein.test.test_trial.TestCaseTests.NotFrobbable
- Does not implement IFrobbable
, despite declaring.twisted.trial.unittest.SynchronousTestCase
klein.test._trial.TestCase
- Extensions to SynchronousTestCase
.klein.test.test_headers.EncodingTests
- Tests for encoding support in klein._headers
.klein.test.test_headers.FrozenHTTPHeadersTests
- Tests for FrozenHTTPHeaders
.klein.test.test_headers.HeaderNameNormalizationTests
- Tests for header name normalization.klein.test.test_headers.MutableHTTPHeadersTests
- Tests for MutableHTTPHeaders
.klein.test.test_headers.RawHeadersConversionTests
- Tests for normalizeRawHeaders
.klein.test.test_headers.RawHeadersReadTests
- Tests for utilities that access data from the "headers tartare" internal representation.klein.test.test_headers_compat.HTTPHeadersWrappingHeadersTests
- Tests for HTTPHeadersWrappingHeaders
.klein.test.test_request.FrozenHTTPRequestTests
- Tests for FrozenHTTPRequest
.klein.test.test_request_compat.HTTPRequestWrappingIRequestTests
- Tests for HTTPRequestWrappingIRequest
.klein.test.test_response.FrozenHTTPResponseTests
- Tests for FrozenHTTPResponse
.klein.test.test_trial.TestCaseTests
- Tests for TestCase
.klein.test.test_form.TestForms
- Tests for klein.Form
and associated tools.klein.test.test_memory.MemoryTests
- Tests for memory-based session storage.klein.test.test_plating.ResolveDeferredObjectsTests
- Tests for resolve_deferred_objects
.klein.test.test_plating.TransformJSONObjectTests
- Tests for transform_json_object
.klein.test.test_requirer.RequireComponentTests
- Tests for RequestComponent.klein.test.test_requirer.RequireURLTests
- Tests for RequestURL() required parameter.klein.test.test_requirer.ResponseTests
- Tests for klein.Response
.klein.test.test_resource.ExtractURLpartsTests
- Tests for klein.resource.extractURLparts
.klein.test.test_resource.GlobalAppTests
- Tests for the global app objectklein.test.test_resource.KleinResourceEqualityTests
- Tests for KleinResource
's implementation of == and !=.klein.test.test_resource.KleinResourceTests
- No class docstring; 0/2 instance variable, 8/50 methods documentedklein.test.test_session.ProcurementTests
- Tests for klein.SessionProcurer
.twisted.trial.unittest.TestCase
klein.test.test_app.KleinEqualityTestCase
- Tests for Klein
's implementation of == and !=.klein.test.test_app.KleinTestCase
- No class docstring; 20/20 methods documentedklein.test.test_exports.PublicSymbolsTestCase
- Tests for public API modules.klein.test.test_plating.PlatingTests
- Tests for Plating
.twisted.web.http_headers.Headers
klein.test.test_requirer.BadlyBehavedHeaders
- Make Headers
lie, and refuse to return a Host header from getAllRequestHeaders.twisted.web.resource.Resource
klein._form.CrossSiteRequestForgery
- Cross site request forgery detected. Request aborted.klein._resource.KleinResource
- A ``Resource`` that can do URL routing.klein._session.AuthorizationDenied
- Undocumentedklein.test.test_resource.ChildrenResource
- Undocumentedklein.test.test_resource.ChildResource
- Undocumentedklein.test.test_resource.LeafResource
- Undocumentedklein.test.test_resource.ProducingResource
- Undocumentedtwisted.web.server.Request
klein.test.test_resource.MockRequest
- Undocumentedtwisted.web.template.Element
klein._plating.PlatedElement
- The element type returned by Plating
. This contains several utility renderers.klein.test.test_resource.SimpleElement
- Undocumentedklein.test.test_resource.DeferredElement
- Undocumentedtyping_extensions.Protocol
klein._app.KleinErrorFunction
- No class docstring; 1/1 method documentedklein._app.KleinErrorMethod
- No class docstring; 1/1 method documentedklein._app.KleinRouteFunction
- No class docstring; 1/1 method documentedklein._app.KleinRouteMethod
- No class docstring; 1/1 method documentedzope.interface.Interface
klein._form.IFieldValues
- Marker interface for parsed fields.klein._form.IForm
- Marker interface for form attached to dependency injection components.klein._form.IParsedJSONBody
- Marker interface for the dict parsed from the request body's JSON contents.klein._form.IProtoForm
- Marker interface for ProtoForm
.klein._form.IValidationFailureHandler
- Validation failure handler callable interface.klein._imessage.IHTTPHeaders
- HTTP entity headers.klein._imessage.IMutableHTTPHeaders
- Mutable HTTP entity headers.klein._imessage.IHTTPMessage
- HTTP entity.klein._imessage.IHTTPRequest
- HTTP request.klein._imessage.IHTTPResponse
- HTTP response.klein.interfaces.IDependencyInjector
- An injector for a given dependency.klein.interfaces.IKleinRequest
- No interface docstring; 2/2 attributes, 1/1 method documentedklein.interfaces.IRequestLifecycle
- Interface for adding hooks to the phases of a request's lifecycle.klein.interfaces.IRequiredParameter
- A declaration that a given Python parameter is required to satisfy a given dependency at request-handling time.klein.interfaces.ISession
- An ISession
provider contains an identifier for the session, information about how the session was negotiated with the client software, andklein.interfaces.ISessionProcurer
- An ISessionProcurer
wraps an ISessionStore
and can procure sessions that store, given HTTP request objects.klein.interfaces.ISessionStore
- Backing storage for sessions.klein.interfaces.ISimpleAccount
- Data-store agnostic account interface.klein.interfaces.ISimpleAccountBinding
- Data-store agnostic account / session binding manipulation API for "simple" accounts - i.e. those using username, password, and email address as a method to authenticate a user.klein.test.test_memory.IBar
- Testing interface 2.klein.test.test_memory.IFoo
- Testing interface 1.klein.test.test_requirer.ISample
- Interface for testing.klein.test.test_session.IDenyMe
- Interface that is never provided.klein.test.test_session.ISimpleTest
- Interface for testing.klein.test.test_trial.TestCaseTests.IFrobbable
- Frobbable object.