├── .github ├── dependabot.yml └── workflows │ ├── automerge.yml │ ├── ci.yml │ ├── deploy.yml │ ├── lint.yml │ └── pypi.yml ├── .gitignore ├── .readthedocs.yaml ├── AUTHORS.rst ├── CHANGELOG.rst ├── CONTRIBUTING.rst ├── COPYING ├── Dockerfile ├── MANIFEST.in ├── README.rst ├── csvkit ├── __init__.py ├── cleanup.py ├── cli.py ├── convert │ ├── __init__.py │ ├── fixed.py │ └── geojs.py ├── exceptions.py ├── grep.py └── utilities │ ├── __init__.py │ ├── csvclean.py │ ├── csvcut.py │ ├── csvformat.py │ ├── csvgrep.py │ ├── csvjoin.py │ ├── csvjson.py │ ├── csvlook.py │ ├── csvpy.py │ ├── csvsort.py │ ├── csvsql.py │ ├── csvstack.py │ ├── csvstat.py │ ├── in2csv.py │ └── sql2csv.py ├── docs ├── Makefile ├── changelog.rst ├── cli.rst ├── common_arguments.rst ├── conf.py ├── contributing.rst ├── index.rst ├── license.rst ├── release.rst ├── requirements.txt ├── scripts │ ├── csvclean.rst │ ├── csvcut.rst │ ├── csvformat.rst │ ├── csvgrep.rst │ ├── csvjoin.rst │ ├── csvjson.rst │ ├── csvlook.rst │ ├── csvpy.rst │ ├── csvsort.rst │ ├── csvsql.rst │ ├── csvstack.rst │ ├── csvstat.rst │ ├── in2csv.rst │ └── sql2csv.rst ├── tricks.rst ├── tutorial.rst └── tutorial │ ├── 1_getting_started.rst │ ├── 2_examining_the_data.rst │ ├── 3_power_tools.rst │ └── 4_going_elsewhere.rst ├── examples ├── bad.csv ├── bad_skip_lines.csv ├── blanks.csv ├── blanks_converted.csv ├── date_like_number.csv ├── dummy.csv ├── dummy.csv.bz2 ├── dummy.csv.gz ├── dummy.tsv ├── dummy.xls ├── dummy.xlsx ├── dummy2.csv ├── dummy3.csv ├── dummy_col_shuffled.csv ├── dummy_col_shuffled_ragged.csv ├── empty.csv ├── foo1.csv ├── foo2.csv ├── iris.csv ├── irismeta.csv ├── join_a.csv ├── join_a_short.csv ├── join_b.csv ├── join_no_header_row.csv ├── join_short.csv ├── mac_newlines.csv ├── no_header_row.csv ├── no_header_row2.csv ├── no_header_row3.csv ├── null_byte.csv ├── optional_quote_characters.csv ├── realdata │ ├── Datagov_FY10_EDU_recp_by_State.csv │ ├── FY09_EDU_Recipients_by_State.csv │ ├── README.csv │ ├── acs2012_5yr_population.csv │ ├── census_2000 │ │ ├── README.txt │ │ ├── VROUTFSJ.TXt │ │ ├── census2000_geo_schema.csv │ │ ├── determination.csv │ │ ├── determination_schema.csv │ │ ├── usgeo.upl │ │ └── usgeo_excerpt.upl │ ├── census_2010 │ │ ├── README.txt │ │ ├── census2010_geo_schema.csv │ │ ├── ilgeo2010_excerpt.csv │ │ └── ilgeo2010_excerpt.pl │ ├── event-notification-rpt-lastmonth.txt │ ├── ks_1033_data.csv │ └── ne_1033_data.xlsx ├── sheets.xls ├── sheets.xlsx ├── sheetsxls_converted.csv ├── sheetsxlsx_converted.csv ├── sniff_limit.csv ├── sort_ints_nulls.csv ├── test.sql ├── test.xls ├── test.xlsx ├── test_date_format.csv ├── test_date_format_converted.csv ├── test_empty_columns.csv ├── test_empty_columns_long_row.csv ├── test_empty_columns_short_row.csv ├── test_extra_header.csv ├── test_geo.csv ├── test_geojson.csv ├── test_geojson.json ├── test_header_newline.csv ├── test_ignore_case.csv ├── test_join_short_rows.csv ├── test_latin1.csv ├── test_latin1.sql ├── test_literal_order.csv ├── test_locale.csv ├── test_locale_converted.csv ├── test_no_leading_zeroes.csv ├── test_numeric_date_format.csv ├── test_precision.csv ├── test_query.sql ├── test_skip_lines.csv ├── test_skip_lines.xls ├── test_skip_lines.xlsx ├── test_utf16_big.csv ├── test_utf16_little.csv ├── test_utf8.csv ├── test_utf8_bom.csv ├── testdbf.dbf ├── testdbf_converted.csv ├── testfixed ├── testfixed_converted.csv ├── testfixed_schema.csv ├── testfixed_schema_no_inference.csv ├── testfixed_skip_lines ├── testjson.json ├── testjson_converted.csv ├── testjson_multiline.json ├── testjson_multiline_converted.csv ├── testjson_nested.json ├── testjson_nested_converted.csv ├── testxls_converted.csv ├── testxls_unicode_converted.csv ├── testxlsx_converted.csv ├── testxlsx_noinference_converted.csv └── testxlsx_unicode_converted.csv ├── man ├── csvclean.1 ├── csvcut.1 ├── csvformat.1 ├── csvgrep.1 ├── csvjoin.1 ├── csvjson.1 ├── csvlook.1 ├── csvpy.1 ├── csvsort.1 ├── csvsql.1 ├── csvstack.1 ├── csvstat.1 ├── in2csv.1 └── sql2csv.1 ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── performance.py ├── test_cleanup.py ├── test_cli.py ├── test_convert ├── __init__.py ├── test_convert.py └── test_fixed.py ├── test_grep.py ├── test_utilities ├── __init__.py ├── test_csvclean.py ├── test_csvcut.py ├── test_csvformat.py ├── test_csvgrep.py ├── test_csvjoin.py ├── test_csvjson.py ├── test_csvlook.py ├── test_csvsort.py ├── test_csvsql.py ├── test_csvstack.py ├── test_csvstat.py ├── test_in2csv.py └── test_sql2csv.py └── utils.py /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/automerge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.github/workflows/automerge.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.github/workflows/pypi.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /CHANGELOG.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/CHANGELOG.rst -------------------------------------------------------------------------------- /CONTRIBUTING.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/CONTRIBUTING.rst -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/Dockerfile -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/README.rst -------------------------------------------------------------------------------- /csvkit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/__init__.py -------------------------------------------------------------------------------- /csvkit/cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/cleanup.py -------------------------------------------------------------------------------- /csvkit/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/cli.py -------------------------------------------------------------------------------- /csvkit/convert/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/convert/__init__.py -------------------------------------------------------------------------------- /csvkit/convert/fixed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/convert/fixed.py -------------------------------------------------------------------------------- /csvkit/convert/geojs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/convert/geojs.py -------------------------------------------------------------------------------- /csvkit/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/exceptions.py -------------------------------------------------------------------------------- /csvkit/grep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/grep.py -------------------------------------------------------------------------------- /csvkit/utilities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /csvkit/utilities/csvclean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvclean.py -------------------------------------------------------------------------------- /csvkit/utilities/csvcut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvcut.py -------------------------------------------------------------------------------- /csvkit/utilities/csvformat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvformat.py -------------------------------------------------------------------------------- /csvkit/utilities/csvgrep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvgrep.py -------------------------------------------------------------------------------- /csvkit/utilities/csvjoin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvjoin.py -------------------------------------------------------------------------------- /csvkit/utilities/csvjson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvjson.py -------------------------------------------------------------------------------- /csvkit/utilities/csvlook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvlook.py -------------------------------------------------------------------------------- /csvkit/utilities/csvpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvpy.py -------------------------------------------------------------------------------- /csvkit/utilities/csvsort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvsort.py -------------------------------------------------------------------------------- /csvkit/utilities/csvsql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvsql.py -------------------------------------------------------------------------------- /csvkit/utilities/csvstack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvstack.py -------------------------------------------------------------------------------- /csvkit/utilities/csvstat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/csvstat.py -------------------------------------------------------------------------------- /csvkit/utilities/in2csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/in2csv.py -------------------------------------------------------------------------------- /csvkit/utilities/sql2csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/csvkit/utilities/sql2csv.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/changelog.rst -------------------------------------------------------------------------------- /docs/cli.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/cli.rst -------------------------------------------------------------------------------- /docs/common_arguments.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/common_arguments.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/contributing.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/license.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/license.rst -------------------------------------------------------------------------------- /docs/release.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/release.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | furo 2 | sphinx>2 3 | docutils>=0.18 4 | -------------------------------------------------------------------------------- /docs/scripts/csvclean.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvclean.rst -------------------------------------------------------------------------------- /docs/scripts/csvcut.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvcut.rst -------------------------------------------------------------------------------- /docs/scripts/csvformat.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvformat.rst -------------------------------------------------------------------------------- /docs/scripts/csvgrep.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvgrep.rst -------------------------------------------------------------------------------- /docs/scripts/csvjoin.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvjoin.rst -------------------------------------------------------------------------------- /docs/scripts/csvjson.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvjson.rst -------------------------------------------------------------------------------- /docs/scripts/csvlook.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvlook.rst -------------------------------------------------------------------------------- /docs/scripts/csvpy.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvpy.rst -------------------------------------------------------------------------------- /docs/scripts/csvsort.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvsort.rst -------------------------------------------------------------------------------- /docs/scripts/csvsql.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvsql.rst -------------------------------------------------------------------------------- /docs/scripts/csvstack.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvstack.rst -------------------------------------------------------------------------------- /docs/scripts/csvstat.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/csvstat.rst -------------------------------------------------------------------------------- /docs/scripts/in2csv.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/in2csv.rst -------------------------------------------------------------------------------- /docs/scripts/sql2csv.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/scripts/sql2csv.rst -------------------------------------------------------------------------------- /docs/tricks.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/tricks.rst -------------------------------------------------------------------------------- /docs/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/tutorial.rst -------------------------------------------------------------------------------- /docs/tutorial/1_getting_started.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/tutorial/1_getting_started.rst -------------------------------------------------------------------------------- /docs/tutorial/2_examining_the_data.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/tutorial/2_examining_the_data.rst -------------------------------------------------------------------------------- /docs/tutorial/3_power_tools.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/tutorial/3_power_tools.rst -------------------------------------------------------------------------------- /docs/tutorial/4_going_elsewhere.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/docs/tutorial/4_going_elsewhere.rst -------------------------------------------------------------------------------- /examples/bad.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/bad.csv -------------------------------------------------------------------------------- /examples/bad_skip_lines.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/bad_skip_lines.csv -------------------------------------------------------------------------------- /examples/blanks.csv: -------------------------------------------------------------------------------- 1 | a,b,c,d,e,f 2 | ,NA,N/A,NONE,NULL,. 3 | -------------------------------------------------------------------------------- /examples/blanks_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/blanks_converted.csv -------------------------------------------------------------------------------- /examples/date_like_number.csv: -------------------------------------------------------------------------------- 1 | a 2 | 4.5 3 | -------------------------------------------------------------------------------- /examples/dummy.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /examples/dummy.csv.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/dummy.csv.bz2 -------------------------------------------------------------------------------- /examples/dummy.csv.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/dummy.csv.gz -------------------------------------------------------------------------------- /examples/dummy.tsv: -------------------------------------------------------------------------------- 1 | a b c 2 | 1 2 3 3 | -------------------------------------------------------------------------------- /examples/dummy.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/dummy.xls -------------------------------------------------------------------------------- /examples/dummy.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/dummy.xlsx -------------------------------------------------------------------------------- /examples/dummy2.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /examples/dummy3.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 1,4,5 4 | -------------------------------------------------------------------------------- /examples/dummy_col_shuffled.csv: -------------------------------------------------------------------------------- 1 | b,c,a 2 | 2,3,1 -------------------------------------------------------------------------------- /examples/dummy_col_shuffled_ragged.csv: -------------------------------------------------------------------------------- 1 | b,c,a,d 2 | 2,3,1,4 3 | -------------------------------------------------------------------------------- /examples/empty.csv: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /examples/foo1.csv: -------------------------------------------------------------------------------- 1 | id,name,age 2 | 1,Jake,22 3 | 2,Howard,21 4 | -------------------------------------------------------------------------------- /examples/foo2.csv: -------------------------------------------------------------------------------- 1 | id,name,age 2 | 3,Liz,20 3 | 4,Tim,21 4 | -------------------------------------------------------------------------------- /examples/iris.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/iris.csv -------------------------------------------------------------------------------- /examples/irismeta.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/irismeta.csv -------------------------------------------------------------------------------- /examples/join_a.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/join_a.csv -------------------------------------------------------------------------------- /examples/join_a_short.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/join_a_short.csv -------------------------------------------------------------------------------- /examples/join_b.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/join_b.csv -------------------------------------------------------------------------------- /examples/join_no_header_row.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/join_no_header_row.csv -------------------------------------------------------------------------------- /examples/join_short.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/join_short.csv -------------------------------------------------------------------------------- /examples/mac_newlines.csv: -------------------------------------------------------------------------------- 1 | a,b,c 1,2,3 "Once upon a time",5,6 -------------------------------------------------------------------------------- /examples/no_header_row.csv: -------------------------------------------------------------------------------- 1 | 1,2,3 2 | -------------------------------------------------------------------------------- /examples/no_header_row2.csv: -------------------------------------------------------------------------------- 1 | 4,5,6 2 | -------------------------------------------------------------------------------- /examples/no_header_row3.csv: -------------------------------------------------------------------------------- 1 | 1,2,3 2 | 4,5,6 3 | -------------------------------------------------------------------------------- /examples/null_byte.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | ,2,3 3 | -------------------------------------------------------------------------------- /examples/optional_quote_characters.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | "1","2","3" 3 | -------------------------------------------------------------------------------- /examples/realdata/Datagov_FY10_EDU_recp_by_State.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/Datagov_FY10_EDU_recp_by_State.csv -------------------------------------------------------------------------------- /examples/realdata/FY09_EDU_Recipients_by_State.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/FY09_EDU_Recipients_by_State.csv -------------------------------------------------------------------------------- /examples/realdata/README.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/README.csv -------------------------------------------------------------------------------- /examples/realdata/acs2012_5yr_population.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/acs2012_5yr_population.csv -------------------------------------------------------------------------------- /examples/realdata/census_2000/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2000/README.txt -------------------------------------------------------------------------------- /examples/realdata/census_2000/VROUTFSJ.TXt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2000/VROUTFSJ.TXt -------------------------------------------------------------------------------- /examples/realdata/census_2000/census2000_geo_schema.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2000/census2000_geo_schema.csv -------------------------------------------------------------------------------- /examples/realdata/census_2000/determination.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2000/determination.csv -------------------------------------------------------------------------------- /examples/realdata/census_2000/determination_schema.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2000/determination_schema.csv -------------------------------------------------------------------------------- /examples/realdata/census_2000/usgeo.upl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2000/usgeo.upl -------------------------------------------------------------------------------- /examples/realdata/census_2000/usgeo_excerpt.upl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2000/usgeo_excerpt.upl -------------------------------------------------------------------------------- /examples/realdata/census_2010/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2010/README.txt -------------------------------------------------------------------------------- /examples/realdata/census_2010/census2010_geo_schema.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2010/census2010_geo_schema.csv -------------------------------------------------------------------------------- /examples/realdata/census_2010/ilgeo2010_excerpt.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2010/ilgeo2010_excerpt.csv -------------------------------------------------------------------------------- /examples/realdata/census_2010/ilgeo2010_excerpt.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/census_2010/ilgeo2010_excerpt.pl -------------------------------------------------------------------------------- /examples/realdata/event-notification-rpt-lastmonth.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/event-notification-rpt-lastmonth.txt -------------------------------------------------------------------------------- /examples/realdata/ks_1033_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/ks_1033_data.csv -------------------------------------------------------------------------------- /examples/realdata/ne_1033_data.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/realdata/ne_1033_data.xlsx -------------------------------------------------------------------------------- /examples/sheets.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/sheets.xls -------------------------------------------------------------------------------- /examples/sheets.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/sheets.xlsx -------------------------------------------------------------------------------- /examples/sheetsxls_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/sheetsxls_converted.csv -------------------------------------------------------------------------------- /examples/sheetsxlsx_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/sheetsxlsx_converted.csv -------------------------------------------------------------------------------- /examples/sniff_limit.csv: -------------------------------------------------------------------------------- 1 | a;b;c 2 | 1;2;3 3 | -------------------------------------------------------------------------------- /examples/sort_ints_nulls.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 4,,6 4 | 5,1,7 5 | -------------------------------------------------------------------------------- /examples/test.sql: -------------------------------------------------------------------------------- 1 | select 4*9 as question 2 | -------------------------------------------------------------------------------- /examples/test.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test.xls -------------------------------------------------------------------------------- /examples/test.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test.xlsx -------------------------------------------------------------------------------- /examples/test_date_format.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_date_format.csv -------------------------------------------------------------------------------- /examples/test_date_format_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_date_format_converted.csv -------------------------------------------------------------------------------- /examples/test_empty_columns.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_empty_columns.csv -------------------------------------------------------------------------------- /examples/test_empty_columns_long_row.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | ,,, 3 | -------------------------------------------------------------------------------- /examples/test_empty_columns_short_row.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | , 3 | -------------------------------------------------------------------------------- /examples/test_extra_header.csv: -------------------------------------------------------------------------------- 1 | a,b,c,d 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /examples/test_geo.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_geo.csv -------------------------------------------------------------------------------- /examples/test_geojson.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_geojson.csv -------------------------------------------------------------------------------- /examples/test_geojson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_geojson.json -------------------------------------------------------------------------------- /examples/test_header_newline.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_header_newline.csv -------------------------------------------------------------------------------- /examples/test_ignore_case.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_ignore_case.csv -------------------------------------------------------------------------------- /examples/test_join_short_rows.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_join_short_rows.csv -------------------------------------------------------------------------------- /examples/test_latin1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_latin1.csv -------------------------------------------------------------------------------- /examples/test_latin1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_latin1.sql -------------------------------------------------------------------------------- /examples/test_literal_order.csv: -------------------------------------------------------------------------------- 1 | a,b 2 | 192,1 3 | 27,2 4 | 3,3 5 | -------------------------------------------------------------------------------- /examples/test_locale.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_locale.csv -------------------------------------------------------------------------------- /examples/test_locale_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_locale_converted.csv -------------------------------------------------------------------------------- /examples/test_no_leading_zeroes.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 01,00.11,0.1 3 | -------------------------------------------------------------------------------- /examples/test_numeric_date_format.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_numeric_date_format.csv -------------------------------------------------------------------------------- /examples/test_precision.csv: -------------------------------------------------------------------------------- 1 | a 2 | 1.234567 -------------------------------------------------------------------------------- /examples/test_query.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_query.sql -------------------------------------------------------------------------------- /examples/test_skip_lines.csv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | a,b,c 5 | 1,2,3 6 | -------------------------------------------------------------------------------- /examples/test_skip_lines.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_skip_lines.xls -------------------------------------------------------------------------------- /examples/test_skip_lines.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_skip_lines.xlsx -------------------------------------------------------------------------------- /examples/test_utf16_big.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_utf16_big.csv -------------------------------------------------------------------------------- /examples/test_utf16_little.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/test_utf16_little.csv -------------------------------------------------------------------------------- /examples/test_utf8.csv: -------------------------------------------------------------------------------- 1 | foo,bar,baz 2 | 1,2,3 3 | 4,5,ʤ -------------------------------------------------------------------------------- /examples/test_utf8_bom.csv: -------------------------------------------------------------------------------- 1 | foo,bar,baz 2 | 1,2,3 3 | 4,5,ʤ 4 | -------------------------------------------------------------------------------- /examples/testdbf.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testdbf.dbf -------------------------------------------------------------------------------- /examples/testdbf_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testdbf_converted.csv -------------------------------------------------------------------------------- /examples/testfixed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testfixed -------------------------------------------------------------------------------- /examples/testfixed_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testfixed_converted.csv -------------------------------------------------------------------------------- /examples/testfixed_schema.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testfixed_schema.csv -------------------------------------------------------------------------------- /examples/testfixed_schema_no_inference.csv: -------------------------------------------------------------------------------- 1 | column,start,length 2 | a,0,6 3 | b,6,4 4 | c,10,2 5 | -------------------------------------------------------------------------------- /examples/testfixed_skip_lines: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testfixed_skip_lines -------------------------------------------------------------------------------- /examples/testjson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testjson.json -------------------------------------------------------------------------------- /examples/testjson_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testjson_converted.csv -------------------------------------------------------------------------------- /examples/testjson_multiline.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testjson_multiline.json -------------------------------------------------------------------------------- /examples/testjson_multiline_converted.csv: -------------------------------------------------------------------------------- 1 | a,b,d 2 | 2,3, 3 | ,2,4 4 | -------------------------------------------------------------------------------- /examples/testjson_nested.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testjson_nested.json -------------------------------------------------------------------------------- /examples/testjson_nested_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testjson_nested_converted.csv -------------------------------------------------------------------------------- /examples/testxls_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testxls_converted.csv -------------------------------------------------------------------------------- /examples/testxls_unicode_converted.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1.0,2.0,3.0 3 | -------------------------------------------------------------------------------- /examples/testxlsx_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testxlsx_converted.csv -------------------------------------------------------------------------------- /examples/testxlsx_noinference_converted.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/examples/testxlsx_noinference_converted.csv -------------------------------------------------------------------------------- /examples/testxlsx_unicode_converted.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /man/csvclean.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvclean.1 -------------------------------------------------------------------------------- /man/csvcut.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvcut.1 -------------------------------------------------------------------------------- /man/csvformat.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvformat.1 -------------------------------------------------------------------------------- /man/csvgrep.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvgrep.1 -------------------------------------------------------------------------------- /man/csvjoin.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvjoin.1 -------------------------------------------------------------------------------- /man/csvjson.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvjson.1 -------------------------------------------------------------------------------- /man/csvlook.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvlook.1 -------------------------------------------------------------------------------- /man/csvpy.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvpy.1 -------------------------------------------------------------------------------- /man/csvsort.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvsort.1 -------------------------------------------------------------------------------- /man/csvsql.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvsql.1 -------------------------------------------------------------------------------- /man/csvstack.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvstack.1 -------------------------------------------------------------------------------- /man/csvstat.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/csvstat.1 -------------------------------------------------------------------------------- /man/in2csv.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/in2csv.1 -------------------------------------------------------------------------------- /man/sql2csv.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/man/sql2csv.1 -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/performance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/performance.py -------------------------------------------------------------------------------- /tests/test_cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_cleanup.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_convert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_convert/test_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_convert/test_convert.py -------------------------------------------------------------------------------- /tests/test_convert/test_fixed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_convert/test_fixed.py -------------------------------------------------------------------------------- /tests/test_grep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_grep.py -------------------------------------------------------------------------------- /tests/test_utilities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_utilities/test_csvclean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvclean.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvcut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvcut.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvformat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvformat.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvgrep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvgrep.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvjoin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvjoin.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvjson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvjson.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvlook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvlook.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvsort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvsort.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvsql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvsql.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvstack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvstack.py -------------------------------------------------------------------------------- /tests/test_utilities/test_csvstat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_csvstat.py -------------------------------------------------------------------------------- /tests/test_utilities/test_in2csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_in2csv.py -------------------------------------------------------------------------------- /tests/test_utilities/test_sql2csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/test_utilities/test_sql2csv.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wireservice/csvkit/HEAD/tests/utils.py --------------------------------------------------------------------------------