Skip to content
/ hotswap Public

Automatic replacement of imported Python modules

License

Notifications You must be signed in to change notification settings

mikr/hotswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hotswap

Automatic replacement of imported Python modules.

The hotswap module watches the source files of imported modules which are replaced by its new version when the respective source files change. The need for a program restart during development of long-running programs like GUI applications for example is reduced.

Additionally this module can be called as a wrapper script: hotswap.py [OPTIONS] <module.py> [args]

In this case module.py is imported as module and the function module.main() is called. Hotswapping is enabled so that changes in the source code take effect without restarting the program.

About

Automatic replacement of imported Python modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages