{"id":26775455,"url":"https://github.com/yeuner/file-analysis-sql-demo","last_synced_at":"2026-04-15T18:32:06.690Z","repository":{"id":284893272,"uuid":"956399154","full_name":"Yeuner/File-Analysis-SQL-Demo","owner":"Yeuner","description":"Streamlit-based application that leverages pandas, sqlite3, and file handling libraries (OpenPyXL and PyArrow) to practice SQL queries, analyze datasets, and export results. A personal project to enhance Python and SQL skills.","archived":false,"fork":false,"pushed_at":"2025-03-28T08:05:04.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T08:33:57.242Z","etag":null,"topics":["data-analysis","dataset","pandas","sql","sqlite","streamlit","vizualization"],"latest_commit_sha":null,"homepage":"https://file-analysis-sql-demo-gv4tpcljrnpkmmr8kvo6ui.streamlit.app/","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/Yeuner.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":"2025-03-28T07:31:30.000Z","updated_at":"2025-03-28T08:09:26.000Z","dependencies_parsed_at":"2025-03-28T08:34:01.805Z","dependency_job_id":"9d3eb2c7-e252-40f0-a1d5-5199c1df1c14","html_url":"https://github.com/Yeuner/File-Analysis-SQL-Demo","commit_stats":null,"previous_names":["yeuner/file-analysis-sql-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeuner%2FFile-Analysis-SQL-Demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeuner%2FFile-Analysis-SQL-Demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeuner%2FFile-Analysis-SQL-Demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeuner%2FFile-Analysis-SQL-Demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yeuner","download_url":"https://codeload.github.com/Yeuner/File-Analysis-SQL-Demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246131335,"owners_count":20728303,"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":["data-analysis","dataset","pandas","sql","sqlite","streamlit","vizualization"],"created_at":"2025-03-29T03:18:23.124Z","updated_at":"2026-04-15T18:32:06.672Z","avatar_url":"https://github.com/Yeuner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#**File Analysis and SQL Query Practice — Python - Streamlit Demo App**\n\n[![Live App](https://img.shields.io/badge/LIVE%20APP-CLICK%20TO%20VIEW-green?style=for-the-badge)](https://file-analysis-sql-demo-gv4tpcljrnpkmmr8kvo6ui.streamlit.app/)\n\nThis project is a **personal learning initiative** aimed at enhancing my skills in **Python** and **SQL** by building an interactive Streamlit application that simulates a real-world data analysis environment. \n\nIt allows users to upload datasets, run SQL queries, and explore data dynamically, making it a perfect platform for practicing SQL operations and Python-based data handling.\n\n---\n\n##  **Why This Project?**\n\nAs part of my journey to strengthen my expertise in **data analysis** and **SQL querying**, I developed this application to:\n\n-  **Practice SQL on Real Datasets:** Work with multiple file formats and execute SQL queries dynamically.  \n-  **Explore Python Libraries:** Use `pandas`, `sqlite3`, and other powerful libraries to manipulate and analyze data.  \n-  **Simulate Scenarios:** Create an environment where users can apply SQL commands to analyze simple datasets.  \n\n---\n\n##  **Key Features**\n\nThe app showcases the following core functionalities:\n\n-  **Data Analysis** – Using `pandas` for efficient data manipulation.  \n-  **SQL Query Execution** – Leveraging `SQLite` for in-memory SQL query processing.  \n-  **Dataset Visualization** – Displaying query results dynamically with interactive tables.  \n-  **Result Exporting** – Allowing users to download query results in `CSV` format.  \n-  **File Handling** – Supporting multiple formats such as `CSV`, `Excel`, `Parquet`, and `JSON`.\n\n---\n\n##  **What This App Does**\n\n###  **1. Upload or Select Files**\n- Upload a dataset (`CSV`, `Excel`, `Parquet`, or `JSON`) or choose a predefined file from the repository.\n- The application automatically detects column names and data types.\n\n###  **2. SQL Query Execution**\n- Write and execute SQL queries directly on the loaded dataset.\n- Perform basic operations such as:\n    ```sql\n    SELECT * FROM data LIMIT 10;\n    ```\n    ```sql\n    SELECT title, release_year FROM data WHERE type = 'Movie';\n    ```\n\n###  **3. View and Export Results**\n- Visualize query results dynamically.\n- Export results as a `CSV` file for further analysis.\n\n---\n\n##  **Technologies Used**\n\nThis project leverages several powerful Python libraries:\n\n| Library    | Purpose                                           |\n|------------|---------------------------------------------------|\n| **Streamlit**  | Provides an intuitive and interactive web interface. |\n| **Pandas**     | Handles data manipulation and analysis.          |\n| **SQLite3**    | Enables SQL queries on the loaded dataset.        |\n| **OpenPyXL**   | Processes Excel files (`.xlsx`).                  |\n| **PyArrow**    | Reads and processes Parquet files.                |\n\n---\n\n##  **Technical Highlights**\n\n **Streamlit:** Builds a modern and interactive interface to upload files, run queries, and display results.  \n **SQLite (in-git initmemory):** Allows SQL query execution directly on the loaded data.  \n **Pandas:** Enables fast and flexible data manipulation.  \n **File Format Support:** Supports multiple formats like `CSV`, `Excel`, `Parquet`, and `JSON`.\n\n---\n\n##  How to Run\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/yeuner/File-Analysis-SQL-Demo.git\n   cd File-Analysis-SQL-Demo\n   ```\n\n2. (Optional) Create and activate a virtual environment:\n   ```bash\n   python -m venv env\n   source env/bin/activate  # On Windows: .\\env\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Run the app:\n   ```bash\n   streamlit run main.py\n   ```\n\nTODO 2","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeuner%2Ffile-analysis-sql-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeuner%2Ffile-analysis-sql-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeuner%2Ffile-analysis-sql-demo/lists"}