Automatically restarts the Kivy application whenever files within the project directory change.
Project description
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
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kvhot-2024.9.12.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file kvhot-2024.9.12.tar.gz
.
File metadata
- Download URL: kvhot-2024.9.12.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f985c8173bd587ee876213c99883aabe62ef94975964db6f69d469bbb654edbe |
|
MD5 | 30c4cee5486c668117b721caac6e8950 |
|
BLAKE2b-256 | 1f6c86c9e94b78ba577c1c8f730baa14032e6923aa91ccbd4052316945bb4bd6 |
File details
Details for the file kvhot-2024.9.12-py3-none-any.whl
.
File metadata
- Download URL: kvhot-2024.9.12-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 701c5ba3915d1150b6c12a9eddbbaa84c183f3e8e906d971f421d7f7a8ed4a92 |
|
MD5 | e6518d4c0b712738d7e3eed5f2321556 |
|
BLAKE2b-256 | 8eab8cf7d08029ce7e68eea90938df5dd2cc4f1a1d80a3764e48ae7a9f6dcbac |