Skip to content

vgreg/daflip

Repository files navigation

daflip

PyPI version License: MIT Code style: ruff Tests Lint Coverage

A modern Python CLI tool for converting data files between formats. Built with pyarrow and pandas.

Features

  • Supported input formats: CSV, TSV, PSV, fixed-width, Parquet, ORC, Feather, SAS, Stata, SPSS, Excel, HTML
  • Supported output formats: CSV, Parquet, ORC, Feather, Excel, Stata
  • Format inference from file extension (with override).
  • Compression and row/sheet/table selection options.
  • Solid foundation: Uses pandas and pyarrow to read and write data.

Installation and usage

pip install daflip
daflip convert input.csv output.parquet

or

uvx daflip convert input.csv output.parquet

See daflip --help for all options.

Development

  • Dependencies managed with uv
  • Linting with Ruff
  • Testing with pytest

License

MIT

About

Simple program to convert between different file formats using Arrow and pandas, written in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages