Skip to content
/ vire Public

πŸ” Reruns your python program when source files changes, with the possibility to preload libraries.

License

Notifications You must be signed in to change notification settings

danr/vire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” vire: viable reloader

Reruns your python program when source files changes, with the possibility to preload libraries.

$ vire -h
usage: vire [--clear] [--preload M] [--glob G] [--silent] [--auto-full-reload] [-m] ...

Installation:

pip install git+https://github.com/danr/vire.git

Options:

--clear, -c              Clear the screen before invoking the utility.
                         Specify twice to erase the scrollback buffer.
--preload M, -p M        Modules to preload, comma-separated. Example: flask,pandas
--glob G, -g G           Watch for updates to files matching this glob, Default: **/*.py
--silent, -s             Silence warning about modifications to preloaded modules.
--auto-full-reload, -r   Automatically do full reload on modifications to preloaded modules.
-m                       Argument is a module, will be run like python -m (using runpy)

Keybindings:

r, <space> reload
R full reload: reloads all preloaded modules
c reload with clear screen
C reload with clear screen and scrollback buffer
q, <ctrl-c> quit

About

πŸ” Reruns your python program when source files changes, with the possibility to preload libraries.

Topics

Resources

License

Stars

Watchers

Forks

Languages