Bart.dIAs - WebGRIPP AI Assistant
Bart.dIAs is an assistant for the WebGRIPP environment. Currently, it is solely an assistant for parallel programming that analyzes sequential code to identify bottlenecks and suggest parallelization strategies. It combines critical path analysis with pattern recognition to provide targeted recommendations for improving application performance.
Features
- ⚡ Bottleneck Analysis: Identifies sequential bottlenecks in Python code.
- 🔄 Parallelization Strategies: Suggests strategies to parallelize code using recognized patterns.
- 🎯 Critical Path Analysis: Combines CPA with pattern recognition for targeted recommendations.
- 🤖 LLM Chat: Conversational interface to discuss code optimizations.
- 📎 Code Context: Analyze open files directly from JupyterLab.
Prerequisites
- JupyterLab 4.x
- Node.js 18+
- Ollama running locally (default:
http://localhost:11434) - Bart.dIAs MCP Server (for deep code analysis)
Installation
1. Install Dependencies
cd bart_dias_jupyter_extension
jlpm install
2. Build Extension
jlpm build
3. Install in JupyterLab
jupyter labextension install .
Usage
- Open the Bart.dIAs extension from the right sidebar.
- Open a Python file you want to analyze.
- Click the attach button (📎) to send the code to the assistant.
- Ask for parallelization suggestions or performance analysis.
Project Structure
bart_dias_jupyter_extension/
├── src/ # Frontend (React/TypeScript)
│ ├── index.ts # Extension entry point
│ ├── components/ # UI Components
│ ├── services/ # API & MCP logic
│ └── hooks/ # State management
├── style/ # CSS Styles
└── pyproject.toml # Python Packaging
Technology Stack
- Frontend: React 18, TypeScript, Lumino
- Analysis: LangChain, MCP Adapters
- AI: Ollama (Local LLMs)
License
MIT
Release files for bart-dias-jupyter-extension 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bart_dias_jupyter_extension-0.1.6.tar.gz | 2.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bart_dias_jupyter_extension-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.7 MB
Release files / bart_dias_jupyter_extension-0.1.6.tar.gz
| Download URL | bart_dias_jupyter_extension-0.1.6.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb06abf791566a3360b923370dcc647ed14420875c0183f57525d421978c01ae
|
|
BLAKE2b-256 checksum How to use checksums |
6bd04132a2a1470a4dbc6a7a55151d30b860cad0fc2243a396708357649d3975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / bart_dias_jupyter_extension-0.1.6-py3-none-any.whl
| Download URL | bart_dias_jupyter_extension-0.1.6-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a34b816834d47264c659723a99fccc5378a07f824c7eb27bfc66d14337aeb54
|
|
BLAKE2b-256 checksum How to use checksums |
b7bc99623c3d2b82a5272b16104627ac50fd54bb12e8f6a81db1665f34895928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|