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


Release history Release notifications

This version

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dbreak-sqlalchemy, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size dbreak_sqlalchemy-0.0.1-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dbreak-sqlalchemy-0.0.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page