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 | 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
Built Distribution
Close
Hashes for dbreak_sqlalchemy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57b81e31b93b54c2768a5be5dc6da247bd9d79c02f6c99817d3f781462d2a5af |
|
MD5 | ffba889ff41360ed63c2f16576fb20cb |
|
BLAKE2b-256 | f9776112caafc1fd265673d32b887e8b39d94df149b20d168f8657e1307c3210 |