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 database seeders components and public imports.

Module events Define events for database seeders.
Module runner Apply new seeders exactly once on the selected database connection.
Module seeder Base class for asynchronous application database seeders.

From __init__.py:

Class Seeder Base class for asynchronous application database seeders.
Class SeederRunner Apply new seeders exactly once on the selected database connection.
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
{'Seeder': ('orionis.database.seeders.seeder', 'Seeder'),
 'SeederEvents': ('orionis.database.seeders.events', 'SeederEvents'),
 'SeederRunner': ('orionis.database.seeders.runner', 'SeederRunner')}