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.
Undocumented
| Method | __ansi |
Output a formatted console message with timestamp, program name, and state. |
| Method | __get |
Return the current date and time. |
| Method | done |
Log the completion of a program in the "DONE" state. |
| Method | fail |
Log program execution in the "FAIL" state. |
| Method | running |
Log the execution of a program in the "RUNNING" state. |
Output a formatted console message with timestamp, program name, and state.
| Parameters | |
program:str | Program or process name. |
state:str | Execution state (e.g., 'RUNNING', 'DONE', 'FAIL'). |
statestr | ANSI color code for state text. |
time:str, optional | Execution duration with units. Default is ''. |
| Returns | |
None | Prints the formatted message to the console. |
Log the completion of a program in the "DONE" state.
Outputs a formatted console message indicating successful completion of a program or process. Uses ANSI color coding to highlight the completion state with a success color. The output includes timestamp, program name, optional execution time, and colored state indicator.
| Parameters | |
program:str | Name of the program or process that has completed execution. |
time:str, optional | Total execution time duration with units. Default is ''. |
| Returns | |
None | This method prints the formatted completion state message to the console. |
Log program execution in the "FAIL" state.
Outputs a formatted console message indicating that a program or process has failed. Uses ANSI color coding to highlight the failure state with an error color. The output includes timestamp, program name, optional execution time, and colored state indicator.
| Parameters | |
program:str | Name of the program or process that failed. |
time:str, optional | Execution time duration before failure. Default is ''. |
| Returns | |
None | This method prints the formatted failure state message to the console. |
Log the execution of a program in the "RUNNING" state.
Outputs a formatted console message indicating that a program or process is currently running. Uses ANSI color coding to highlight the running state with a warning color. The output includes timestamp, program name, optional execution time, and colored state indicator.
| Parameters | |
program:str | Name of the program or process being executed. |
time:str, optional | Current execution time duration with units. Default is ''. |
| Returns | |
None | This method prints the formatted running state message to the console. |