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

Provide shared hashing limits and lazy backend resolution.

Function import_hasher_backend Import the backend class of a hashing driver on demand.
Constant ARGON2_MAX_COST Largest memory or time cost representable by the native Argon2 interface.
Constant ARGON2_MAX_THREADS Largest number of parallel lanes supported by Argon2.
Constant ARGON2_MEMORY_PER_THREAD Minimum memory in kibibytes required for each Argon2 lane.
def import_hasher_backend(module: str, attribute: str, package: str) -> Any: (source)

Import the backend class of a hashing driver on demand.

Parameters
module:strFully qualified module exposing the backend class.
attribute:strName of the backend class inside module.
package:strDistribution requirement used in the uv hint when the import fails.
Returns
typing.AnyThe backend class ready to be instantiated.
Raises
orionis.hashing.exceptions.MissingHashDependencyExceptionIf the backend package is not installed.
ARGON2_MAX_COST = (source)

Largest memory or time cost representable by the native Argon2 interface.

Value
2 ** 32 - 1
ARGON2_MAX_THREADS = (source)

Largest number of parallel lanes supported by Argon2.

Value
2 ** 24 - 1
ARGON2_MEMORY_PER_THREAD: int = (source)

Minimum memory in kibibytes required for each Argon2 lane.

Value
8