A repository for python functions that can help make things a little easier
Tools Index:
This project comprises a Python script that utilizes the Abstract Syntax Tree (AST) to parse a Python file, extract specific functions along with their dependencies, and export these functions and their dependencies into a new Python file. Additionally, the script incorporates a graphical user interface (GUI) using PySimpleGUI.
- Parse a Python file to extract function definitions and import statements.
- Check function dependencies (i.e., other functions that are called within a target function) and include these in the extraction.
- Handle scenarios where there are multiple functions with the same name (overloading) in the source file.
- Permit the user to select which overloaded function to include in the output file.
- Provide a user-friendly GUI for selecting the source file and the functions to extract.