- Usage: Local development and testing
- Requirements: jupyter-kernel-gateway, ipython
- Configuration:
api_key="local" - Advantages:
- Rapid development
- No external dependencies
- Direct local environment access
- Fast execution for development
- Limitations:
- No isolation
- Development only
- Local system resources
- Usage: Isolated testing
- Requirements: Docker installation
- Configuration:
api_key="docker" - Advantages:
- Local isolation
- Consistent environment
- No API costs
- Custom image support
- Limitations:
- Requires Docker
- Local resource constraints
- Additional setup needed
- Usage: Production, scaling and cloud deployment
- Requirements:
- Valid API key
- Internet connection
- Configuration:
codebox = CodeBox(api_key="...")- Key Features:
- REST API integration
- Automatic session management
- Cloud-based file storage
- Managed package installation
- Resource usage monitoring
- Best for:
- Production deployments
- Scalable applications
- Team collaborations
| Feature | RemoteBox | LocalBox | DockerBox |
|---|---|---|---|
| Isolation | Full | Minimal | Full |
| Setup Complexity | Low | Medium | High |
| Resource Scaling | Yes | No | Limited |
| Internet Required | Yes | No | No |
| Cost | API Usage | Free | Free |