{"id":19190200,"url":"https://github.com/macktireh/postgresdataexportergui","last_synced_at":"2025-10-24T12:00:02.431Z","repository":{"id":207989412,"uuid":"720187692","full_name":"Macktireh/PostgresDataExporterGUI","owner":"Macktireh","description":"PostgresDataExporterGUI is a Python application that allows you to export data from a PostgreSQL database to a CSV file with the option to include images. The application provides a graphical user interface (GUI) for ease of use.","archived":false,"fork":false,"pushed_at":"2024-02-22T16:59:43.000Z","size":26581,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T03:46:37.489Z","etag":null,"topics":["customtkinter","export-to-csv","postgresql","python","tkinter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Macktireh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-17T19:18:36.000Z","updated_at":"2024-02-26T10:34:31.000Z","dependencies_parsed_at":"2023-12-01T14:01:26.211Z","dependency_job_id":"cbce344c-db80-4ec8-b6ef-7a4083de9ad5","html_url":"https://github.com/Macktireh/PostgresDataExporterGUI","commit_stats":null,"previous_names":["macktireh/postgres-to-csv-app-ui"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Macktireh/PostgresDataExporterGUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macktireh%2FPostgresDataExporterGUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macktireh%2FPostgresDataExporterGUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macktireh%2FPostgresDataExporterGUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macktireh%2FPostgresDataExporterGUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Macktireh","download_url":"https://codeload.github.com/Macktireh/PostgresDataExporterGUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macktireh%2FPostgresDataExporterGUI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272475428,"owners_count":24940718,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["customtkinter","export-to-csv","postgresql","python","tkinter"],"created_at":"2024-11-09T11:33:18.098Z","updated_at":"2025-10-24T11:59:57.397Z","avatar_url":"https://github.com/Macktireh.png","language":"Python","readme":"# PostgresDataExporterGUI\n\nPostgresDataExporterGUI is a Python application that allows you to export data from a PostgreSQL database to a CSV file with the option to include images. The application provides a graphical user interface (GUI) for ease of use.\n\n\n## Table of Contents\n- [Screenshots](#screenshots)\n- [Feature](#feature)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [License](#license)\n\n\n## Screenshots\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshot/image.png\" width=\"600\"  /\u003e\n\u003c/p\u003e\n\n\n## Feature\n\n#### Database Connection\n- Ability to input PostgreSQL database connection details, including username, password, host, port, and database name.\n- Error handling for database connection exceptions.\n\n#### SQL Query Execution\n- Input area for entering SQL queries to fetch data from the database.\n- Handling of database query exceptions.\n\n#### Data Export to CSV\n- Export fetched data to a CSV file.\n- Option to include images in the exported data.\n- Ability to choose the export directory.\n- CSV file includes a column for images with image files saved in a specified directory.\n\n#### GUI Components\n- Customized Tkinter-based GUI with various components, including input fields, checkboxes, buttons, progress bars, and text areas.\n\n#### Exception Handling\n- Custom exceptions (`DBConnectionException`, `DBQueryException`, `ExportCSVException`, `SaveImageException`) for handling specific error scenarios.\n\n#### Virtual Environment and Dependency Management\n- Instructions for creating and activating a virtual environment.\n- Installation of project dependencies from the `requirements.txt` file.\n\n\n## Requirements\n- Python 3.10 or later\n- Dependencies listed in `requirements.txt`\n\n\n## Installation\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/Macktireh/PostgresDataExporterGUI.git\n    ```\n    ```bash\n    cd PostgresDataExporterGUI\n    ```\n\n2. Create a virtual environment and activate it:\n    ```bash\n    python -m venv .venv\n    ```\n\n    *for MacOS or Linux*\n    ```bash\n    source .venv/bin/activate\n    ```\n\n    *for Windows*\n    ```bash\n    .\\.venv\\Scripts\\activate\n    ```\n\n3. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n\n## Usage\n1. Run the application:\n    ```bash\n    python app.py\n    ```\n\n2. The GUI will appear, allowing you to input database connection details, a SQL query, and specify options for data export.\n\n3. Click on the \"Choisir un dossier\" button to choose the export directory.\n\n4. Click on the \"Exporter\" button to execute the data export process.\n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacktireh%2Fpostgresdataexportergui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacktireh%2Fpostgresdataexportergui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacktireh%2Fpostgresdataexportergui/lists"}