Tools
Python Tool
In-browser Python execution with Pyodide for data analysis, automation, and scientific computing.
Overview
Executes Python code directly in the browser using Pyodide for data analysis, scientific computing, and visualizations without installation requirements.
Features
Code Execution Environment
- Pyodide-based: Full Python environment running in browser
- Pre-loaded libraries: NumPy, Pandas, Matplotlib, NetworkX
- Additional packages: coming soon to admin configuration interface
- Session persistence: Variables and data persist between executions
Interactive Code Editor
- Syntax highlighting: Python code with real-time highlighting
- Collapsible interface: Expandable code editor section
- Auto-execution: Initial code runs automatically when loaded
- Editable code: Modify and re-run code as needed
Output & Visualization
- Text output: Console output, results, and error messages
- Matplotlib plots: Automatically captured and displayed as images
- Download options: Save code as .py files and plots as PNG images
- Real-time status: Shows execution progress and environment state
Data Analysis Capabilities
- Statistical analysis with pandas and numpy
- Data visualization with matplotlib
- Network analysis with networkx
- Custom calculations and processing
Usage Examples
Request Python analysis using natural language:
- "Analyze this dataset with Python"
- "Create a scatter plot showing the correlation"
- "Calculate statistical summary of the data"
Integration
Works with Research Agent for data processing, Chart Tool for simple charts, and Sheet Tool for data preparation in comprehensive analytical workflows.