Skip to main content

Inspect a CSV file and determine data types to build a table to contain it.

Project description

#### Redwing: Python Type-Inference for CSV Files

This script takes in a piped CSV file and will infer data types.

It does a few other things, too, like determining max length for character fields.

It expects a CSV with a header row.

Currently, it works like this:

redwing csvfile.csv

Output is a SQL creation script.

CREATE TABLE tablename ( id INTEGER, name VARCHAR(5) )

Project details


Download files

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

Source Distribution

redwing-0.0.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page