Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
backend.src.__main__ Namespace Reference

Variables

Path LOG_PATH = Path(__file__).parent.parent
 
bool MERGE_STREAMS
 
 INSTANCE
 
str SERVER_NAME = "CatFeeder"
 
Disp IDISP = initialise_logger(f"'{SERVER_NAME}'", False)
 
 MI
 
 STATUS = CONST.ERROR
 

Detailed Description

# +==== BEGIN CatFeeder =================+
# LOGO:
# ..............(..../\
# ...............)..(.')
# ..............(../..)
# ...............\‍(__)|
# Inspired by Joan Stark
# source https://www.asciiart.eu/
# animals/cats
# /STOP
# PROJECT: CatFeeder
# FILE: __main__.py
# CREATION DATE: 11-10-2025
# LAST Modified: 14:53:47 19-12-2025
# DESCRIPTION:
# This is the backend server in charge of making the actual website work.
# /STOP
# COPYRIGHT: (c) Cat Feeder
# PURPOSE: The file in charge of allowing the files in this folder to be run as is, without any issues.
# // AR
# +==== END CatFeeder =================+

Variable Documentation

◆ IDISP

Disp backend.src.__main__.IDISP = initialise_logger(f"'{SERVER_NAME}'", False)

Definition at line 51 of file __main__.py.

◆ INSTANCE

backend.src.__main__.INSTANCE
Initial value:
1= RotaryLogger(
2 merge_streams=MERGE_STREAMS,
3 log_to_file=RL_CONST.LOG_TO_FILE_ENV,
4 raw_log_folder=str(LOG_PATH),
5 default_log_folder=LOG_PATH
6)

Definition at line 39 of file __main__.py.

◆ LOG_PATH

Path backend.src.__main__.LOG_PATH = Path(__file__).parent.parent

Definition at line 34 of file __main__.py.

◆ MERGE_STREAMS

bool backend.src.__main__.MERGE_STREAMS
Initial value:
1= os.environ.get(
2 "MERGE_STREAMS",
3 "false"
4).lower() in ("1", "true", "yes")

Definition at line 35 of file __main__.py.

◆ MI

backend.src.__main__.MI
Initial value:
1= Main(
2 success=CONST.SUCCESS,
3 error=CONST.ERROR
4)

Definition at line 77 of file __main__.py.

◆ SERVER_NAME

str backend.src.__main__.SERVER_NAME = "CatFeeder"

Definition at line 48 of file __main__.py.

◆ STATUS

backend.src.__main__.STATUS = CONST.ERROR

Definition at line 84 of file __main__.py.