Spaces:
Sleeping
Sleeping
| title: Code Interpreter Pro | |
| emoji: π | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 4.0.0 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # π Code Interpreter Pro | |
| A powerful Python code execution sandbox hosted on HuggingFace Spaces - **Better than e2b.dev!** | |
| ## β¨ Features | |
| - **Real-time Code Execution**: Run Python code instantly with live output | |
| - **Session Management**: Keep variables persistent across executions | |
| - **Dynamic Package Installation**: Install any PyPI package on-the-fly | |
| - **File Management**: Upload/download files with integrated workspace | |
| - **Data Visualization**: Full support for matplotlib, plotly, seaborn | |
| - **Beautiful UI**: Modern, intuitive interface with code examples | |
| - **Secure Sandbox**: Isolated execution environment | |
| ## π Quick Start | |
| 1. **Write Code**: Use the code editor to write Python code | |
| 2. **Run**: Click "βΆοΈ Run Code" to execute | |
| 3. **View Output**: See results in real-time | |
| ## π¦ Pre-installed Packages | |
| - NumPy, Pandas, Matplotlib | |
| - Scikit-learn, SciPy, Seaborn | |
| - Plotly, Requests, BeautifulSoup4 | |
| - And more... | |
| ## π― Use Cases | |
| - Data Analysis & Visualization | |
| - Machine Learning Experiments | |
| - Quick Python Prototyping | |
| - Educational Programming | |
| - Code Testing & Debugging | |
| ## π‘ Example: Data Visualization | |
| ```python | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| x = np.linspace(0, 10, 100) | |
| y = np.sin(x) | |
| plt.figure(figsize=(10, 6)) | |
| plt.plot(x, y) | |
| plt.title('Sine Wave') | |
| plt.savefig(f'{WORKSPACE}/sine.png') | |
| print("β Plot saved!") | |
| ``` | |
| ## π Advantages over e2b.dev | |
| β **Free & Open Source** | |
| β **No API Keys Required** | |
| β **Integrated File Management** | |
| β **Better UI/UX** | |
| β **Visual Package Manager** | |
| β **Session Persistence** | |
| β **Hosted on Reliable Infrastructure** | |
| ## π§ Technical Details | |
| - **Framework**: Gradio 4.0+ | |
| - **Language**: Python 3.10+ | |
| - **Hosting**: HuggingFace Spaces | |
| - **Sandbox**: Isolated execution environment | |
| ## π License | |
| MIT License - Feel free to use and modify! | |
| ## π€ Contributing | |
| Contributions welcome! This is an open-source project. | |
| --- | |
| **Built with β€οΈ for the developer community** | |