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 | |
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 |
Prepare trust off-loop, then construct the pool on the calling loop. |
Load the HTTP stack and verified trust store outside the event loop.
| Returns | |
tuple[ModuleType, ssl.SSLContext] | HTTPX module and verified SSL context. |
def _failure(http:
ModuleType, error: Exception) -> HttpTimeoutException | HttpTransportException:
(source)
¶
Translate HTTPX failures without retaining private request data.
| Parameters | |
http:ModuleType | HTTPX module loaded by the transport factory. |
error:Exception | Exception to classify for the caller. |
| Returns | |
HttpTimeoutException | HttpTransportException | Sanitized error for the failed I/O phase. |
Prepare trust off-loop, then construct the pool on the calling loop.
| Parameters | |
config:HttpClientConfig | Validated application HTTP client configuration. |
| Returns | |
IHttpTransport | Transport initialized on the owning event loop. |