Skip to content
/ file2db Public
forked from BenderV/file2db

Automatic import file (CSV, JSON) file to database (PostgreSQL | MySQL | SQLite | Oracle | Microsoft SQL Server)

Notifications You must be signed in to change notification settings

apisql/file2db

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File2DB

A mini OS X app to simply upload a CSV/JSON/EXCEL file to a database (PostgreSQL | MySQL | SQLite | Oracle | Microsoft SQL Server). You don't need to create the table structure, the application extract it from analysing the content of the file.

App

Download

Go to Release to download the app.

How

Behind the scene, it's simply a wrapper on the awesome Pandas.to_sql function.

To make it an app, we use Pashua & Platypus.

Build it

  1. Download Pashua: curl https://www.bluem.net/files/Pashua.dmg
  2. Create a python virtual environment: virtualenv -p $(which python) venv
  3. Activate the environment: source venv/bin/activate
  4. Install dependancies: pip install -r requirements.txt
  5. Download Platypus and install it.
  6. Start platypus and create the app. See the configuration example

About

Automatic import file (CSV, JSON) file to database (PostgreSQL | MySQL | SQLite | Oracle | Microsoft SQL Server)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.1%
  • Shell 0.9%