Spaces:
Sleeping
Sleeping
File size: 2,152 Bytes
d18df2b 90f7e45 d18df2b 90f7e45 d18df2b 90f7e45 d18df2b 90f7e45 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
---
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**
|