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.)
Links
- Source on GitHub
- PyPI page
- Introductory blog post with basic intro + a how-to
- Other related blog posts
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csv_to_sqlite-2.1.3-py3-none-any.whl | Python 3 | none | any | Details for csv_to_sqlite-2.1.3-py3-none-any.whl |
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
|
Security for csv-to-sqlite 2.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.