likhonsheikh's picture
Upload README.md with huggingface_hub
90f7e45 verified
---
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**