Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tkreload

Introduction

The Problem

Developers often spend a significant amount of time restarting or reloading applications, especially when working with terminal-based scripts. Each reload can add up to valuable minutes, or even hours, lost during development. Manually restarting terminal programs every time a change is made, or debugging with constant reloads, can become a major source of inefficiency.

Time-Saving Analysis

Let’s assume that a developer restarts their terminal application approximately 15 times per day, and each reload takes 30 seconds. This adds up to 7.5 minutes daily or around 3.12 hours per month. Multiply that by the number of developers working on a project, and you quickly see how terminal reloading becomes a significant bottleneck in development productivity.

The Solution: tkreload

tkreload aims to solve this issue by providing developers with an automatic reload mechanism for terminal-based Python applications. With tkreload, you no longer need to manually restart your applications, saving hours of development time and making debugging much more efficient. The tool is designed for seamless integration with Tkinter-based applications or any terminal-based Python script, ensuring smooth reloading after every code change.


Installation

Follow these steps to set up and install tkreload:

  1. Create a Python Virtual Environment
    Open your terminal and run:
    python3 -m venv venv
  2. Activate the Virtual Environment
  • On Windows:
.\venv\Scripts\activate
  • On macOS/Linux:
source venv/bin/activate
  1. Install Dependencies Inside the activated virtual environment, install the required libraries listed in requirements.txt:
cd src # if not in /src
pip install -r requirements.txt
  1. Install tkreload Once the environment is set up and dependencies are installed, you can install the tkreload library via pip:
cd src # if not in /src
pip install .

Contributing

I believe that tkreload can significantly improve developer efficiency, but I can't do it alone. So, I invite you to contribute to this project to help it reach its full potential.

alt text

About

auto reloads your tkinter app whenever file changes are detected

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages