Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csv-to-sqlite

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-to-sqlite

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

  • 2.1.3
  • PyPI
  • Socket score

Maintainers
1

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

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc