TTY OV  1
A cross platform python terminal
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
1"""
2# +==== BEGIN polyguard =================+
3# LOGO:
4# input
5#
6# @#$%! hello
7# | |
8# +--+--+
9# |
10# v
11# +------------+
12# | POLY GUARD |
13# +------------+
14# | |
15# v v
16# BLOCKED PASSED
17# KO OK
18# /STOP
19# PROJECT: polyguard
20# FILE: __main__.py
21# CREATION DATE: 13-03-2026
22# LAST Modified: 20:9:35 21-03-2026
23# DESCRIPTION:
24# A module that provides a set of swearwords to listen to when filtering while allowing to toggle on and off different languages.
25# /STOP
26# COPYRIGHT: (c) Henry Letellier
27# PURPOSE: This is the entrypoint of the program when it get called as a module instead of imported.
28# // AR
29# +==== END polyguard =================+
30"""
31
32import sys
33try:
34 from .src.cli import main
35except ImportError:
36 try:
37 from src.cli import main
38 except ImportError as e:
39 raise ImportError("Failed to import required files to run") from e
40
41if __name__ == "__main__":
42 sys.exit(main(sys.argv))