Metadata-Version: 2.4
Name: jupyterhub-pilot
Version: 0.2.4
Summary: Agentic AI coding partner for JupyterHub and IPython
Author-email: Wajoud <wajoud@example.com>
License: MIT License
        
        Copyright (c) 2026 Wajoud
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/wajoud/jupyterhub-pilot
Project-URL: Repository, https://github.com/wajoud/jupyterhub-pilot.git
Project-URL: Bug Tracker, https://github.com/wajoud/jupyterhub-pilot/issues
Project-URL: AWS EC2 Deployment, https://github.com/wajoud/jupyterhub-pilot/blob/main/AWS_EC2_DEPLOYMENT.md
Project-URL: Vault Integration, https://github.com/wajoud/jupyterhub-pilot/blob/main/docs/SECURITY.md#4-vault-secret-injection
Project-URL: Monitoring Dashboard, https://github.com/wajoud/jupyterhub-pilot/blob/main/docs/MONITORING.md
Keywords: jupyter,jupyterhub,ai,llm,ipython,magic-commands,ssh-spawner
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Framework :: Jupyter
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Provides-Extra: hub
Requires-Dist: jupyterhub; extra == "hub"
Requires-Dist: paramiko>=3.4.0; extra == "hub"
Requires-Dist: websockets>=12.0; extra == "hub"
Provides-Extra: worker
Requires-Dist: jupyterhub; extra == "worker"
Requires-Dist: notebook; extra == "worker"
Requires-Dist: psutil>=5.9.0; extra == "worker"
Requires-Dist: websockets>=12.0; extra == "worker"
Provides-Extra: ai
Requires-Dist: ipython>=8.0.0; extra == "ai"
Requires-Dist: litellm>=1.30.0; extra == "ai"
Requires-Dist: mcp>=1.0.0; extra == "ai"
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-anyio; extra == "dev"
Requires-Dist: anyio; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: types-requests; extra == "dev"
Requires-Dist: types-paramiko; extra == "dev"
Dynamic: license-file

# 🚀 JupyterHub-Pilot

**Agentic AI coding partner for JupyterHub and IPython.**

JupyterHub-Pilot solves two major problems for data teams running JupyterHub:
1. **Isolated execution & State Persistence:** A custom SSH spawner teleports each user's notebook server onto isolated EC2 workers, wraps it in cgroup resource limits, and tracks all sessions in SQLite.
2. **AI Magic Commands:** An IPython extension adds `%do`, `%fix`, `%review`, and `%rework` magic commands that speak to any LLM backend (Ollama, OpenAI, Claude, Gemini, or MCP servers) to inject clean Python directly into your next cell.

## Installation

JupyterHub-Pilot is designed to run across multiple machines. You only need to install the components relevant to the machine you are setting up:

**On the JupyterHub VM (The Hub):**
```bash
pip install "jupyterhub-pilot[hub]"
```

**On the Notebook Server VM (The Worker):**
```bash
pip install "jupyterhub-pilot[worker]"
```

**Inside a Jupyter Notebook (AI features for users):**
```bash
pip install "jupyterhub-pilot[ai]"
```

## Documentation & Full Setup Guide

For full documentation, architecture diagrams, and guides, please visit our GitHub repository:

- 🔗 **[Main Repository](https://github.com/wajoud/jupyterhub-pilot)**
- 📊 **[Live Monitoring Dashboard Guide](https://github.com/wajoud/jupyterhub-pilot/blob/main/docs/MONITORING.md)**
- 🔑 **[Vault Secret Injection Guide](https://github.com/wajoud/jupyterhub-pilot/blob/main/docs/SECURITY.md#4-vault-secret-injection)**
- ☁️ **[AWS EC2 Deployment Walkthrough](https://github.com/wajoud/jupyterhub-pilot/blob/main/AWS_EC2_DEPLOYMENT.md)**
