|
Cat Feeder
1.0.0
The Cat feeder project
|
Functions | |
| str | _get_environement_variable (Dict[str, Optional[str]] environement, str variable_name, bool required=True) |
Variables | |
| Disp | IDISP = initialise_logger("Bucket Constants", False) |
| _DOTENV = dict(dotenv.dotenv_values()) | |
| _OS_ENV = dict(os.environ) | |
| dict | ENV = {} |
| str | BUCKET_RESSOURCE_TYPE = "s3" |
| str | BUCKET_SIGNATURE_VERSION |
| str | BUCKET_HOST = _get_environement_variable(ENV, "BUCKET_HOST") |
| str | BUCKET_PORT |
| str | BUCKET_USER = _get_environement_variable(ENV, "BUCKET_USER") |
| str | BUCKET_PASSWORD |
# +==== BEGIN CatFeeder =================+ # LOGO: # ..............(..../\ # ...............)..(.') # ..............(../..) # ...............\(__)| # Inspired by Joan Stark # source https://www.asciiart.eu/ # animals/cats # /STOP # PROJECT: CatFeeder # FILE: bucket_constants.py # CREATION DATE: 18-11-2025 # LAST Modified: 14:42:10 19-12-2025 # DESCRIPTION: # This is the backend server in charge of making the actual website work. # /STOP # COPYRIGHT: (c) Cat Feeder # PURPOSE: File in charge of containing the constants required for the bucket wrapper. # // AR # +==== END CatFeeder =================+
|
protected |
_summary_
Get the content of an environement variable.
Args:
variable_name (str): _description_
required (bool): If False, return empty string if variable not found. Defaults to True.
Returns:
str: _description_: the value of that variable, otherwise an exception is raised.
Definition at line 41 of file bucket_constants.py.
|
protected |
Definition at line 34 of file bucket_constants.py.
|
protected |
Definition at line 35 of file bucket_constants.py.
| str backend.src.libs.bucket.bucket_constants.BUCKET_HOST = _get_environement_variable(ENV, "BUCKET_HOST") |
Definition at line 73 of file bucket_constants.py.
| str backend.src.libs.bucket.bucket_constants.BUCKET_PASSWORD |
Definition at line 77 of file bucket_constants.py.
| str backend.src.libs.bucket.bucket_constants.BUCKET_PORT |
Definition at line 74 of file bucket_constants.py.
| str backend.src.libs.bucket.bucket_constants.BUCKET_RESSOURCE_TYPE = "s3" |
Definition at line 67 of file bucket_constants.py.
| str backend.src.libs.bucket.bucket_constants.BUCKET_SIGNATURE_VERSION |
Definition at line 70 of file bucket_constants.py.
| str backend.src.libs.bucket.bucket_constants.BUCKET_USER = _get_environement_variable(ENV, "BUCKET_USER") |
Definition at line 76 of file bucket_constants.py.
| dict backend.src.libs.bucket.bucket_constants.ENV = {} |
Definition at line 36 of file bucket_constants.py.
| Disp backend.src.libs.bucket.bucket_constants.IDISP = initialise_logger("Bucket Constants", False) |
Definition at line 30 of file bucket_constants.py.