GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Macktireh/PostgresDataExporterGUI: 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.

BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
components
components
 
 
screenshot
screenshot
 
 
service
service
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.py
app.py
 
 
docker-compose.yml
docker-compose.yml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

PostgresDataExporterGUI

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.

Table of Contents

  • Screenshots
  • Feature
  • Requirements
  • Installation
  • Usage
  • License

Screenshots

Feature

Database Connection

  • Ability to input PostgreSQL database connection details, including username, password, host, port, and database name.
  • Error handling for database connection exceptions.

SQL Query Execution

  • Input area for entering SQL queries to fetch data from the database.
  • Handling of database query exceptions.

Data Export to CSV

  • Export fetched data to a CSV file.
  • Option to include images in the exported data.
  • Ability to choose the export directory.
  • CSV file includes a column for images with image files saved in a specified directory.

GUI Components

  • Customized Tkinter-based GUI with various components, including input fields, checkboxes, buttons, progress bars, and text areas.

Exception Handling

  • Custom exceptions (DBConnectionException, DBQueryException, ExportCSVException, SaveImageException) for handling specific error scenarios.

Virtual Environment and Dependency Management

  • Instructions for creating and activating a virtual environment.
  • Installation of project dependencies from the requirements.txt file.

Requirements

  • Python 3.10 or later
  • Dependencies listed in requirements.txt

Installation

  1. Clone the repository:

    git clone https://github.com/Macktireh/PostgresDataExporterGUI.git
    cd PostgresDataExporterGUI
  2. Create a virtual environment and activate it:

    python -m venv .venv

    for MacOS or Linux

    source .venv/bin/activate

    for Windows

    .\.venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Run the application:

    python app.py
  2. The GUI will appear, allowing you to input database connection details, a SQL query, and specify options for data export.

  3. Click on the "Choisir un dossier" button to choose the export directory.

  4. Click on the "Exporter" button to execute the data export process.

License

This project is licensed under the MIT License.

About

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.

Topics

customtkinterexport-to-csvpostgresqlpythontkinter

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.