Skip to content

ParthPy is an interactive Python compiler built with Flask. It allows users to write, run, and execute Python code directly in the browser. The app features a code editor with syntax highlighting, dark mode, and real-time output display. ParthPy is a Progressive Web App (PWA) for an app-like experience on both desktop and mobile.

Notifications You must be signed in to change notification settings

parthmax2/parthpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

ParthPy - Python Compiler

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.

πŸš€ Features

  • 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.

πŸ“‚ Project Structure

πŸ“¦ 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

πŸ› οΈ Technologies Used

  • Python (Flask)
  • HTML5
  • CSS3
  • JavaScript (ES6)
  • CodeMirror
  • Prettier

πŸ“œ How to Use

Installation

  1. Clone the repository:

    git clone https://github.com/parthmax2/ParthPy.git  
  2. Navigate to the project directory:

    cd ParthPy  
  3. Install the required dependencies:

    pip install -r requirements.txt  
  4. Run the Flask application:

    python app.py  
  5. Open your browser and go to:

    http://127.0.0.1:5000/
    

πŸ”¬ Example Usage

Here's an example of how to run Python code on ParthPy:

  1. Open the app in the browser.
  2. Write your Python code in the code editor.
  3. Click "Run Code" to execute the code and view the output.

🌐 Live Demo

Check out the live demo here.

πŸ”— Social Links

πŸ–‹οΈ Author

Developed with ❀️ by Saksham Pathak.

🀝 Contributing

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!

About

ParthPy is an interactive Python compiler built with Flask. It allows users to write, run, and execute Python code directly in the browser. The app features a code editor with syntax highlighting, dark mode, and real-time output display. ParthPy is a Progressive Web App (PWA) for an app-like experience on both desktop and mobile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published