Skip to main content

Convert data files, images, and documents between formats from a single terse CLI.

Project description

sleepyconvert

sleepyconvert is a succinct Typer-based CLI that converts data files, images, and documents between formats, inferring intent solely from the input and output extensions.

Supported conversions

  • Data: csv, parquet, json, pkl, xlsx
  • Images: png, jpg, jpeg
  • Documents: html, pdf, md

Formats can only be converted within the same category.

Install

pip install sleepyconvert

Usage

sleepyconvert <input_path> <output_path>

The tool takes exactly two arguments — there is no subcommand. Both paths are resolved relative to the current working directory, and their extensions must belong to the same category.

sleepyconvert data.csv data.parquet
sleepyconvert report.md report.pdf
sleepyconvert photo.png photo.jpg
sleepyconvert --help

Development

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Then run pytest, or ./tools/test.sh to exercise the CLI end to end. Tear down with deactivate && rm -rf .venv.

Documentation

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

sleepyconvert-2.0.0.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

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

sleepyconvert-2.0.0-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file sleepyconvert-2.0.0.tar.gz.

File metadata

  • Download URL: sleepyconvert-2.0.0.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.5 Darwin/25.5.0

File hashes

Hashes for sleepyconvert-2.0.0.tar.gz
Algorithm Hash digest
SHA256 4ad3d512f9639b80d347bf4efe2c214e6c11e64267460f8fde28aaad373c6ba3
MD5 e992313379f49538064aeffb9e051168
BLAKE2b-256 3721cbe7bab4f0846625c34444d5ce3c07196b620fc552ed6d0e200b9ef078a8

See more details on using hashes here.

File details

Details for the file sleepyconvert-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: sleepyconvert-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.5 Darwin/25.5.0

File hashes

Hashes for sleepyconvert-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa65695b1d607b271aaa0a13c869d6ea43bed50bb35b631979f8c295b73efa2b
MD5 698fd1f5372e1eb5bfa57e7f6709bde8
BLAKE2b-256 a3f946cd47b3f9b5049ec7b05a7e039277730faab854d3f47cbaefd980522ff1

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