{"id":16577577,"url":"https://github.com/proddata/streamlit-cratedb","last_synced_at":"2026-04-19T00:34:13.819Z","repository":{"id":246266574,"uuid":"819909662","full_name":"proddata/streamlit-cratedb","owner":"proddata","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T19:16:43.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T07:23:17.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proddata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-25T12:21:58.000Z","updated_at":"2024-06-26T19:16:48.000Z","dependencies_parsed_at":"2024-06-26T23:58:49.279Z","dependency_job_id":null,"html_url":"https://github.com/proddata/streamlit-cratedb","commit_stats":null,"previous_names":["proddata/streamlit-cratedb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proddata%2Fstreamlit-cratedb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proddata%2Fstreamlit-cratedb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proddata%2Fstreamlit-cratedb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proddata%2Fstreamlit-cratedb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proddata","download_url":"https://codeload.github.com/proddata/streamlit-cratedb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242099124,"owners_count":20071518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T22:11:28.427Z","updated_at":"2026-04-19T00:34:13.768Z","avatar_url":"https://github.com/proddata.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streamlit with CrateDB Cloud\n\nThis Streamlit app allows you to execute SQL queries against a CrateDB Cloud database and display the results interactively.\n\n\n## Installation\n\n1. Clone the repository:\n\n    ```sh\n    git clone https://github.com/proddata/streamlit-cratedb-example.git\n    cd streamlit-cratedb-example\n    ```\n\n2. Create and activate a virtual environment:\n\n    ```sh\n    python3 -m venv .venv\n    source .venv/bin/activate\n    ```\n\n3. Install the required packages:\n\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n4. Set up your secrets. Create a `secrets.toml` file in the `.streamlit` directory:\n\n    ```toml\n    [connections.cratedb]\n    dialect = \"crate\"\n    host = \"localhost\"\n    port = \"4200\"\n    username = \"crate\"\n    password = \"\"\n    ```\n\n## Running the App\n\n1. Start the Streamlit app:\n\n    ```sh\n    streamlit run main.py\n    ```\n\n2. Open your web browser and go to `http://localhost:8501` to interact with the app.\n\n## Usage\n\n- Enter your SQL query in the provided editor.\n- Click the \"Execute Query\" button to run the query.\n- View the results in the table displayed below the editor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproddata%2Fstreamlit-cratedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproddata%2Fstreamlit-cratedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproddata%2Fstreamlit-cratedb/lists"}