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

Group the introspection components and public imports.

Package abstract Group the introspection abstract components and public imports.
Package callables Group the introspection callables components and public imports.
Package concretes Group the introspection concretes components and public imports.
Package dependencies Group the introspection dependencies components and public imports.
Package instances Group the introspection instances components and public imports.
Package modules Group the introspection modules components and public imports.
Module reflection Select reflection helpers for classes, instances, functions and modules.

From __init__.py:

Class ModuleInspector Load modules and inspect their exported definitions.
Class ReflectDependencies Reflect dependency metadata from callables, constructors, and methods.
Class Reflection Select reflection helpers for classes, instances, functions and modules.
Class ReflectionAbstract Inspect abstract class declarations and their members.
Class ReflectionCallable Inspect callable signatures, parameters and invocation metadata.
Class ReflectionConcrete Inspect concrete classes and their construction requirements.
Class ReflectionInstance Inspect the class and members of an existing object.
Class ReflectionModule Inspect Python modules and the definitions they contain.
Function __dir__ List loaded attributes and declared public exports.
Function __getattr__ Resolve and cache a public package export.
Constant _EXPORTS Public export names mapped to their defining modules and attributes.
def __dir__() -> list[str]: (source)

List loaded attributes and declared public exports.

Returns
list[str]Sorted attribute names available on this package.
def __getattr__(name: str) -> object: (source)

Resolve and cache a public package export.

Parameters
name:strPublic attribute requested from this package.
Returns
objectExported object from its defining module.
Raises
AttributeErrorIf the requested attribute is not exported.
_EXPORTS: dict = (source)

Public export names mapped to their defining modules and attributes.

Value
{'ModuleInspector': ('orionis.introspection.modules.inspector',
                     'ModuleInspector'),
 'ReflectDependencies': ('orionis.introspection.dependencies.reflection',
                         'ReflectDependencies'),
 'Reflection': ('orionis.introspection.reflection', 'Reflection'),
 'ReflectionAbstract': ('orionis.introspection.abstract.reflection',
                        'ReflectionAbstract'),
...