Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
__init__.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: __init__.py
14# CREATION DATE: 04-12-2025
15# LAST Modified: 22:15:22 14-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:
21# The file in charge of exposing the classes and functions in the folder that the user is supposed to be able to use.
22# Configuration Package
23# Centralized configuration management for the Asperguide Backend.
24# Provides singleton loaders for config.toml and .env files with smart path resolution.
25# Usage:
26# from config import get_config, get_env
27# db_host = get_config('Database', 'host')
28# api_key = get_env('API_KEY')
29# /STOP
30# // AR
31# +==== END CatFeeder =================+
32"""
33
34from .toml_loader import load_config, get_config, get_project_root, refresh_debug, TOMLLoader
35from .env_loader import load_env, get_env, apply_env, EnvLoader
36
37ConfigLoader = TOMLLoader
38
39__all__ = [
40 # TOML config
41 'load_config',
42 'get_config',
43 'get_project_root',
44 'refresh_debug',
45 'TOMLLoader',
46 'ConfigLoader',
47
48 # Environment variables
49 'load_env',
50 'get_env',
51 'apply_env',
52 'EnvLoader',
53]