Skip to main content

A modern Python CLI tool for converting data files between formats.

Project description

daflip

PyPI version Python versions 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

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

daflip-0.1.8.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daflip-0.1.8-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file daflip-0.1.8.tar.gz.

File metadata

  • Download URL: daflip-0.1.8.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for daflip-0.1.8.tar.gz
Algorithm Hash digest
SHA256 18ea951a1d39f3ced2e7616d55627282c1f4a1029f1ea452876832be36f9a453
MD5 53695f761def5dd500df67e5c9e004df
BLAKE2b-256 b610b161b1fb51fa249a966f2251e9b3f5d54165c4f2d9bbd0f634759bd66e53

See more details on using hashes here.

File details

Details for the file daflip-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: daflip-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for daflip-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c93344d98258fe09a571b9f0cfd2e802393e94955223b68e458359f09f65bddf
MD5 511ebd59b7f3613f8649c628df7aa5aa
BLAKE2b-256 cbd20e240d22ef33fe09795c359a3f3671e1805a24ee7fbfa0cde8942f1b7ebd

See more details on using hashes here.

Supported by

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