Skip to main content

csv-to-sqlite

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

Overview

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)

Metadata

Release files for csv-to-sqlite 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for csv-to-sqlite 2.1.0
File Interpreter ABI Platform
csv_to_sqlite-2.1.0-py3-none-any.whl Python 3 none any Details

Release files / csv_to_sqlite-2.1.0-py3-none-any.whl

Download URL csv_to_sqlite-2.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d67d2f3d41ee9ae1841e40ad6a853855083626f9ae2b10fda50c5927f7803bae
BLAKE2b-256 checksum
How to use checksums
0d2aad4eead0aa5d2e650fd72b5dd14bed7d30d086b8b3f3709781ac8259ed74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

Release history Release notifications | RSS feed

2.1.3

1 release file

2.1.2

1 release file

2.1.1

2 release files

This release

2.1.0 This release

1 release file

2.0.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page