Skip to main content
===========
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

Download files

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

Source Distribution

CSVtoSQLite-0.2.1.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file CSVtoSQLite-0.2.1.tar.gz.

File metadata

  • Download URL: CSVtoSQLite-0.2.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for CSVtoSQLite-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2ad38735a44ed6267ee4144c6db79740d106b824eb6be14175f8aab0ec684a7f
MD5 55ec006323e544b1f8ccc6559a8d8b20
BLAKE2b-256 8e1c8d28dece2cb6f60ab613ac92ca69455ec63380f2cdb6d6370a5d13df76ab

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page