8000 GitHub - zsz/tcex: tcex - Table Content EXporter · GitHub
[go: up one dir, main page]

Skip to content
zszPublic

About

tcex - Table Content EXporter

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcex - Table Content EXporter

Table of Contents

Introduction

License

With this little tool you can connect to a MySQL database server and select tables from a specific schema to be exported as CSV files.

Setup

Virtual Environment

Create virtual environment and install dependencies (requirements)

$ virtualenv --python=python3.9 venv
$ source venv/bin/activate
(venv) $ pip3 install -r requirements.txt

Environment variables

To specify the location of the database server the application reads environment variables which you can provide either via shell variables or initializing in a .env (in the working directory).

THe supported variables are:

  • TCEX_HOSTNAME: the host address of the server
  • TCEX_USERNAME: the user to connect to the server
  • TCEX_PASSWORD: the user's password
  • TCEX_DATABASE: the database (schema) from which you wish to export the tables from

Run

(venv) $ python3 app/main.py

About

tcex - Table Content EXporter

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0