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

Normalize client IP and scheme using trusted proxy headers.

Class ProxiesMiddleware Normalize client IP and scheme using trusted proxy headers.
Constant _PRIVATE_NETWORKS Loopback and RFC-1918 networks used to expand the 'private' shorthand.
_PRIVATE_NETWORKS: tuple[IPv4Network, ...] = (source)

Loopback and RFC-1918 networks used to expand the 'private' shorthand.

Value
(ip_network('127.0.0.0/8'),
 ip_network('10.0.0.0/8'),
 ip_network('172.16.0.0/12'),
 ip_network('192.168.0.0/16'))