Skip to main content

csv-to-sqlite

This is a simple, datatype-guessing 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.3

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.3
File Interpreter ABI Platform
csv_to_sqlite-2.1.3-py3-none-any.whl Python 3 none any Details

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

Download URL csv_to_sqlite-2.1.3-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3f9fcd857f58beefce711beba8dad51ef151ff82876858ee9da9cbd4463613f
BLAKE2b-256 checksum
How to use checksums
a87f2f1f9740df3d37ce358fbdfa50db068ed6b087d28a4f2a426f119c042487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

2.1.3 This release

1 release file

2.1.2

1 release file

2.1.1

2 release files

2.1.0

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