TTY OV  1
A cross platform python terminal
Loading...
Searching...
No Matches
constants.py File Reference

Go to the source code of this file.

Data Structures

class  polyguard.src.constants.LangConfig
 
class  polyguard.src.constants.Langs
 

Namespaces

namespace  polyguard
 
namespace  polyguard.src
 
namespace  polyguard.src.constants
 

Variables

 polyguard.src.constants.MODULE_ROOT = Path(__file__).resolve().parent.parent
 
str polyguard.src.constants.DEFAULT_DB_PATH = MODULE_ROOT / "data" / "polyguard.sqlite"
 
str polyguard.src.constants.DEFAULT_SOURCE_WORDS = MODULE_ROOT.parent / "wordlists"
 
int polyguard.src.constants.DEFAULT_CACHE_MAX_LANGS = 8
 
tuple polyguard.src.constants.POLY_BOOT_MSG
 
tuple polyguard.src.constants.POLY_HELP_TEXT
 
tuple polyguard.src.constants.POLY_MAN_TEXT
 
str polyguard.src.constants.POLY_PROMPT = "polyguard> "
 
str polyguard.src.constants.STATUS_BLOCKED = "BLOCKED"
 
str polyguard.src.constants.STATUS_OK = "OK"
 
str polyguard.src.constants.DB_PATH_FMT = "DB path: {path}"
 
 polyguard.src.constants.TOKENISER_TABLE = str.maketrans('', '', '\n\r\t\f')