Skip to content

Latest commit

 

History

History
232 lines (170 loc) · 9.41 KB

File metadata and controls

232 lines (170 loc) · 9.41 KB

Simple Python Compiler

Netlify Status License GitHub stars GitHub forks Website Made with CodeMirror


Elegant, minimal, and blazing fast Python playground in your browser.
Write, run, and share Python code instantly—no setup required.


DeepWiki Docs

For detailed documentation, guides, and configuration notes — visit the DeepWiki page above.


🎥 Demk Vidoe

Screencast.from.2025-06-06.11-58-18.webm
Screencast.from.2025-06-06.12-01-26.webm

👋 Introduction

Simple Python Compiler is a modern, web-based Python playground designed for speed, simplicity, and productivity. Powered by CodeMirror and the Piston API, it lets you experiment, learn, and share Python code effortlessly—right from your browser.


✨ Features

  • 📝 Rich Code Editing: Syntax highlighting, smart editing, and a distraction-free interface (CodeMirror 6.65.7).
  • Instant Execution: Run Python code in real time using the secure Piston API.
  • 🧩 Minimal Footprint: Just index.html, style.css, and script.js—easy to understand and extend.
  • 🌐 Universal Access: Works on any device, any browser, anywhere.
  • 🚀 Optimized Performance: Lightning-fast load times and smooth user experience.

🛠️ Tech Stack

Technology Description Badge
HTML5 Markup for structure
CSS3 Styling and layout
JavaScript Logic and interactivity (ES6+)
CodeMirror In-browser code editor
Piston API Remote code execution (docs)

📂 Project Structure

SimPle-Python-Compiler/
├── index.html      # Main HTML file
├── style.css       # CSS styles
├── script.js       # JavaScript logic
├── favicon.ico     # Website favicon
├── LICENSE         # MIT License
└── README.md       # Project documentation

📊 Performance & Quality

🚦 Lighthouse Scores

Performance Accessibility Best Practices SEO

⚡ PageSpeed Insights

  • 📱 Mobile: 95/100
    • First Contentful Paint: 0.8s
    • Speed Index: 1.2s
    • Time to Interactive: 1.5s
  • 🖥️ Desktop: 98/100
    • First Contentful Paint: 0.5s
    • Speed Index: 0.8s
    • Time to Interactive: 1.0s

📈 Core Web Vitals

LCP FID CLS


🚀 Getting Started

  1. Clone the repository:
    git clone https://github.com/GourangaDasSamrat/SimPle-Python-Compiler.git
  2. Navigate to the project directory:
    cd SimPle-Python-Compiler
  3. Open index.html: Open the index.html file in your preferred web browser.

Enjoy instant Python coding in your browser! 🐍


⚠️ Disclaimer

This project uses the Piston API for code execution. Please review their terms of service and usage limits. This tool is for educational and testing purposes only. Do not use it for executing malicious code or violating the API provider's policies.


🤝 Contributing

Contributions are welcome! If you have suggestions, improvements, or spot any bugs, please fork the repository and submit a pull request. Your input is highly valued! 🙏


📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


👤 Author & Contact

Gouranga Das Samrat

Gouranga Das Samrat

Full Stack Developer • MERN Stack • Technical Writer
Passionate about building scalable web apps & contributing to open source

Open to collaboration, frontend & full-stack projects, or meaningful discussions around JavaScript, React & web architecture.


⭐ Show Your Support

If you like this project, please give it a ⭐ on GitHub! Your support inspires further development and open-source contributions.


💬 Feedback

Have feedback or suggestions? Open an issue or reach out via any of the social links above. Your input is always welcome!