{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/4"},{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends/2"}],"enrichment":{"capability":"Adds SQL execution to Jupyter and IPython notebooks via `%sql` and `%%sql` magic commands, letting you query databases directly in cells and integrate results with Python.","skillfed_tags":["jupyter-extension","sql-client","notebook-integration"],"use_cases":["Run ad-hoc SQL queries against production or analytical databases directly from a Jupyter notebook without leaving your analysis environment.","Compose and debug complex SQL queries using templating and composition features, then pass results to Pandas for further Python-based analysis.","Visualize query results without loading entire datasets into memory by using the built-in plotting capabilities.","Prototype data pipelines in notebooks by mixing SQL queries with Python logic in a single, reproducible document.","Explore DuckDB or other SQLAlchemy-supported databases interactively without writing boilerplate connection code."],"what_it_does":"JupySQL is a Jupyter/IPython extension that lets you write and execute SQL queries directly in notebook cells using `%sql` (single-line) and `%%sql` (multi-line) magic commands. It acts as a SQL client for Jupyter, bridging the gap between notebook Python code and external databases. The package depends on sqlalchemy for database abstraction, sqlparse for SQL parsing, jinja2 for templating, and several IPython utilities to integrate seamlessly into the notebook environment.\n\nThe package is designed to make exploratory data analysis and SQL development more natural in notebooks by eliminating the need to switch between tools. It supports multiple database backends (PostgreSQL, MySQL, DuckDB, and others via SQLAlchemy) and offers features like Pandas integration for downstream Python processing, SQL composition helpers, and memory-efficient plotting of large result sets. It is currently in Alpha status (Development Status 3), indicating active development but potential API changes.","worth_installing":"Yes, if you work regularly in Jupyter and need to query databases. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a straightforward addition. The Alpha status means the API may shift, but 848 stars and ongoing commits suggest it is stable enough for exploratory and development work. Not necessary if you already have a preferred SQL IDE or if your workflow rarely involves database queries from notebooks."},"id":"jupysql","links":{"html":"https://skillfed.io/packages/jupysql","md":"https://skillfed.io/packages/jupysql.md","pypi":"https://pypi.org/project/jupysql/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-03-25","license_spdx":null,"license_treatment":"permissive","name":"jupysql","python_support":"unspecified","summary":"Better SQL in Jupyter"},"popularity":{"monthly_downloads":156088,"position":10793,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.11.1"}
