ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

package documentation

Expose the asynchronous outbound HTTP client.

Public types are loaded on demand when imported from this package.

Package contracts Publish outbound HTTP contracts on demand.
Module exceptions Define failures for outbound HTTP operations.
Module executor Collect one response within the request budget.
Module manager Manage configured HTTP integrations.
Module pending Build isolated chains of outbound HTTP requests.
Module provider Register the outbound HTTP manager.
Module request Prepare a bounded HTTP request.
Module response Expose detached HTTP responses.
Module runtime Own HTTP work on the event loop that admitted it.
Package testing Provide execution-local HTTP fixtures.
Package transports Provide network transports for outbound HTTP.
Module urls Canonicalize and authorize outbound HTTPS destinations.

From __init__.py:

Class ClientResponse Store the status, ordered header fields and bounded body of a response.
Class HttpManager Share application policy while isolating request and test state.
Class PendingRequest Build isolated chains and delegate every terminal to the same executor.
Function __dir__ Include deferred public types in package discovery.
Function __getattr__ Resolve public types without initializing the HTTP stack.
Constant _EXPORTS Map public HTTP client types to the modules that define them.
def __dir__() -> list[str]: (source)

Include deferred public types in package discovery.

Returns
list[str]Available public and loaded names.
def __getattr__(name: str) -> object: (source)

Resolve public types without initializing the HTTP stack.

Parameters
name:strPublic name requested from this package.
Returns
objectResolved public object.
_EXPORTS: dict = (source)

Map public HTTP client types to the modules that define them.

Value
{'ClientResponse': ('orionis.http.client.response', 'ClientResponse'),
 'HttpManager': ('orionis.http.client.manager', 'HttpManager'),
 'IHttpManager': ('orionis.http.client.contracts.manager', 'IHttpManager'),
 'PendingRequest': ('orionis.http.client.pending', 'PendingRequest')}