SQLAlchemy profiler classes and extentions for other packages.
Project description
Dev utils
For what?
I made this project to avoid copy-pasting with utils in my projects. I was aiming to simplify working with sqlalchemy, FastAPI and other libraries.
Install
With pip:
pip install sqlalchemy_profiler
With pdm:
pdm install sqlalchemy_profiler
With poetry:
poetry add sqlalchemy_profiler
Profiling
Profiling utils. Now available 2 profilers and 2 middlewares (FastAPI) for such profilers:
- SQLAlchemyQueryProfiler - profile entire sqlalchemy query - it text, params, duration.
- SQLAlchemyQueryCounter - count sqlalchemy queries.
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 Distribution
sqlalchemy_profiler-1.0.0.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file sqlalchemy_profiler-1.0.0.tar.gz
.
File metadata
- Download URL: sqlalchemy_profiler-1.0.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.17.1 CPython/3.12.4 Linux/6.10.2-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 412456af01544dd9b97bbe38cda0f71951e802298d564140dd302161e7db33f8 |
|
MD5 | c8231e5cdbb0a369fc296dd6d178f402 |
|
BLAKE2b-256 | 60d3d3cdc873f789181b62baa7b0e5e1790fd4a0518130919fd518e4ad62c6b9 |
File details
Details for the file sqlalchemy_profiler-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: sqlalchemy_profiler-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.17.1 CPython/3.12.4 Linux/6.10.2-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ebc49e4ba6273477b309be9de682dd873720379ed8a58c3f80af47b2c27b037 |
|
MD5 | b52ad7581e87fabfcb7c0e223dcb6341 |
|
BLAKE2b-256 | 383eb2490fd227a8d1d64e424c7a3a22082ce8a46de5693f3eb5050559589378 |