{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/4"}],"enrichment":{"capability":"sqltap hooks into SQLAlchemy to collect and report metrics on SQL queries\u2014execution counts, timing, and call sites\u2014helping you identify performance problems in ORM-heavy applications.","skillfed_tags":["profiling","sqlalchemy","abandoned"],"use_cases":["Identify N+1 query problems in SQLAlchemy ORM code by seeing which queries execute repeatedly.","Measure query execution time to find slow database operations causing application latency.","Locate the source code lines issuing inefficient queries so you know exactly where to optimize.","Profile a live WSGI application via the /__sqltap__ endpoint to diagnose production performance issues.","Generate per-request or per-page query reports to understand query patterns across different application paths."],"what_it_does":"sqltap is a profiling library that instruments SQLAlchemy to collect detailed metrics on every SQL query your application executes. It tracks how many times each query runs, how much time it takes, and where in your code it was issued from\u2014giving you visibility into ORM inefficiencies that are easy to miss when working at a high level of abstraction.\n\nYou can use it as a standalone profiler (start, run queries, collect and report) or integrate it into WSGI applications via middleware to profile selectively in production. It generates reports in HTML or text format, and supports custom context functions to group statistics by request, page, or other application-level dimensions.","worth_installing":"No. The package is abandoned (last release 2019, no maintenance since 2023) and has high install friction. Modern alternatives like SQLAlchemy's built-in event system, django-debug-toolbar (for Django), or sqlalchemy-utils provide similar profiling with active maintenance. Use sqltap only if you have legacy code already depending on it and cannot migrate."},"id":"sqltap","links":{"html":"https://skillfed.io/packages/sqltap","md":"https://skillfed.io/packages/sqltap.md","pypi":"https://pypi.org/project/sqltap/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-05-03","license_spdx":null,"license_treatment":"permissive","name":"sqltap","python_support":"unspecified","summary":"Profiling and introspection for applications using sqlalchemy"},"popularity":{"monthly_downloads":150070,"position":10976,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.11"}
