Skip to main content

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

Project description

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

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.10.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.10-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daflip-0.1.10.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.10.tar.gz
Algorithm Hash digest
SHA256 f98f6ac132d38c5a15bb772753473b8e4eb839142efb1a4545f4b32c164d95d1
MD5 3ac08d96a6a9b25a29b0a9d6c046cf1e
BLAKE2b-256 b626c09d362274bd040ed8a798a321c8303319419a99d8ad1669cc3fd686c37b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daflip-0.1.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 47033e160d49845d8b3861706aaf8ec84e8b36ddfc6949abd5529eee398fe6dd
MD5 83b9d7f8b195710fb667c85bd53a6dbe
BLAKE2b-256 456fe41927bfef94b715685818caffd3d489d0fafe9fe35dfe48df32f8a61fad

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