← all projects

sleepyconvert

Convert data, images, and documents between formats from one terse CLI.

$ uv tool install sleepyconvert
  • python
  • typer
  • pandas

Why it exists

Converting a CSV to Parquet, a PNG to a JPEG, or a Markdown file to a PDF shouldn't mean looking up which library or website does it this week. sleepyconvert takes an input path and an output path, and the two file extensions decide the rest. No subcommands, no flags to memorize.

What it converts

CategoryFormats
Datacsv, parquet, json, pkl, xlsx
Imagespng, jpg, jpeg
Documentshtml, pdf, md

Any pair within a category works, in either direction.

Quick start

uv tool install sleepyconvert      # or: pipx install sleepyconvert
$ sleepyconvert sales.csv sales.parquet
Created /Users/dingus/work/sales.parquet
 
$ sleepyconvert notes.md notes.pdf
Created /Users/dingus/docs/notes.pdf