I’m working on a portfolio project which I want to eventually put on my Github and share with others/potential employers (strangers). I have been working on it on Jupyter Notebook and I figured out how to connect to my SQL database and query using the python library SQLAlchemy.
However, I have realized that this is not a good idea as it is a security risk. I am not sure if it is (don’t laugh :D) but the SQLAlchemy script essentially lets you connect to that database (which is my local computer), so logically, it makes me feel like this can be a very bad idea. I guess people work using this method but don’t share the notebook like that with strangers.
My question is: how would you show your SQL results (tables) if you didn’t use SQLAlchemy and connect to a database? I only really want it to look aesthetic, but taking a screenshot of each result table seems unprofessional to me and kind of messy, no? Is that the only option or is there a workaround I’m not aware of?
Sorry if it seems a bit silly, but I genuinely don’t want to do something stupid 🙂
3