# catherinedevlin/ipython-sql

%%sql magic for IPython, hopefully evolving into full SQL client

Repository: https://github.com/catherinedevlin/ipython-sql
Canonical: https://ross.abutalabs.com/products/ipython-sql
Language: Python
License: MIT
License Family: permissive
Last push: 2024-07-12T16:16:57+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4914, "days_push": 782, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1797, forks 377 (observed 2026-08-28T04:05:37.642761+00:00)

## What it is
An IPython extension that adds %sql and %%sql cell magics for running SQL against databases via SQLAlchemy connection strings. It is now a legacy project superseded by the actively maintained JupySQL fork.

## Use cases
- run sql queries from jupyter notebook cells
- query postgres from ipython
- connect to mysql in a notebook
- explore a database interactively in python
- load sql query results into python variables

## When to choose
- you need a lightweight sql magic for an older ipython setup
- you want minimal dependencies for notebook database access

## When to avoid
- starting a new project - use JupySQL instead
- you need actively maintained features or bug fixes

## Facets
- artifact type: plugin
- maturity: maintenance
- function: database, database-driver, developer-tools
- domain: databases, developer-tools, data-science
- platform: python, cli
- tags: ipython-magic, jupyter, sqlalchemy, sql-client, notebook

## Member repositories
- catherinedevlin/ipython-sql (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.642761+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:40.837952+00:00, confidence not recorded.
  - readme: https://github.com/catherinedevlin/ipython-sql (fetched 2026-08-28T04:05:37.642761+00:00, sha fc400e07c3fe)
  - registry_pypi: https://pypi.org/pypi/ipython-sql/json (fetched 2026-08-29T11:01:19.247401+00:00, sha c68a2cef6eba)
- Data as of 2026-08-30T08:39:29.467469+00:00.
