Skip to main content

Simple file to database manipulation

Project description

https://img.shields.io/travis/moosejaw/file2db.svg https://img.shields.io/pypi/v/file2db.svg

Simple file to database manipulation

Commands

file2db info

usage: file2db info [-h] [-v] (-C | -T) input_file

positional arguments:
input_file     parse data in FILE
optional arguments:
-h, --help     show this help message and exit -v, --verbose  show debugging info -C, --comma    comma delimited file -T, --tab      tab delimited file

file2db sql

usage: file2db sql [-h] [-v] (-C | -T) (-M | -S) [-o output_directory] -n table_name input_file

positional arguments:
input_file            parse data in FILE
optional arguments:
-h, --help            show this help message and exit -v, --verbose         show debugging info -C, --comma           comma delimited file -T, --tab             tab delimited file -M, --MySQL           to specify MySQL -S, --SQLite          to specify SQLite -o output_directory, --output output_directory output directory, defaults to current directory -n table_name, --tablename table_name generate SQL DML with supplied name as the table

History

0.9.3 (2015-03-20)

  • final modification for Python 2 and 3 compatibility

0.3.0 (2015-03-22)

  • Slight change

0.3.0 (2015-03-22)

  • Some docs

0.2.0 (2015-03-22)

  • Some rearranging

0.1.0 (2015-02-27)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for file2db, version 0.9.3
Filename, size File type Python version Upload date Hashes
Filename, size file2db-0.9.3.tar.gz (16.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page