ParthPy is an online Python compiler that allows users to write, run, and format Python code directly in their browser. Built using Flask and enhanced with CodeMirror and Prettier, it provides an intuitive and seamless coding experience.
- Run Python Code: Execute Python code directly in the browser with real-time output.
- Code Formatting: Automatically format Python code using Prettier for improved readability.
- Dark Mode: Toggle between light and dark themes for a customizable experience.
- Auto-save: User code is automatically saved to local storage, ensuring that your code persists across sessions.
- PWA Support: Install the app as a Progressive Web App for offline functionality.
- Responsive Design: Fully responsive interface that works on mobile, tablet, and desktop devices.
π¦ ParthPy
βββ π app.py // Python backend using Flask
βββ π templates/index.html // Main HTML file
βββ π static
β βββ π style.css // Stylesheet
β βββ π script.js // Frontend JavaScript
β βββ π manifest.json // Manifest for PWA
β βββ π icons // App icons
βββ π README.md // Documentation
βββ π requirements.txt // Required dependencies
- Python (Flask)
- HTML5
- CSS3
- JavaScript (ES6)
- CodeMirror
- Prettier
-
Clone the repository:
git clone https://github.com/parthmax2/ParthPy.git
-
Navigate to the project directory:
cd ParthPy -
Install the required dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Open your browser and go to:
http://127.0.0.1:5000/
Here's an example of how to run Python code on ParthPy:
- Open the app in the browser.
- Write your Python code in the code editor.
- Click "Run Code" to execute the code and view the output.
Check out the live demo here.
Developed with β€οΈ by Saksham Pathak.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
β¨ Happy Coding with ParthPy!
### Explanation:
- **Features**: Lists the key functionalities of the app.
- **Project Structure**: Gives a brief overview of the file organization.
- **Technologies Used**: Mentions the tech stack used for the project.
- **How to Use**: Provides installation and usage instructions.
- **Example Usage**: Shows how users can interact with the app.
- **Live Demo**: Provides a link to a live demo (if applicable).
- **Social Links**: Directs users to your social profiles.
- **Author**: Credit to the developer (you!).
- **Contributing**: Encourages others to contribute.
You can now edit this template as per your need!