Skip to main content

A script that processes the input CSV files and copies them into a SQLite database.

Project description


This is a simple script that takes CSV files as input and copies their contents into a SQLite database. . (Column names are taken from the headers (first row) in the csv file.) Intended for Python 3. (I know it did run on Py2 as some people tried, but I haven't tested it.)



Installs via

 pip install csv-to-sqlite

To find out more, run

 csv-to-sqlite --help

If you've installed the package as a dependency for your own script, you can use it like this:

import csv_to_sqlite 

# all the usual options are supported
options = csv_to_sqlite.CsvOptions(typing_style="full", encoding="windows-1250") 
input_files = ["abilities.csv", "moves.csv"] # pass in a list of CSV files
csv_to_sqlite.write_csv(input_files, "output.sqlite", options)

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 csv-to-sqlite, version 2.1.1
Filename, size File type Python version Upload date Hashes
Filename, size csv_to_sqlite-2.1.1-py3-none-any.whl (12.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size csv-to-sqlite-2.1.1.tar.gz (24.5 kB) File type Source Python version None Upload date Hashes View

Supported by

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