QueryShield core analysis library - shared logic for all probe packages
Project description
queryshield-core
Shared core logic for QueryShield - query analysis, EXPLAIN parsing, cost calculation, and budget checking.
This package contains the shared analysis engine used by all QueryShield probes (Django, SQLAlchemy, etc.).
Features
- N+1 query detection
- EXPLAIN plan analysis (PostgreSQL, MySQL, SQLite)
- Cloud cost calculation (AWS, GCP, DigitalOcean)
- Budget enforcement and tracking
- AI-powered root cause analysis
Installation
pip install queryshield-core
Usage
from queryshield_core.analysis import classify_problems
from queryshield_core.budgets import check_budget
# Analyze queries
problems = classify_problems(queries)
# Check budget
violations = check_budget(queries, budget_config)
Documentation
See the main QueryShield documentation for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file queryshield_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: queryshield_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e5e886d55958aad7e466fc52bf792e9542aaeb05595b8335272ca439b1db1e9
|
|
| MD5 |
90de67a872746fa8bd1b700bceb25d82
|
|
| BLAKE2b-256 |
286ea8994eba4719f28f8349efce9afafb75eb3554fb83e1a85e9914b4bbbb7e
|