# reloadium
**Repository Path**: mirrors/reloadium
## Basic Information
- **Project Name**: reloadium
- **Description**: Reloadium 可以为任何 Python 应用程序添加热重载,也称为“编辑并继续”功能 安装 如果您是 PyCharm 用户,那么可以点击查看 Reloadium 插件,并安装
- **Primary Language**: Python
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: https://www.oschina.net/p/reloadium
- **GVP Project**: No
## Statistics
- **Stars**: 4
- **Forks**: 2
- **Created**: 2022-04-29
- **Last Updated**: 2025-12-13
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
.. raw:: html
Advanced Hot Reloading & Profiling
.. class:: center
.. raw:: html
**Examples above are run in debug mode with added breakpoint.**
Details
#######
.. image:: https://badge.fury.io/py/reloadium.svg
:target: https://badge.fury.io/py/reloadium
.. image:: https://img.shields.io/jetbrains/plugin/v/18509-reloadium
:target: https://plugins.jetbrains.com/plugin/18509-reloadium
.. image:: https://img.shields.io/jetbrains/plugin/d/18509-reloadium
:target: https://plugins.jetbrains.com/plugin/18509-reloadium
.. image:: https://img.shields.io/jetbrains/plugin/r/stars/18509-reloadium
:target: https://plugins.jetbrains.com/plugin/18509-reloadium
| Reloadium adds hot reloading, profiling and AI features to your IDE
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:
.. code-block:: console
pip install reloadium
Using
#####
Running python files:
.. code-block:: console
reloadium run example.py
Running modules:
.. code-block:: console
reloadium run -m my_module
| To apply your changes simply save a file
AI
######
| Reloadium integrates with ChatGpt seamlessly providing additional context to your conversations resulting in much better replies.
.. image:: media/chatgpt_fix.gif
:width: 700
:alt: ChatGpt
General Python Features
#######################
| When altered, Reloadium will execute the current function again, providing developers with immediate feedback on the functionality of their code.
.. image:: media/frame_reloading.gif
:width: 700
:alt: Frame Reloading
| Reloadium manages errors that occur while reloading functions, allowing you to correct any mistakes seamlessly.
.. image:: media/fixing_errors.gif
:width: 700
:alt: Frame Reloading
| Reloadium has the ability to refresh files throughout the entire project by tracking dependencies.
.. image:: media/multi_file_reloading.gif
:width: 700
:alt: Frame Reloading
Django
######
| Upon saving, Reloadium performs hot reloading of views and automatically refreshes the page.
.. image:: media/django_page_refreshing.gif
:width: 700
:alt: Page Refreshing
| To avoid generating undesired objects after reloading the current function, Reloadium reverts any database modifications.
.. image:: media/django_rolling_back.gif
:width: 700
:alt: Rolling back db
Flask
#####
| Reloadium hot reloads Flask apps and automatically refreshes the page upon saving.
| This enables real-time content updates, significantly streamlining web development.
.. image:: media/flask.gif
:width: 700
:alt: Flask
SqlAlchemy
##########
| Reloadium will rollback database changes to prevent creating unwanted objects after reloading current function.
.. image:: media/sqlalchemy.gif
:width: 700
:alt: SqlAlchemy
Pandas
##########
| Reloadium facilitates hot reloading of Pandas objects, making the manipulation of intricate dataframes for data science remarkably simple.
.. image:: media/pandas.gif
:width: 700
:alt: Pandas