Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
endpoint_constants.py
Go to the documentation of this file.
1r"""
2# +==== BEGIN CatFeeder =================+
3# LOGO:
4# ..............(..../\
5# ...............)..(.')
6# ..............(../..)
7# ...............\‍(__)|
8# Inspired by Joan Stark
9# source https://www.asciiart.eu/
10# animals/cats
11# /STOP
12# PROJECT: CatFeeder
13# FILE: constants.py
14# CREATION DATE: 11-10-2025
15# LAST Modified: 20:55:1 12-01-2026
16# DESCRIPTION:
17# This is the backend server in charge of making the actual website work.
18# /STOP
19# COPYRIGHT: (c) Cat Feeder
20# PURPOSE: The constants file in charge of storing the constants for the endpoints.
21# // AR
22# +==== END CatFeeder =================+
23"""
24from typing import Tuple
25from display_tty import Disp, initialise_logger
26from ..config import TOMLLoader
27
28
29IDISP: Disp = initialise_logger("Endpoint Constants", False)
30
31# toml config file
32TOML: TOMLLoader = TOMLLoader()
33
34# Test configuration
35TEST_ENABLE_TESTING_ENDPOINTS = TOML.get_toml_variable(
36 "Test", "enable_testing_endpoints", False
37)
38
39WORDS: Tuple[str, ...] = ()
40WORDS_LENGTH: int = 0
41
42DEFAULT_NAME_WORD_COUNT: int = 4
43DEFAULT_NAME_LENGTH: int = 12
44DEFAULT_NAME_LINK_CHARACTER: str = "-"