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 details)

Uploaded Source

File details

Details for the file file2db-0.9.3.tar.gz.

File metadata

  • Download URL: file2db-0.9.3.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for file2db-0.9.3.tar.gz
Algorithm Hash digest
SHA256 d3fbcf44d8536232eed0da316b06309251e122e75feeca10df43b8ccd132ec30
MD5 6fdababa3f79413ad4e7cd87b6204379
BLAKE2b-256 4372d4fe86599fc66c6e1d7cec46807f03294d72d04d336f6d7c513be4e9b510

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page