Skip to main content

SQLAlchemy profiler classes and extentions for other packages.

Project description

Dev utils

coverage

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:

  1. SQLAlchemyQueryProfiler - profile entire sqlalchemy query - it text, params, duration.
  2. SQLAlchemyQueryCounter - count sqlalchemy queries.

Project details


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 hashes)

Uploaded Source

Built Distribution

sqlalchemy_profiler-1.0.0-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page