5

Reloadium – Advanced hot reloading for Python

 2 years ago
source link: https://github.com/reloadware/reloadium
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

The missing element of Python - Advanced Hot Reloading

Details

Reloadium adds hot reloading also called "edit and continue" functionality to any Python application

Installing

If you are a PyCharm user please check out Reloadium plugin
Plugins for other IDEs are coming soon.
Reloadium can be also used as a standalone library by installing it manually with pip:
pip install reloadium

Using

Running python files:

reloadium run example.py

Running modules:

reloadium run -m my_module
To apply your changes simply save a file

General Python Features

Reloadium will rerun current function when changed.
Developers get instant feedback whether the code is working or not.
Reloadium will handle errors during reloading function and let you fix mistakes.
Reloadium is capable of reloading files across the whole project.
Tweaking with settings could not be easier.

Django

Reloadium will hot reload views and refresh page on save.
Reloadium will rollback database changes to prevent creating unwanted objects after reloading current function.

Flask

Reloadium will hot reload flask apps and refresh page on save.
Changing content can be seen in real time making web development much smoother.

SqlAlchemy

Reloadium will rollback database changes to prevent creating unwanted objects after reloading current function.

Pandas

Reloadium hot reloads pandas objects.
Manipulating complex dataframes for data science could not be easier.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK