Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs showing how to connect to Oracle Databases #103

Open
sayedathar11 opened this issue Aug 3, 2021 · 3 comments
Open

Add docs showing how to connect to Oracle Databases #103

sayedathar11 opened this issue Aug 3, 2021 · 3 comments

Comments

@sayedathar11
Copy link

Hiii Streamlit Team,
As per the documentation given here , currently Streamlit supports connection to Big Query , My Sql and various other databases . But I noticed that there is no functionality and module available to connect to Oracle Database .
Oracle Databases are used by lot of companies and adding module to connect to Oracle Database will make streamlit more complete and diverse library !
So can you please look into it and make the latest version available.
Thanks and Regards
Athar

@vdonato
Copy link
Collaborator

vdonato commented Aug 12, 2021

Hi @sayedathar11, thanks for the suggestion.

Since streamlit apps are written in plain python, there's no reason that you can't already use your preferred oracle db library with streamlit. The documentation provides some examples for how to use a few popular databases with streamlit, but we haven't done any work to streamlit itself to add support for these databases -- any database is supported if you're able to install the appropriate library to work with it.

I'll keep this issue open but change its title to be a request for documentation.

@vdonato vdonato changed the title Make Module to connect to Oracle Databases Add docs showing how to connect to Oracle Databases Aug 12, 2021
@randyzwitch randyzwitch transferred this issue from streamlit/streamlit Oct 14, 2021
@snehankekre snehankekre added the documentation Improvements or additions to documentation label Oct 15, 2021
@randyzwitch randyzwitch removed the documentation Improvements or additions to documentation label Oct 19, 2021
@egnofam
Copy link

egnofam commented Dec 15, 2022

Hello,
I hope you are doing well. I would like to know how to connect streamlit to oracle db?
Thanks in advance.

@snehankekre
Copy link
Collaborator

Hi @egnofam, 👋

Quoting Vincent from before:

Since streamlit apps are written in plain python, there's no reason that you can't already use your preferred oracle db library with streamlit. The documentation provides some examples for how to use a few popular databases with streamlit, but we haven't done any work to streamlit itself to add support for these databases -- any database is supported if you're able to install the appropriate library to work with it.

Think of Streamlit just as the frontend in this case. The connection to your preferred orcale db would happen via the use of a third-party Python library that connects to oracle. So, you'd need to figure out how to connect your Python script to Oracle.

The following resource will help (5. Create a Python Application) https://www.oracle.com/database/technologies/appdev/python/quickstartpythononprem.html#linux-tab

Please upvote this issue if you'd like to see us prioritize an official connection tutorial for Oracle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants