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 reads CSV file and infers 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 –tablename=tablename
Output is a SQL creation script.
CREATE TABLE tablename ( id INTEGER, name VARCHAR(5) )
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(4.3 kB
view details)
File details
Details for the file redwing-0.0.2.tar.gz
.
File metadata
- Download URL: redwing-0.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47868b0316975a608574f4b7a5338fce24e295462e253b0fd47feae8449a7eb6 |
|
MD5 | fbba58b24882ee98e3e0248031b9bd89 |
|
BLAKE2b-256 | b2c522de558a38e29901f03af57e904f75a01918a23580b5b1ece6065dfe612a |