Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kulothunganug/kvhot
Automatically restarts the Kivy application whenever files within the project directory change.
https://github.com/kulothunganug/kvhot
kivy kivymd productivity python tool
Last synced: 22 days ago
JSON representation
Automatically restarts the Kivy application whenever files within the project directory change.
- Host: GitHub
- URL: https://github.com/kulothunganug/kvhot
- Owner: kulothunganug
- License: mit
- Created: 2022-11-02T10:06:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T03:32:49.000Z (about 2 months ago)
- Last Synced: 2024-10-01T08:41:25.959Z (about 1 month ago)
- Topics: kivy, kivymd, productivity, python, tool
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
https://user-images.githubusercontent.com/63696279/200531463-4ca1bbec-11e0-49ef-ad5f-b9fcc23760ba.mp4
### Usage
```
usage: kvhot [-h] [--width WIDTH] [--height HEIGHT] [--top TOP] [--left LEFT] [-b BLACKLIST [BLACKLIST ...]] [-V] target_dirAutomatically 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 applicationoptions:
-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)*