Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
backend.src.libs.fffamily.ff_constants Namespace Reference

Functions

str process_file_path (*Union[str, PPath] args, Optional[Union[str, PPath]] cwd=None)
 

Variables

str FFMPEG_KEY = "ffmpeg"
 
str FFPROBE_KEY = "ffprobe"
 
str FFPLAY_KEY = "ffplay"
 
str WINDOWS_KEY = "windows"
 
str LINUX_KEY = "linux"
 
str MAC_KEY = "darwin"
 
str FILE_URL_TOKEN = "file_url"
 
str FILE_PATH_TOKEN = "file_path"
 
int QUERY_TIMEOUT = 10
 
 CWD = os.getcwd()
 
dict BUNDLE_DOWNLOAD
 

Detailed Description

# +==== BEGIN CatFeeder =================+
# LOGO:
# ..............(..../\
# ...............)..(.')
# ..............(../..)
# ...............\‍(__)|
# Inspired by Joan Stark
# source https://www.asciiart.eu/
# animals/cats
# /STOP
# PROJECT: CatFeeder
# FILE: ff_constants.py
# CREATION DATE: 19-11-2025
# LAST Modified: 14:50:38 19-12-2025
# DESCRIPTION:
# This is the backend server in charge of making the actual website work.
# /STOP
# COPYRIGHT: (c) Cat Feeder
# PURPOSE: The constants used by the ff download handler.
# // AR
# +==== END CatFeeder =================+

Function Documentation

◆ process_file_path()

str backend.src.libs.fffamily.ff_constants.process_file_path ( *Union[str, PPath] args,
Optional[Union[str, PPath]] cwd = None )
Convert a list of elements making up a path to a valid system-specific path.

Args:
    *args: Path components to join.
    cwd: Optional base directory to prepend to the path.

Returns:
    str: The compiled path.

Definition at line 47 of file ff_constants.py.

Variable Documentation

◆ BUNDLE_DOWNLOAD

dict backend.src.libs.fffamily.ff_constants.BUNDLE_DOWNLOAD

Definition at line 65 of file ff_constants.py.

◆ CWD

backend.src.libs.fffamily.ff_constants.CWD = os.getcwd()

Definition at line 44 of file ff_constants.py.

◆ FFMPEG_KEY

str backend.src.libs.fffamily.ff_constants.FFMPEG_KEY = "ffmpeg"

Definition at line 32 of file ff_constants.py.

◆ FFPLAY_KEY

str backend.src.libs.fffamily.ff_constants.FFPLAY_KEY = "ffplay"

Definition at line 34 of file ff_constants.py.

◆ FFPROBE_KEY

str backend.src.libs.fffamily.ff_constants.FFPROBE_KEY = "ffprobe"

Definition at line 33 of file ff_constants.py.

◆ FILE_PATH_TOKEN

str backend.src.libs.fffamily.ff_constants.FILE_PATH_TOKEN = "file_path"

Definition at line 41 of file ff_constants.py.

◆ FILE_URL_TOKEN

str backend.src.libs.fffamily.ff_constants.FILE_URL_TOKEN = "file_url"

Definition at line 40 of file ff_constants.py.

◆ LINUX_KEY

str backend.src.libs.fffamily.ff_constants.LINUX_KEY = "linux"

Definition at line 37 of file ff_constants.py.

◆ MAC_KEY

str backend.src.libs.fffamily.ff_constants.MAC_KEY = "darwin"

Definition at line 38 of file ff_constants.py.

◆ QUERY_TIMEOUT

int backend.src.libs.fffamily.ff_constants.QUERY_TIMEOUT = 10

Definition at line 42 of file ff_constants.py.

◆ WINDOWS_KEY

str backend.src.libs.fffamily.ff_constants.WINDOWS_KEY = "windows"

Definition at line 36 of file ff_constants.py.