Skip to content

A repository for python functions that can help make things a little easier

Notifications You must be signed in to change notification settings

putkoff/Python-Tools

Repository files navigation

Python-Tools

A repository for python functions that can help make things a little easier

Tools Index:

Python Function Extractor

Screenshot 2023-07-22 123734

Overview

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.

Features

  • 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.

About

A repository for python functions that can help make things a little easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages