Repository Analysis

PySimpleGUI/PySimpleGUI

Python GUIs for Humans! Create any GUI simple or complicated in a way that's intuitive. Launched in 2018. NEW for 2026 - the LGPL3 Version 6. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.

29.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of PySimpleGUI/PySimpleGUI, a Python project with 13,809 GitHub stars. SynthScan v2.0 examined 36,939 lines of code across 353 source files, recording 456 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 29.7 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

29.7
Adjusted Score
29.7
Raw Score
100%
Time Factor
2026-08-01
Last Push
13.8K
Stars
Python
Language
36.9K
Lines of Code
353
Files
456
Pattern Hits
2026-08-02
Scan Date
0.37
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 130MEDIUM 63LOW 263

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 456 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Cross-File Repetition129 hits · 645 pts
SeverityFileLineSnippetContext
HIGHDemoPrograms/Demo_Graph_Drawing.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Button_Click.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_GoodColors.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Borderless_Window.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Desktop_Widget_CPU_Graph.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Canvas.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Pong_Multiple_Platforms.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Listbox_Search_Filter.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Table_Pandas.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Media_Player.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Nice_Buttons.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Color_Chooser_Custom.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…_Game_Frontend_Battleship_Single_List_Comprehension.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Tabs.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Matplotlib_Animated.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Design_Pattern_Persistent_Window.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_OpenCV_4_Line_Program.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Table_Simulation.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Window_Disappear.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Machine_Learning.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Table_CSV.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Menu_With_Toolbar.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Matplotlib_Animated_Scatter.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…emo_Game_Frontend_Battleship_No_List_Comprehensions.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_YouTube_Intro.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Keyboard.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Game_Frontend_Battleship.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Sort_Visualizer.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Keypad.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Notification_Window_Alpha_Channel.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…Programs/Demo_Desktop_Widget_CPU_Utilization_Simple.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Font_Sizer.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Script_Launcher.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Buttons_Mac.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Pi_LEDs.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Keyboard_Realtime.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Paned_Window.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGH…emo_Theme_Dark_Custom_Elements_Check_Toggle_Buttons.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_MIDI_Player.py0copyright 2018-2026 pysimplegui. all rights reserved.STRING
HIGHDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_Matplotlib_Styles.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGH…rams/Demo_Matplotlib_Image_Elem_Spetrogram_Animated.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_Matplotlib_Embedded_TEMPLATE.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_Matplotlib_Image_Elem.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0draws the previously created "figure" in the supplied image element :param element: an image element :param figure: a maSTRING
HIGHDemoPrograms/Demo_User_Settings.py0saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previousSTRING
HIGHDemoPrograms/Demo_User_Settings_Config_INI_Format.py0saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previousSTRING
HIGHDemoPrograms/Demo_User_Settings_Class.py0saving the previously selected filename.... a demo of one of the likely most popular use of user settings * use previousSTRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0============================================================= demo of the histogram (hist) function with multiple data sSTRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0============================================================= demo of the histogram (hist) function with multiple data sSTRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0============================================================= demo of the histogram (hist) function with multiple data sSTRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0========================================= demo of artist customization in box plots ====================================STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0========================================= demo of artist customization in box plots ====================================STRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0========================================= demo of artist customization in box plots ====================================STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf.STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf.STRING
HIGH…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py0========== linestyles ========== this examples showcases different linestyles copying those of tikz/pgf.STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser_Paned.py0create a radar chart with `num_vars` axes. this function creates a radaraxes projection and registers it. parameters ---STRING
HIGHDemoPrograms/Demo_Matplotlib_Browser.py0create a radar chart with `num_vars` axes. this function creates a radaraxes projection and registers it. parameters ---STRING
69 more matches not shown…
Deep Nesting109 hits · 109 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Desktop_Widget_Launcher_Bar.py87CODE
LOWDemoPrograms/Demo_Sudoku.py22CODE
LOWDemoPrograms/Demo_Sudoku.py54CODE
LOWDemoPrograms/Demo_Sudoku.py102CODE
LOWDemoPrograms/Demo_Desktop_Floating_Toolbar.py24CODE
LOW…Programs/Demo_Titlebar_Custom_Multiple_Combinations.py122CODE
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py17CODE
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py90CODE
LOWDemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py26CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py80CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py310CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py373CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py767CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py862CODE
LOWDemoPrograms/Demo_Button_Toggle.py15CODE
LOW…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py160CODE
LOWDemoPrograms/Demo_Input_Auto_Complete.py28CODE
LOW…moPrograms/Demo_Notification_Window_Multiprocessing.py42CODE
LOWDemoPrograms/Demo_Desktop_Widget_Email_Notification.py72CODE
LOWDemoPrograms/Demo_Titlebar_Element.py21CODE
LOWDemoPrograms/Demo_All_Elements.py97CODE
LOWDemoPrograms/Demo_Progress_Meters.py34CODE
LOWDemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py42CODE
LOWDemoPrograms/Demo_HowDoI.py18CODE
LOWDemoPrograms/Demo_Pong_Multiple_Platforms.py143CODE
LOWDemoPrograms/Demo_Save_Windows_As_Images.py103CODE
LOWDemoPrograms/Demo_Game_Wordle.py36CODE
LOWDemoPrograms/Demo_System_Tray_Icon_Using_psgtray.py25CODE
LOWDemoPrograms/Demo_Menubar_Custom_and_Traditional.py54CODE
LOWDemoPrograms/Demo_Simple_Material_Feel.py53CODE
LOWDemoPrograms/Demo_Multithreaded_ProgressBar.py51CODE
LOWDemoPrograms/Demo_Execute_Py.py28CODE
LOWDemoPrograms/Demo_Table_Pandas.py14CODE
LOWDemoPrograms/Demo_OpenCV_Webcam.py15CODE
LOWDemoPrograms/Demo_User_Settings_Config_INI_Format.py39CODE
LOWDemoPrograms/Demo_Multithreaded_Long_Tasks.py39CODE
LOWDemoPrograms/Demo_System_Tray_Icon_psgtray_No_Window.py29CODE
LOWDemoPrograms/Demo_Multithreaded_DataPump.py107CODE
LOWDemoPrograms/Demo_Youtube-dl_Frontend.py65CODE
LOWDemoPrograms/Demo_Touch_Keyboard.py33CODE
LOWDemoPrograms/Demo_Desktop_Widget_Date.py117CODE
LOWDemoPrograms/Demo_Email_Send.py69CODE
LOWDemoPrograms/Demo_Chat_With_History.py19CODE
LOWDemoPrograms/Demo_PIL_Use.py88CODE
LOW…s/Demo_Design_Pattern_Multiple_Windows_Both_Visible.py36CODE
LOW…oPrograms/Demo_Desktop_Widget_Digital_Picture_Frame.py152CODE
LOW…s/Demo_Graph_Drawing_And_Dragging_Figures_2_Windows.py32CODE
LOW…Programs/Demo_System_Tray_GUI_Window_Design_Pattern.py46CODE
LOWDemoPrograms/Demo_User_Settings_Auto_Load_and_Save.py31CODE
LOWDemoPrograms/Demo_Notification_Window_Fade_In_Out.py36CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py348CODE
LOWDemoPrograms/Demo_Graph_Drawing_And_Dragging_Figures.py28CODE
LOWDemoPrograms/Demo_Design_Pattern_Multiple_Windows.py31CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py82CODE
LOWDemoPrograms/Demo_Reddit_Search.py60CODE
LOWDemoPrograms/Demo_Post_An_Issue.py124CODE
LOWDemoPrograms/Demo_Post_An_Issue.py246CODE
LOWDemoPrograms/Demo_Desktop_Widget_psutil_Dashboard.py58CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Dashboard.py57CODE
LOWDemoPrograms/Demo_Desktop_Widget_Postit.py36CODE
49 more matches not shown…
Self-Referential Comments26 hits · 80 pts
SeverityFileLineSnippetContext
MEDIUM…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py70 # Create the weather columns layoutCOMMENT
MEDIUM…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py80 # Create the overall layoutCOMMENT
MEDIUM…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py88 # Create the windowCOMMENT
MEDIUMDemoPrograms/Demo_NonBlocking_Form.py15 # Create a text element that will be updated with status information on the GUI itselfCOMMENT
MEDIUMDemoPrograms/Demo_NonBlocking_Form.py16 # Create the rowsCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_2D_Graphics.py26 # Create a Body with mass and momentCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_2D_Graphics.py30 # Create a box shape and attach to bodyCOMMENT
MEDIUMDemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py52 window.job_running = False # Create a member variable to signal to the thread when to stopCODE
MEDIUMDemoPrograms/Demo_Mini_Window.py79 # Create the new layout inside a frame element so that it'll have a nice border. Requires PySimpleGUI version >=COMMENT
MEDIUMDemoPrograms/Demo_Nice_Buttons.py76 # Create a string variable name to hold your imageCOMMENT
MEDIUMDemoPrograms/Demo_PyGame_Snake_Game.py83# Create an initial snakeCOMMENT
MEDIUMDemoPrograms/Demo_User_Setting_Save_Window_Inputs.py26# Create a UserSettings object. The JSON file will be saved in the same folder as this .py fileCOMMENT
MEDIUMDemoPrograms/Demo_Chatterbot.py69# Create a new trainer for the chatbotCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_Desktop_Balls.py16 # Create a Body with mass and momentCOMMENT
MEDIUMDemoPrograms/Demo_Graph_pymunk_Desktop_Balls.py19 # Create a box shape and attach to bodyCOMMENT
MEDIUMDemoPrograms/Demo_PyCharm_Launcher.py53 # Create the WindowCOMMENT
MEDIUMDemoPrograms/Demo_Buttons_Base64_Simple.py21# Define the window's layoutCOMMENT
MEDIUMDemoPrograms/Demo_Buttons_Base64_Simple.py26# Create the windowCOMMENT
MEDIUMDemoPrograms/Demo_Button_Toggle2.py106# Define the button graphic base 64 strings and then call the main functionCOMMENT
MEDIUMDemoPrograms/Demo_Theme_Color_Swatches.py37 # Create the pain part, the rows of Text with color swatchesCOMMENT
MEDIUMDemoPrograms/Demo_Class_Wrapper.py67# Create the classCOMMENT
MEDIUMDemoPrograms/Demo_Graph_Drag_Rectangle_Super_Simple.py24 canvas_size=GRAPH_SIZE, graph_bottom_left=(0, 0), graph_top_right=GRAPH_SIZE, # Define the graph areaCODE
MEDIUMDemoPrograms/Demo_Graph_Element_Sine_Wave.py47# Create the graph that will be put into the window. Making outside of layout so have element in a variableCOMMENT
MEDIUMDemoPrograms/Demo_Graph_Ball_Game.py22 # Create a Body with mass and momentCOMMENT
MEDIUMDemoPrograms/Demo_Graph_Ball_Game.py26 # Create a box shape and attach to bodyCOMMENT
MEDIUMDemoPrograms/Demo_Table_Simulation_Arrow_Keys.py29# Create the windowCOMMENT
Excessive Try-Catch Wrapping64 hits · 73 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py78 except Exception:CODE
LOWDemoPrograms/Demo_Base64_Single_Image_Encoder.py35 except Exception as error:CODE
MEDIUMDemoPrograms/Demo_Base64_Single_Image_Encoder.py28def convert_file_to_base64(filename):CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py274 except Exception as e:CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py473 except Exception as e:CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py518 except Exception as e:CODE
MEDIUM…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py940 sg.cprint(f'Error trying to run python file. Error info:', e, c='white on red')STRING
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py939 except Exception as e:STRING
MEDIUM…grams/Demo_Program_Desktop_Widget_LED_Clock_Weather.py157 print(f"Error fetching data: {e}")CODE
LOWDemoPrograms/Demo_Pong_Multiple_Platforms.py28 except Exception as e:CODE
LOWDemoPrograms/Demo_Save_Windows_As_Images.py99 except Exception as e:CODE
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py859 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Matplotlib_Browser_Paned.py860 print(f'Error removing {figure_agg} from list', e)CODE
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py919 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Matplotlib_Browser_Paned.py920 print('Error in plotting', e)CODE
LOWDemoPrograms/Demo_Exception_Traceback_Popup.py27 except Exception as e:CODE
LOWDemoPrograms/Demo_Youtube-dl_Frontend.py78 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Youtube-dl_Frontend.py65def ExecuteCommandSubprocess(command, wait=False, quiet=True, *args):CODE
LOWDemoPrograms/Demo_Desktop_Widget_Date.py105 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Date.py177 except Exception as e:CODE
LOWDemoPrograms/Demo_Email_Send.py32 except Exception as e:CODE
LOWDemoPrograms/Demo_Email_Send.py47 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py333 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py48 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage.py109 except Exception as e:CODE
LOWDemoPrograms/Demo_Reddit_Search.py68 except Exception as e:CODE
LOWDemoPrograms/Demo_Reddit_Search.py175 except Exception as e:CODE
LOWDemoPrograms/Demo_psutil_Kill_Python_Processes.py135 except Exception as e:CODE
LOWDemoPrograms/Demo_psutil_Kill_Python_Processes.py177 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Manual_Counter.py83 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Manual_Counter.py120 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Viewer_Thumbnails.py53 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Viewer_Thumbnails.py76 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Viewer_Thumbnails.py109 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Image_Viewer_Thumbnails.py110 print(f'Error on file: {f}', e)CODE
MEDIUMDemoPrograms/Demo_Image_Viewer_Thumbnails.py72def display_image_window(filename):CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Top_Processes.py72 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Top_Processes.py86 except Exception as e:CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py846 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Matplotlib_Browser.py847 print(f'Error removing {figure_agg} from list', e)CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py894 except Exception as e:CODE
LOWDemoPrograms/Demo_GitHub_File_Copier.py82 except Exception as e:CODE
LOWDemoPrograms/Demo_Save_Any_Window_As_Image.py47 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Days_Counter.py86 except Exception as e:CODE
LOWDemoPrograms/Demo_Emoji_Toolbar_PIL.py89 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Elem_Image_Viewer_PIL_Based.py42 except Exception as e:CODE
LOWDemoPrograms/Demo_Image_Elem_Image_Viewer_PIL_Based.py103 except Exception as E:CODE
LOWDemoPrograms/Demo_PNG_Thumbnail_Viewer.py56 except Exception as e:CODE
LOWDemoPrograms/Demo_Date_Chooser.py97 except Exception as e:CODE
LOWDemoPrograms/Demo_Desktop_Widget_Weather.py75 except Exception as e:CODE
MEDIUMDemoPrograms/Demo_Desktop_Widget_Weather.py76 print('Error getting nearest postal', e)CODE
LOWDemoPrograms/Demo_Desktop_Widget_Weather.py309 except Exception as e:CODE
LOWDemoPrograms/Demo_PyCharm_Launcher.py64 except Exception as e:CODE
LOWDemoPrograms/Demo_PyCharm_Launcher.py87 except Exception as e:CODE
LOWDemoPrograms/Demo_Color_Swatches.py694 except Exception as e:CODE
LOWDemoPrograms/Demo_Demo_Programs_Browser.py280 except Exception as e:CODE
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py133 except Exception as e:CODE
LOWDemoPrograms/Demo_Settings_Save_Load.py29 except Exception as e:CODE
LOWDemoPrograms/Demo_Settings_Save_Load.py41 except Exception as e:CODE
LOWDemoPrograms/Demo_Settings_Save_Load.py67 except Exception as e:CODE
4 more matches not shown…
Decorative Section Separators19 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py20# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py24# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py35# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py37# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py64# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py69# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py108# ================================================================================COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py110# ================================================================================COMMENT
MEDIUM…moPrograms/Demo_Notification_Window_Multiprocessing.py24# -------------------------------------------------------------------COMMENT
MEDIUM…moPrograms/Demo_Notification_Window_Multiprocessing.py40# -------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Mini_Window.py26# ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝COMMENT
MEDIUMDemoPrograms/Demo_Mini_Window.py95# ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝COMMENT
MEDIUMDemoPrograms/Demo_Mini_Window.py102# ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝COMMENT
MEDIUMDemoPrograms/Demo_Img_Viewer.py50# ------------------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Img_Viewer.py52# ------------------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Img_Viewer.py66# ------------------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Notification_Window_Fade_In_Out.py19# -------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Notification_Window_Fade_In_Out.py34# -------------------------------------------------------------------COMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Embedded_Toolbar.py72 # -------------------------------COMMENT
Unused Imports38 hits · 38 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Sudoku.py3CODE
LOWDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py6CODE
LOWDemoPrograms/Demo_Matplotlib_Ping_Graph_Large.py7CODE
LOWDemoPrograms/Demo_GoodColors.py2CODE
LOWDemoPrograms/Demo_NonBlocking_Form.py3CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Graph.py3CODE
LOWDemoPrograms/Demo_Graph_Element.py5CODE
LOWDemoPrograms/Demo_Nice_Buttons.py2CODE
LOWDemoPrograms/Demo_Nice_Buttons.py4CODE
LOWDemoPrograms/Demo_Nice_Buttons.py4CODE
LOWDemoPrograms/Demo_Nice_Buttons.py4CODE
LOWDemoPrograms/Demo_Nice_Buttons.py6CODE
LOWDemoPrograms/Demo_Nice_Buttons.py7CODE
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py711CODE
LOWDemoPrograms/Demo_Youtube-dl_Frontend.py2CODE
LOWDemoPrograms/Demo_Tabs.py2CODE
LOWDemoPrograms/Demo_Matplotlib_Animated.py4CODE
LOWDemoPrograms/Demo_OpenCV_Simple_GUI.py3CODE
LOWDemoPrograms/Demo_LED_Indicators.py3CODE
LOWDemoPrograms/Demo_Machine_Learning.py2CODE
LOWDemoPrograms/Demo_Menu_With_Toolbar.py2CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py699CODE
LOWDemoPrograms/Demo_Button_Func_Calls.py2CODE
LOWDemoPrograms/Demo_Chatterbot_With_TTS.py8CODE
LOWDemoPrograms/Demo_Keyboard.py2CODE
LOWDemoPrograms/Demo_Floating_Toolbar.py2CODE
LOWDemoPrograms/Demo_Buttons_Mac.py2CODE
LOWDemoPrograms/Demo_Matplotlib_Two_Windows.py1CODE
LOWDemoPrograms/Demo_Graph_Noise.py4CODE
LOWDemoPrograms/Demo_Pyplot_Bar_Chart.py3CODE
LOW…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py721CODE
LOWPySimpleGUI/__init__.py1CODE
LOWPySimpleGUI/__init__.py2CODE
LOWPySimpleGUI/__main__.py1CODE
AI Structural Patterns24 hits · 24 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py586CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py216CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py66CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py111CODE
LOWDemoPrograms/Demo_Desktop_Widget_Drive_Usage_Gauges.py168CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py213CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py64CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py109CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py165CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py221CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py72CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py117CODE
LOWDemoPrograms/Demo_Desktop_Widget_Count_To_A_Goal.py173CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py226CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py76CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py121CODE
LOWDemoPrograms/Demo_Desktop_Widget_CPU_Grid_Of_Gauges.py178CODE
LOWDemoPrograms/Demo_Matplotlib_Browser.py580CODE
LOWDemoPrograms/Demo_Date_Chooser.py19CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py216CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py73CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py116CODE
LOWDemoPrograms/Demo_Desktop_Widget_RAM_Gauge.py169CODE
LOW…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py598CODE
Hyper-Verbose Identifiers17 hits · 17 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Script_Launcher_ANSI_Color_Output.py17def cut_ansi_string_into_parts(string_with_ansi_codes):CODE
LOWDemoPrograms/Demo_Desktop_Widget_Time_Handwritten.py17def right_click_meny_new_size(window, new_size):CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py120def get_file_list_full_filename():CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py293def check_modules_on_import_line(line:str):CODE
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py526def window_choose_line_to_edit(filename, full_filename, line_num_list, match_list):CODE
LOWDemoPrograms/Demo_User_Settings.py81def save_previous_filename_demo():CODE
LOWDemoPrograms/Demo_Progress_Meters.py34def demo_one_line_progress_meter():CODE
LOWDemoPrograms/Demo_Progress_Meters.py106def manually_updated_meter_test():CODE
LOWDemoPrograms/Demo_Progress_Meters.py206def demo_iterable_progress_bar():CODE
LOWDemoPrograms/Demo_User_Settings_Config_INI_Format.py39def save_previous_filename_demo():CODE
LOWDemoPrograms/Demo_Post_An_Issue.py17def _github_issue_post_make_markdown(issue_type, operating_system, os_ver, psg_port, psg_ver, gui_ver, python_ver,CODE
LOWDemoPrograms/Demo_Post_An_Issue.py113def _github_issue_post_make_github_link(title, body):CODE
LOWDemoPrograms/Demo_Post_An_Issue.py124def _github_issue_post_validate(values, checklist, issue_types):CODE
LOWDemoPrograms/Demo_GitHub_File_Copier.py262def execute_command_subprocess(command, *args, wait=False):CODE
LOWDemoPrograms/Demo_Script_Launcher.py38def execute_command_nonblocking(command, *args):CODE
LOWDemoPrograms/Demo_User_Settings_Class.py97def save_previous_filename_demo():CODE
LOWDemoPrograms/Demo_Demo_Programs_Browser.py590 def execute_command_subprocess(command, *args, wait=False, cwd=None):CODE
Slop Phrases7 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMDemoPrograms/Demo_Progress_Meters.py101 The sleep calls are here only for demonstration purposes. You should NOT be addingSTRING
MEDIUMDemoPrograms/Demo_Progress_Meters.py216 # Since the progress_bar is an iterator, you can use it within a list comprehensionCOMMENT
MEDIUMDemoPrograms/Demo_Column_Collapsible_Sections.py12 Feel free to modify to use the fonts and sizes of your choosing. It's 1 line of code to make the section.STRING
MEDIUMDemoPrograms/Demo_Matplotlib_Browser_Paned.py306 # but it is good enough to generate a plot that you can useCOMMENT
MEDIUMDemoPrograms/Demo_Justification_Columns.py29# If using an older version of PySimpleGUI, you can add the expansion using these expand method callsCOMMENT
MEDIUMDemoPrograms/Demo_Matplotlib_Browser.py303 # but it is good enough to generate a plot that you can useCOMMENT
MEDIUM…moPrograms/Demo_Matplotlib_Grid_of_Graphs_Using_PIL.py318 # but it is good enough to generate a plot that you can useCOMMENT
Redundant / Tautological Comments7 hits · 14 pts
SeverityFileLineSnippetContext
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py311 # Check if the file existsCOMMENT
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py316 # Open the fileCOMMENT
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py319 # Read the file line by lineCOMMENT
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py322 # Check if the line is an import statementCOMMENT
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py325 # Check if the module existsCOMMENT
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py332 # Close the fileCOMMENT
LOW…Demo_Progres_Meter_With_Numeric_Using_Graph_Element.py58 draw_progress(graph, 0) # Set bar to 0 initiallyCODE
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippetContext
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py361# try:COMMENT
LOW…moPrograms/Browser_START_HERE_Demo_Programs_Browser.py381 :param find_all_matches: if True, then return all matches in the dictionaryCOMMENT
LOWDemoPrograms/Demo_Multithreaded_Signal_Thread_To_End.py21# 88 88 88COMMENT
LOWDemoPrograms/Demo_Mini_Window.py81 except NameError:COMMENT
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py301 # must be a list of sequences of x,y tuples; we have onlyCOMMENT
LOWDemoPrograms/Demo_Matplotlib_Browser_Paned.py541 # See doi:10.1016/j.atmosenv.2008.12.017COMMENT
LOWDemoPrograms/Demo_Multithreaded_DataPump.py41#COMMENT
LOWDemoPrograms/Demo_Matplotlib_Browser.py541 # scenarios:COMMENT
LOWDemoPrograms/Demo_PNG_Thumbnail_Viewer.py61 if resize:COMMENT
LOWDemoPrograms/Demo_Demo_Programs_Browser.py201COMMENT
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py41# MMMM MMMM `88888P' `88888P' dPCOMMENT
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py81# M""""""'YMM ooCOMMENT
LOW…eaded_Delegate_Appear_To_Make_PSG_Calls_From_Thread.py141# M mmmmm..M 88 88COMMENT
LOWDemoPrograms/Demo_Matplotlib_Image_Elem.py61# 88aaaa 88d888b. .d888b88COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHDemoPrograms/Demo_Input_Auto_Complete.py30 # In this example, the PySimpleGUI Element names are usedCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWDemoPrograms/Demo_Debugger_ImWatchingYou.py58 # don't worry about the "state" of things, just call this function "frequently"COMMENT