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.

module documentation

Send HTTP/1.1 requests through a shared connection pool.

Each request explicitly supplies its credentials and timeout settings.

Class HttpxTransport Perform single attempts without redirects, cookies or ambient proxies.
Function _dependencies Load the HTTP stack and verified trust store outside the event loop.
Function _failure Translate HTTPX failures without retaining private request data.
Async Function create_transport Prepare trust off-loop, then construct the pool on the calling loop.
def _dependencies() -> tuple[ModuleType, ssl.SSLContext]: (source)

Load the HTTP stack and verified trust store outside the event loop.

Returns
tuple[ModuleType, ssl.SSLContext]HTTPX module and verified SSL context.

Translate HTTPX failures without retaining private request data.

Parameters
http:ModuleTypeHTTPX module loaded by the transport factory.
error:ExceptionException to classify for the caller.
Returns
HttpTimeoutException | HttpTransportExceptionSanitized error for the failed I/O phase.
async def create_transport(config: HttpClientConfig) -> IHttpTransport: (source)

Prepare trust off-loop, then construct the pool on the calling loop.

Parameters
config:HttpClientConfigValidated application HTTP client configuration.
Returns
IHttpTransportTransport initialized on the owning event loop.