├── .github └── workflows │ ├── build.yaml │ └── test.yaml ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── badge │ └── logo.json ├── logo.svg └── showcase │ ├── reload_demo.gif │ └── reload_func.gif ├── hmr ├── __init__.py ├── _api.py ├── _reload.py └── _watcher.py ├── pyproject.toml ├── renovate.json ├── requirements.dev.txt ├── setup.py └── tests ├── conftest.py ├── my_pkg ├── __init__.py ├── file_module.py ├── state.py ├── sub_module │ ├── __init__.py │ └── subsub_module │ │ └── __init__.py └── wrap.py ├── pytest.ini ├── test_module_reload.py └── test_object_reload.py /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/README.md -------------------------------------------------------------------------------- /assets/badge/logo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/assets/badge/logo.json -------------------------------------------------------------------------------- /assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/assets/logo.svg -------------------------------------------------------------------------------- /assets/showcase/reload_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/assets/showcase/reload_demo.gif -------------------------------------------------------------------------------- /assets/showcase/reload_func.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/assets/showcase/reload_func.gif -------------------------------------------------------------------------------- /hmr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/hmr/__init__.py -------------------------------------------------------------------------------- /hmr/_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/hmr/_api.py -------------------------------------------------------------------------------- /hmr/_reload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/hmr/_reload.py -------------------------------------------------------------------------------- /hmr/_watcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/hmr/_watcher.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/pyproject.toml -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/renovate.json -------------------------------------------------------------------------------- /requirements.dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/requirements.dev.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/setup.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/my_pkg/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/my_pkg/__init__.py -------------------------------------------------------------------------------- /tests/my_pkg/file_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/my_pkg/file_module.py -------------------------------------------------------------------------------- /tests/my_pkg/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/my_pkg/state.py -------------------------------------------------------------------------------- /tests/my_pkg/sub_module/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/my_pkg/sub_module/__init__.py -------------------------------------------------------------------------------- /tests/my_pkg/sub_module/subsub_module/__init__.py: -------------------------------------------------------------------------------- 1 | x = 3 2 | -------------------------------------------------------------------------------- /tests/my_pkg/wrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/my_pkg/wrap.py -------------------------------------------------------------------------------- /tests/pytest.ini: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_module_reload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/test_module_reload.py -------------------------------------------------------------------------------- /tests/test_object_reload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Milk/python-hmr/HEAD/tests/test_object_reload.py --------------------------------------------------------------------------------