3979562c26
- Update to 2.0.1: * feat: csvsql adds --min-col-len and --col-len-multiplier options. * feat: sql2csv adds a --engine-option option. * feat: Add man pages to the sdist and wheel distributions. * fix: csvstat no longer errors when a column is a time delta and --json is set. * csvclean now writes its output to standard output and its errors to standard error, instead of to basename_out.csv and basename_err.csv files. * csvclean no longer reports or fixes errors by default; it errors if no checks or fixes are enabled. * csvclean no longer omits rows with errors from the output. * csvclean joins short rows using a newline by default, instead of a space. * Add a lot of options to csvclean. * feat: The --quoting option accepts csv.QUOTE_STRINGS and csv.QUOTE_NOTNULL on Python 3.12. * feat: csvformat: The --out-quoting option accepts csv.QUOTE_STRINGS and csv.QUOTE_NOTNULL on Python 3.12. * fix: csvformat: The --out-quoting option works with csv.QUOTE_NONUMERIC. * fix: csvclean: The --join-short-rows option no longer reports length mismatch errors that were fixed. * feat: Add support for Zstandard files with the .zst extension, if the zstandard package is installed. * feat: csvformat adds a --out-asv (--A) option to use the ASCII unit separator and record separator. * feat: csvsort adds a --ignore-case (--i) option to perform case-independent sorting.
Steve Kowalik2024-07-23 06:39:12 +00:00
ff01e5b5b6
Accepting request 1161151 from devel:languages:python:numeric
Ana Guerrero2024-03-25 20:10:49 +00:00
96bce21aed
- update to 1.4.0: * feat: :doc:/scripts/csvpy adds the options: --no-number- ellipsis, to disable the ellipsis (…) if max precision is exceeded, for example, when using table.print_table() --sniff-limit --no-inference * feat: :doc:/scripts/csvpy adds the options: * --no-number-ellipsis, to disable the ellipsis (…) if max precision is exceeded, for example, when using table.print_table() * feat: :doc:/scripts/csvpy removes the --linenumbers and --zero output options, which had no effect. * feat: :doc:/scripts/csvpy removes the --linenumbers and --zero output options, which had no effect. * feat: :doc:/scripts/in2csv adds a --reset-dimensions option to recalculate the dimensions of an XLSX file, instead of trusting the file's metadata. csvkit's dependency agate-excel 0.4.0 automatically recalculates the dimensions if the file's metadata expresses dimensions of "A1:A1" (a single cell). * feat: :doc:/scripts/in2csv adds a --reset-dimensions option to recalculate the dimensions of an XLSX file, instead of trusting the file's metadata. csvkit's dependency agate-excel 0.4.0 automatically recalculates the dimensions if the file's metadata expresses dimensions of "A1:A1" (a single cell). * fix: :doc:/scripts/csvlook only reads up to --max-rows rows instead of the entire file. * fix: :doc:/scripts/csvlook only reads up to --max-rows rows instead of the entire file. * fix: :doc:/scripts/csvpy supports the existing input options: --locale --blanks --null-value --date-format --datetime-format --skip-lines
Dirk Mueller2024-03-24 17:26:30 +00:00
4991da7601
Accepting request 1132979 from devel:languages:python:numeric
Ana Guerrero2023-12-14 21:03:19 +00:00
09c0449de9
- Update to 1.3.0: * /scripts/csvformat adds a --skip-header (-E) option to not output a header row. * /scripts/csvlook adds a --max-precision option to set the maximum number of decimal places to display. * /scripts/csvlook adds a --no-number-ellipsis option to disable the ellipsis (…) if --max-precision is exceeded. * /scripts/csvstat supports the --no-inference (-I), --locale (-L), --blanks, --date-format and datetime-format options. * /scripts/csvstat reports a "Non-null values" statistic. * /scripts/csvstat adds a --non-nulls option to only output counts of non-null values. * /scripts/csvstat reports a "Most decimal places" statistic. * /scripts/csvstat adds a --max-precision option to only output the most decimal places. * /scripts/csvstat adds a --json option to output results as JSON text. * /scripts/csvstat adds an --indent option to indent the JSON text when --json is set. * /scripts/in2csv adds a --use-sheet-names option to use the sheet names as file names when --write-sheets is set. * Add a --null-value option to commands with the --blanks option, to convert additional values to NULL. * Reconfigure the encoding of standard input according to the --encoding option, which defaults to utf-8-sig. * Prompt the user if additional input is expected (i.e. if no input file or piped data is provided) in /scripts/csvjoin, /scripts/csvsql and /scripts/csvstack. * No longer errors if a NUL byte occurs in an input file. * Add Python 3.12 support. * /scripts/csvjoin uses the correct columns when performing a --right join.
Steve Kowalik2023-12-14 06:03:53 +00:00
cf11d646f4
Accepting request 1114540 from devel:languages:python:numeric
Ana Guerrero2023-10-02 18:06:15 +00:00
debe00a4d6
Accepting request 1114363 from home:mimi_vx:branches:devel:languages:python:numeric
Matej Cepl2023-09-30 13:16:35 +00:00
3a434103b2
- update to 1.1.1: * feat: :doc:/scripts/csvstack handles files with columns in different orders or with different names.
Dirk Mueller2023-03-28 10:44:05 +00:00
68f870dd0e
- update to 1.1.0: * feat: :doc:/scripts/csvsql accepts multiple :code:--query command- line arguments. * feat: :doc:/scripts/csvstat adds :code:--no-grouping-separator and :code:--decimal-format options. * Add Python 3.11 support. * Drop Python 3.6 support (end-of-life was December 23, 2021). * Drop Python 2.7 support (end-of-life was January 1, 2020).
Dirk Mueller2023-01-16 20:56:22 +00:00
60d9834e80
Accepting request 1008677 from devel:languages:python:numeric
Richard Brown2022-10-07 23:25:38 +00:00
fe44020b15
- Fix u-a scriptlets - Update to v1.0.7 * fix: :doc:/scripts/csvcut extracts the correct columns when --line-numbers is set. * fix: Restore Python 2.7 support in edge cases. * feat: Use 1024 byte sniff-limit by default across csvkit. Improve csvstat performance up to 10x. * feat: Add support for .xz (LZMA) compressed input files. * Add Python 3.10 support. * Drop Python 3.5 support (end-of-life was September 30, 2020). - v1.0.6 * :doc:/scripts/csvstat no longer prints "Row count: " when --count is set. * :doc:/scripts/csvclean, :doc:/scripts/csvcut, :doc:/scripts/csvgrep no longer error if standard input is null. * :doc:/scripts/csvformat creates default headers when --no-header-row is set, as documented. * :doc:/scripts/csvstack no longer errors when --no-header-row is combined with --groups or --filenames.
Daniel Garcia2022-10-07 07:09:51 +00:00
7512dfec49
Accepting request 875840 from devel:languages:python:numeric
Richard Brown
2021-03-02 11:33:57 +00:00
ba87f3b532
Accepting request 875827 from home:bnavigator:branches:devel:languages:python:numeric
Matej Cepl2021-02-28 23:12:49 +00:00
a6ebb6e115
Accepting request 809605 from devel:languages:python:numeric
Yuchen Lin2020-05-28 07:20:02 +00:00
46346a474f
Accepting request 809588 from home:pgajdos:python
Tomáš Chvátal
2020-05-27 14:46:32 +00:00
dcd70db15b
- Update to 1.0.4: * Dropped Python 3.3 support (end-of-life was September 29, 2017). * :doc:/scripts/csvsql adds a --chunk-size option to set the chunk size when batch inserting into a table. * csvkit is now tested against Python 3.7. * Dates and datetimes without punctuation can be parsed with --date-format and datetime-format. * Error messages about column indices use 1-based numbering unless --zero is set. - Remove merged patch remove-unittest2.patch
Tomáš Chvátal
2019-03-25 09:09:38 +00:00