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
csvparquetjsonpklxlsx
- 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
.jsonextension 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:
- append extension name to
supported_<mode>_formatsinsleepyconvert_toolchain.params.py - add detection logic branch to the
mainfunction insleepyconvert_toolchain/commands.py - update this readme
License, Stats, Author 📜
See License for the full license text.
This package was authored by Isaac Yep.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sleepyconvert-0.0.1.tar.gz.
File metadata
- Download URL: sleepyconvert-0.0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64942a58843ada82831210c3c07ec795c901f6f961d617d5a239e3bc7024b3a0
|
|
| MD5 |
f415ef2f5423a389b3368065bd60fd9c
|
|
| BLAKE2b-256 |
f50d42300949d93e443d3949d19cbea15ec412cf25d74556813a803140b6daf3
|
File details
Details for the file sleepyconvert-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sleepyconvert-0.0.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c04be07c4f594fcdbbf7269e6efd5c7956fa844f1a02711ab6e418f67d3a916
|
|
| MD5 |
1847b6d1993f5f206d67b50405e59bb4
|
|
| BLAKE2b-256 |
5beb5e6c826d03256903718cd2724b07ce614ec28bc598e5ee0d9eaca796215e
|