semvec/pypi-packages huggingface dataset:
terradev-jupyter 0.1.0
Jupyter magic extension for Terradev GPU provisioning CLI — %terradev quote -g A100
License: MIT
Requires Python: >=3.9
Keywords: jupyter, notebook, gpu, cloud, provisioning, terradev, magic, ipython, colab, machine-learning

# terradev-jupyter

Jupyter magic extension for [Terradev](https://pypi.org/project/terradev-cli/) — GPU provisioning and cost optimization from inside your notebooks.

## Installation

```bash
pip install terradev-jupyter
```

## Usage

```python
# Load the extension
%load_ext terradev_jupyter

# Get real-time GPU quotes
%terradev quote -g A100

# Provision with dry-run
%terradev provision -g H100 --dry-run

# Check status
%terradev status --live

# Run a Docker workload
%terradev run --gpu A100 --image pytorch/pytorch:latest --dry-run

# Cost analytics
%terradev analytics --days 30

# Multi-command cell magic
%%terradev
quote -g A100
status
optimize
```

## Features

- Works in **Jupyter**, **JupyterLab**, **Google Colab**, and **VS Code notebooks**
- Rich HTML output with styled tables and color-coded status indicators
- All Terradev CLI commands available via `%terradev`
- Multi-command support via `%%terradev` cell magic
- JSON results returned as Python objects for programmatic use

## Requirements

- `terradev-cli >= 1.2.0`
- `ipython >= 7.0`

## License

MIT