{"id":37073408,"url":"https://github.com/anthonybench/convert","last_synced_at":"2026-01-14T08:37:01.485Z","repository":{"id":285016956,"uuid":"956801086","full_name":"anthonybench/convert","owner":"anthonybench","description":"A quick way to convert data, document, and image formats.","archived":false,"fork":false,"pushed_at":"2025-04-24T17:16:21.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T15:30:07.228Z","etag":null,"topics":["cli","converter","data","documents","images"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/sleepyconvert/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthonybench.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-28T22:13:30.000Z","updated_at":"2025-04-24T17:16:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3c17dbf-b185-460a-a118-5bfcc0c1ecfd","html_url":"https://github.com/anthonybench/convert","commit_stats":null,"previous_names":["anthonybench/convert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anthonybench/convert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybench%2Fconvert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybench%2Fconvert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybench%2Fconvert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybench%2Fconvert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonybench","download_url":"https://codeload.github.com/anthonybench/convert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybench%2Fconvert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:31:27.429Z","status":"ssl_error","status_checked_at":"2026-01-14T08:31:19.098Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","converter","data","documents","images"],"created_at":"2026-01-14T08:37:00.762Z","updated_at":"2026-01-14T08:37:01.474Z","avatar_url":"https://github.com/anthonybench.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **sleepyconvert**\n*A quick way to convert file formats.*\n\n\u003cbr /\u003e\n\n## **Welcome to sleepyconvert!**\nDo you find yourself bookmarking various online converters or having several tools to convert common file types? I did, and it didn't spark joy.\n\n**`sleepyconvert`** is a tool that handles this in a minimal syntax.\n\nQuickly convert file formats to and from:\n- **data**\n  - `csv`\n  - `parquet`\n  - `json`\n  - `pkl`\n  - `xlsx`\n- **img**\n  - `png`\n  - `jpg`/`jpeg`\n- **doc**\n  - `html`\n  - `pdf`\n  - `md`\n\nFor some data files, you can optionally compress (*gzip*) the output.\n\n\u003e ℹ️ 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.\n\n\u003e ℹ️ Due to how document file formats vary, not all functionality can be preserved from one type to another, and formatting 1-1-ness may vary.\n\n\u003cbr /\u003e\n\n## **Get Started 🚀**\n\n```sh\npip install sleepyconvert\npip install --upgrade sleepyconvert\n\npython -m sleepyconvert --help\npython -m sleepyconvert data data.csv data.parquet --compress\npython -m sleepyconvert img photo.png photo.jpg\npython -m sleepyconvert doc photo.html photo.pdf\n```\n\n\u003cbr /\u003e\n\n## **Usage ⚙**\n\nSet a function in your shell environment to run a script like:\n```sh\nalias convert='python -m sleepyconvert'\n```\n\nPresuming you've named said macro `convert`, print the help message:\n```sh\nconvert --help\nconvert data data.csv data.parquet\nconvert img photo.png photo.jpg\nconvert doc photo.html photo.pdf\n```\n\n\u003cbr /\u003e\n\n## **Technologies 🧰**\n\n  - [Pandas](https://pandas.pydata.org/docs/)\n  - [Typer](https://typer.tiangolo.com/)\n  - [PyArrow](https://arrow.apache.org/docs/python/index.html)\n  - [openpyxl](https://pypi.org/project/openpyxl/)\n  - [weasyprint](https://pypi.org/project/weasyprint/)\n  - [PyMuPDF](https://pymupdf.readthedocs.io/en/latest/)\n  - [Markdown](PyPIhttps://pypi.org/project/Markdown/)\n  - [html2text](https://pypi.org/project/html2text/)\n\n\u003cbr /\u003e\n\n## **Contribute 🤝**\n\nIf you have thoughts on how to make the tool more pragmatic, submit a PR 😊.\n\nTo add support for more data/file types:\n1. append extension name to `supported_\u003cmode\u003e_formats` in `sleepyconvert_toolchain.params.py`\n2. add detection logic branch to the `main` function in `sleepyconvert_toolchain/commands.py`\n3. update this readme\n\n\u003cbr /\u003e\n\n## **License, Stats, Author 📜**\n\n\u003cimg align=\"right\" alt=\"example image tag\" src=\"https://i.imgur.com/ZHnNGeO.png\" width=\"200\" /\u003e\n\n\u003c!-- badge cluster --\u003e\n![PyPI - License](https://img.shields.io/pypi/l/sleepyconvert?style=plastic)\n![PyPI - Version](https://img.shields.io/pypi/v/sleepyconvert)\n![GitHub repo size](https://img.shields.io/github/repo-size/anthonybench/convert)\n\u003c!-- / --\u003e\n\nSee [License](LICENSE) for the full license text.\n\nThis package was authored by *Isaac Yep*. \\\n👉 [GitHub](https://github.com/anthonybench/convert) \\\n👉 [PyPI](https://pypi.org/project/sleepyconvert/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonybench%2Fconvert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonybench%2Fconvert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonybench%2Fconvert/lists"}