Skip to main content

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

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_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


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)

Uploaded Source

Built Distribution

kvhot-2024.9.12-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for kvhot-2024.9.12.tar.gz
Algorithm Hash digest
SHA256 f985c8173bd587ee876213c99883aabe62ef94975964db6f69d469bbb654edbe
MD5 30c4cee5486c668117b721caac6e8950
BLAKE2b-256 1f6c86c9e94b78ba577c1c8f730baa14032e6923aa91ccbd4052316945bb4bd6

See more details on using hashes here.

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

Hashes for kvhot-2024.9.12-py3-none-any.whl
Algorithm Hash digest
SHA256 701c5ba3915d1150b6c12a9eddbbaa84c183f3e8e906d971f421d7f7a8ed4a92
MD5 e6518d4c0b712738d7e3eed5f2321556
BLAKE2b-256 8eab8cf7d08029ce7e68eea90938df5dd2cc4f1a1d80a3764e48ae7a9f6dcbac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page