Skip to main content

converts data files, images and documents to different formats

Project description

sleepyconvert

a quick way to convert file formats.


Welcome to sleepyconvert!

Do you find yourself bookmarking various online converters or having several tools to convert common file types? I did, and it didn't spark joy.

sleepyconvert is a tool that handles this in a minimal syntax.

Quickly convert file formats to and from:

  • data
    • csv
    • parquet
    • json
    • pkl
    • xlsx
  • img
    • TODO: not yet implemented
  • doc
    • TODO: not yet implemented

For some data files, you can optionally compress (gzip) the output.

ℹ️ Note that this tool presumes format by file extension. If you leave out extensions, or give csv data a .json extension for funsies, then you're being silly.


Get Started 🚀


pip install sleepyconvert
pip install --upgrade sleepyconvert

python -m sleepyconvert data data.csv data.parquet --compress
python -m sleepyconvert --help

Usage ⚙


Set a function in your shell environment to run a script like:

alias convert='python -m sleepyconvert'

Presuming you've named said function convert, print the help message:

convert --help
convert data data.csv data.parquet

Technologies 🧰



Contribute 🤝


If you have thoughts on how to make the tool more pragmatic, submit a PR 😊.

To add support for more data/file types:

  1. append extension name to supported_<mode>_formats in sleepyconvert_toolchain.params.py
  2. add detection logic branch to the main function in sleepyconvert_toolchain/commands.py
  3. update this readme

License, Stats, Author 📜


example image tag

PyPI - License PyPI - Version GitHub repo size

See License for the full license text.

This package was authored by Isaac Yep.

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-0.0.2.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

sleepyconvert-0.0.2-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sleepyconvert-0.0.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for sleepyconvert-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9d44a09f4725d182e69e1b28d99283eb4ca1b3a076441a73de2ec67ec35d2099
MD5 d3d6c1b76cc311484ea9e4f70750b2f3
BLAKE2b-256 d7305c8493d9600a8a0a55c3814bf5bdda805a4c82148d93bb6a006bce1380aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sleepyconvert-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for sleepyconvert-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f642e7e0da17db6e7e6deab108883a6762f3a4a10dbddfe99461e4b3654f9251
MD5 28b71ea1307a8a1ac8a6220a4a9ad16f
BLAKE2b-256 baa1fe2b13200884f44bcde271506c28c0fee25c6d4cfc50cdd12c89c045fa7d

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