plotly / falcon

Free, open-source SQL client for Windows and Mac 🦅

Home Page:https://plot.ly/free-sql-client-download/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any way to drive Falcon using Python?

zeluspudding opened this issue · comments

Falcon is awesome for a lot of reasons: there's the obvious one that it easily connects to a ton of different DBs, but it also can be installed / setup without admin privileges (really nice for corporate use). On the other hand, Python can connect to all sorts of different databases but requires driver installations... some of which require admin privileges and hunting around different vendor websites for them. Then, hopefully you installed the right one... When you finally do get it installed, then you have to remember the right query string for accessing a particular db. This is all very doable but it's kind of a pain. It would be really nice to use Falcon to handle data retrieval / all the db connection stuff, and Python to do all of the data manipulation. Is there any way to drive Falcon from Python? Like through a falcon library (And I'm not talking about this Falcon library)?

I'm envisioning something like:

import plotly-falcon as falcon
import pandas as pd

connection = falcon.connect(db="mssql",username="mbrems",password="superstar")
df = pd.DataFrame(connection.query("SQL"))

... So pretty similar looking to sqalchemy but avoids the need to hunt for drivers.