https://github.com/reloadware/reloadium
Hot Reloading and Profiling for Python
https://github.com/reloadware/reloadium
ai artificial-intelligence chatgpt django edit-and-continue flask hot-reload hot-reloading pandas python python3
Last synced: 6 months ago
JSON representation
Hot Reloading and Profiling for Python
- Host: GitHub
- URL: https://github.com/reloadware/reloadium
- Owner: reloadware
- License: apache-2.0
- Created: 2022-01-15T03:01:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-24T16:13:26.000Z (over 1 year ago)
- Last Synced: 2025-04-02T01:15:40.161Z (7 months ago)
- Topics: ai, artificial-intelligence, chatgpt, django, edit-and-continue, flask, hot-reload, hot-reloading, pandas, python, python3
- Language: Python
- Homepage:
- Size: 5.18 MB
- Stars: 2,873
- Watchers: 23
- Forks: 59
- Open Issues: 30
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-ChatGPT-repositories - reloadium - Hot Reloading, Profiling and AI debugging for Python (Others)
- awesome-chatgpt - reloadware/reloadium - Reloadium is an advanced Python tool that provides hot reloading, profiling, and AI integration to enhance development productivity across various frameworks and environments. (SDK, Libraries, Frameworks / Python library, sdk or frameworks)
- awesomeLibrary - reloadium - Advanced Hot Reloading & Profiling for Python (语言资源库 / python)
- StarryDivineSky - reloadware/reloadium
- best-of-python-dev - GitHub - 13% open · ⏱️ 24.05.2024): (Debugging Tools)
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