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

Hash passwords with bcrypt.

Constant _BACKEND_CLASS BcryptHasher.
Constant _BACKEND_MODULE Backend location and distribution name reported when it is missing.
Constant _BACKEND_PACKAGE pwdlib[bcrypt].
Constant _HASH_PATTERN Canonical bcrypt cost, salt, and digest encoding without unused trailing bits.
Constant DEFAULT_ROUNDS Default base-two logarithm of the bcrypt iteration count.
Constant MAX_ROUNDS Maximum accepted base-two logarithm of the bcrypt iteration count.
Constant MIN_ROUNDS Minimum accepted base-two logarithm of the bcrypt iteration count.
_BACKEND_CLASS: str = (source)

BcryptHasher.

Value
'BcryptHasher'
_BACKEND_MODULE: str = (source)

Backend location and distribution name reported when it is missing.

Value
'pwdlib.hashers.bcrypt'
_BACKEND_PACKAGE: str = (source)

pwdlib[bcrypt].

Value
'pwdlib[bcrypt]'
_HASH_PATTERN = (source)

Canonical bcrypt cost, salt, and digest encoding without unused trailing bits.

Value
re.compile(r'\$2[abxy]\$(?:0[4-9]|[12][0-9]|3[01])\$[\./A-Za-z0-9]{21}[\.Oeu][\.↵
/A-Za-z0-9]{30}[\.CGKOSWaeimquy26]')
DEFAULT_ROUNDS: int = (source)

Default base-two logarithm of the bcrypt iteration count.

Value
12
MAX_ROUNDS: int = (source)

Maximum accepted base-two logarithm of the bcrypt iteration count.

Value
31
MIN_ROUNDS: int = (source)

Minimum accepted base-two logarithm of the bcrypt iteration count.

Value
4