Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Loads a CSV file a creates a preloaded SQLite database

Project Description
===========
CSVtoSQLiteDB
===========

This class accepts a csv file and puts the contents into an SQLite database table.
This pre--population is important in cases where you have to convert a csv file into an SQLite database and also
when there is the need to have a prepopulated SQLite DB to use as a resource in mobile development.


how to install
-------
$ pip install CSVtoSQLiteDB



usage
-----
#!/usr/bin/env python
from CSVtoSQLite import converter
loader = converter.csvSQLiteConvert('example-sqlite-database-name.db')
loader.loadCSVtoTable('path-to-csv', 'tableName')
loader.loadCSVtoTable('path-to-another-csv', 'tableName2')
loader.close()


license
-------
MIT
Release History

Release History

This version
History Node

0.2.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
CSVtoSQLite-0.2.1.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source Mar 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting