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

Hold an uploaded file in memory or spill it to a temporary file on disk.

Class UploadedFile Hold an uploaded file in memory or spill it to a temporary file on disk.
Constant _CHUNK_SIZE Maximum chunk size for streaming file saves to disk (64 KiB).
Constant _DOTFILE_RE Pattern to detect dotfiles and path-traversal prefixes.
Constant _UNSAFE_FILENAME_RE Forbidden filename characters on POSIX and Windows systems.
_CHUNK_SIZE = (source)

Maximum chunk size for streaming file saves to disk (64 KiB).

Value
64 * 1024
_DOTFILE_RE = (source)

Pattern to detect dotfiles and path-traversal prefixes.

Value
re.compile(r'^\.+')
_UNSAFE_FILENAME_RE = (source)

Forbidden filename characters on POSIX and Windows systems.

Value
re.compile(r'[\x00-\x1f\x7f/\\:\*\?"<>\|]')