Skip to content

jrhege/dbreak-sqlalchemy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Plugin for dbreak to handle SQLAlchemy connections

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages