{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/3"},{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Adds SQL magic commands to IPython and Jupyter notebooks, letting you query databases directly from cells using SQLAlchemy connection strings.","skillfed_tags":["jupyter-integration","sql-query-tool","interactive-analysis"],"use_cases":["Exploratory data analysis in Jupyter: query a database and immediately plot or analyze results in the same notebook.","Prototyping SQL queries interactively without leaving the notebook environment.","Teaching SQL or databases in a classroom setting where students can write and test queries live.","Combining SQL queries with Python data processing: fetch data, transform it, and visualize it in one workflow.","Quick ad-hoc reporting from a database without setting up a separate reporting tool."],"what_it_does":"ipython-sql is a magic command extension for IPython and Jupyter notebooks that lets you write and execute SQL queries directly in notebook cells. It connects to any database supported by SQLAlchemy\u2014PostgreSQL, MySQL, SQLite, Oracle, and others\u2014using standard SQLAlchemy connection strings. Once connected, you can issue queries with %sql (single-line) or %%sql (multi-line) magic, and results are returned as objects you can iterate over, access by column name, or convert to Pandas DataFrames.\n\nThe package handles multiple simultaneous database connections, supports variable substitution and bind parameters, and lets you capture query results into Python variables for further analysis. It's designed for exploratory data work and ad-hoc querying in notebooks, where switching between SQL and Python would otherwise require separate tools or boilerplate connection code.","worth_installing":"Yes, if you work regularly in Jupyter or IPython and need to query databases interactively. The low install friction and permissive license make it a low-risk addition. However, the dormant maintenance status (last release over a year ago, Alpha classification) means you should verify compatibility with your Python and IPython versions before relying on it for production workflows. No known security vulnerabilities."},"id":"ipython-sql","links":{"html":"https://skillfed.io/packages/ipython-sql","md":"https://skillfed.io/packages/ipython-sql.md","pypi":"https://pypi.org/project/ipython-sql/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-02-27","license_spdx":null,"license_treatment":"permissive","name":"ipython-sql","python_support":"unspecified","summary":"RDBMS access via IPython"},"popularity":{"monthly_downloads":387691,"position":7043,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.0"}
