Skip to main content

Plugin for dbreak to handle SQLAlchemy connections

Project description

dbreak-sqlalchemy

A plugin for dbreak that allows it to work with SQLAlchemy engine objects.

Installation

Install from PyPi using pip:

pip install dbreak-sqlalchemy

Usage

There's no need to import the plugin separately, just pass a SQLAlchemy Engine object to dbreak.show_console().

import sqlalchemy
import dbreak

# Set up a SQLite SQLAlchemy connection
connection = sqlalchemy.create_engine("sqlite://")

# Pause execution and enter the console
dbreak.start_console(connection)

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

dbreak-sqlalchemy-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

dbreak_sqlalchemy-0.0.1-py3-none-any.whl (2.8 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