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.

Source Distribution

file2db-0.9.3.tar.gz (16.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page