|
TTY OV
1
A cross platform python terminal
|
Data Structures | |
| class | LangConfig |
| class | Langs |
Variables | |
| MODULE_ROOT = Path(__file__).resolve().parent.parent | |
| str | DEFAULT_DB_PATH = MODULE_ROOT / "data" / "polyguard.sqlite" |
| str | DEFAULT_SOURCE_WORDS = MODULE_ROOT.parent / "wordlists" |
| int | DEFAULT_CACHE_MAX_LANGS = 8 |
| tuple | POLY_BOOT_MSG |
| tuple | POLY_HELP_TEXT |
| tuple | POLY_MAN_TEXT |
| str | POLY_PROMPT = "polyguard> " |
| str | STATUS_BLOCKED = "BLOCKED" |
| str | STATUS_OK = "OK" |
| str | DB_PATH_FMT = "DB path: {path}" |
| TOKENISER_TABLE = str.maketrans('', '', '\n\r\t\f') | |
# +==== BEGIN polyguard =================+ # LOGO: # input # # @#$%! hello # | | # +--+--+ # | # v # +------------+ # | POLY GUARD | # +------------+ # | | # v v # BLOCKED PASSED # KO OK # /STOP # PROJECT: polyguard # FILE: constants.py # CREATION DATE: 20-03-2026 # LAST Modified: 3:53:29 22-03-2026 # DESCRIPTION: # A module that provides a set of swearwords to listen to when filtering while allowing to toggle on and off different languages. # /STOP # COPYRIGHT: (c) Henry Letellier # PURPOSE: This is the file containing the constants of the class. # // AR # +==== END polyguard =================+
| str polyguard.src.constants.DB_PATH_FMT = "DB path: {path}" |
Definition at line 299 of file constants.py.
| int polyguard.src.constants.DEFAULT_CACHE_MAX_LANGS = 8 |
Definition at line 49 of file constants.py.
| str polyguard.src.constants.DEFAULT_DB_PATH = MODULE_ROOT / "data" / "polyguard.sqlite" |
Definition at line 43 of file constants.py.
| str polyguard.src.constants.DEFAULT_SOURCE_WORDS = MODULE_ROOT.parent / "wordlists" |
Definition at line 45 of file constants.py.
| polyguard.src.constants.MODULE_ROOT = Path(__file__).resolve().parent.parent |
Definition at line 39 of file constants.py.
| tuple polyguard.src.constants.POLY_BOOT_MSG |
Definition at line 258 of file constants.py.
| tuple polyguard.src.constants.POLY_HELP_TEXT |
Definition at line 264 of file constants.py.
| tuple polyguard.src.constants.POLY_MAN_TEXT |
Definition at line 278 of file constants.py.
| str polyguard.src.constants.POLY_PROMPT = "polyguard> " |
Definition at line 296 of file constants.py.
| str polyguard.src.constants.STATUS_BLOCKED = "BLOCKED" |
Definition at line 297 of file constants.py.
| str polyguard.src.constants.STATUS_OK = "OK" |
Definition at line 298 of file constants.py.
| polyguard.src.constants.TOKENISER_TABLE = str.maketrans('', '', '\n\r\t\f') |
Definition at line 301 of file constants.py.