This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

loadcsv is a programa and a library to load CSV files to databases and for converting CSV files to SQL inserrt or update statements.

The utility gets the names of the columns from the first row of the CSV file.

I wrote this utility because I was tired of doing always small scripts for doing this kind os loads.

By now the utility suport MySQL, PostgresSQL and sqlite, but can be used with other SQL databases using the utility to generate the SQL statements and sending them to the database:

Usage: loadcsv [options] filename.csv
If no database provided, display SQL to stdout

Options::
  -h, --help            show this help message and exit
  -D DRIVER, --driver=DRIVER
                        database driver mysql, pgsql, sqlite
  -H HOSTNAME, --hostname=HOSTNAME
                        database server hostname,defaults to localhost
  -d DBNAME, --dbname=DBNAME
                        database name (filename on sqlite)
  -u USER, --user=USER  database username
  -p PASSWORD, --password=PASSWORD
                        database password
  -P PORT, --port=PORT  database port
  -t TABLE, --table=TABLE
                        database table to load
  --test                run text, do no commit to the database
  --delimiter=DELIMITER
                        CSV file field delimiter, by default semi-colon

he project code and bugtracker is hosted on Bitbucket.

Install

Using pip:

pip install loadcsv

Os download and use setup

python setup.py install
Release History

Release History

0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
loadcsv-0.4.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Nov 14, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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