Skip to content

Automatically restarts the Kivy application whenever files within the project directory change.

License

Notifications You must be signed in to change notification settings

kulothunganug/kvhot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kvhot

Automatically restarts the Kivy application whenever files within the project directory change.

No need to type python main.py each time, making a small change in the code 😄.

Installation

pip install kvhot

Demo

demo.mp4

Usage

usage: kvhot [-h] [--width WIDTH] [--height HEIGHT] [--top TOP] [--left LEFT] [-b BLACKLIST [BLACKLIST ...]] [-V] target_dir

Automatically restarts the Kivy application whenever files within the project's target directory change.

positional arguments:
  target_dir            directory of the entry-point (main.py) of the kivy application

options:
  -h, --help            show this help message and exit
  --width WIDTH         width of the window.
  --height HEIGHT       height of the window.
  --top TOP             top position of the window.
  --left LEFT           left position of the window.
  -b BLACKLIST [BLACKLIST ...], --blacklist BLACKLIST [BLACKLIST ...]
                        exclude specific files/dirs from being monitored.
  -V, --version         show program's version number and exit
  --app-args    arguments to pass to the kivy application as a single quoted string, this will be split and passed on to the kivy application, example --app-args "arg1 arg2 --my-kwarg=value"

(Works on windows, linux and osx)

About

Automatically restarts the Kivy application whenever files within the project directory change.

Topics

Resources

License

Stars

Watchers

Forks

Languages