{"id":24603651,"url":"https://github.com/apkawa/xlsx2html","last_synced_at":"2025-05-16T13:02:56.236Z","repository":{"id":46821005,"uuid":"67444677","full_name":"Apkawa/xlsx2html","owner":"Apkawa","description":"A simple export from xlsx format to html tables with keep cell formatting","archived":false,"fork":false,"pushed_at":"2025-01-09T11:36:58.000Z","size":1622,"stargazers_count":58,"open_issues_count":16,"forks_count":39,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T19:52:47.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Apkawa.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}},"created_at":"2016-09-05T19:06:03.000Z","updated_at":"2025-04-21T13:07:42.000Z","dependencies_parsed_at":"2024-02-09T15:41:08.098Z","dependency_job_id":"6382d655-8944-4aae-96ab-0dc56b311bf8","html_url":"https://github.com/Apkawa/xlsx2html","commit_stats":{"total_commits":110,"total_committers":8,"mean_commits":13.75,"dds":"0.15454545454545454","last_synced_commit":"ad88822176b6e842150ef89b70890e6fc45f58d7"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fxlsx2html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fxlsx2html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fxlsx2html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apkawa%2Fxlsx2html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apkawa","download_url":"https://codeload.github.com/Apkawa/xlsx2html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535826,"owners_count":22087398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-24T15:15:29.930Z","updated_at":"2025-05-16T13:02:56.126Z","avatar_url":"https://github.com/Apkawa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPi](https://img.shields.io/pypi/v/xlsx2html.svg)](https://pypi.python.org/pypi/xlsx2html)\n[![Build Status](https://travis-ci.org/Apkawa/xlsx2html.svg?branch=master)](https://travis-ci.org/Apkawa/xlsx2html)\n[![Codecov](https://codecov.io/gh/Apkawa/xlsx2html/branch/master/graph/badge.svg)](https://codecov.io/gh/Apkawa/xlsx2html)\n[![Requirements Status](https://requires.io/github/Apkawa/xlsx2html/requirements.svg?branch=master)](https://requires.io/github/Apkawa/xlsx2html/requirements/?branch=master)\n[![PyUP](https://pyup.io/repos/github/Apkawa/xlsx2html/shield.svg)](https://pyup.io/repos/github/Apkawa/xlsx2html)\n[![Python versions](https://img.shields.io/pypi/pyversions/xlsx2html.svg)]()\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n# xlsx2html\n\nA simple export from xlsx format to html tables with keep cell formatting\n\n\n# Install\n\n```bash\npip install xlsx2html\n```\n\n\n# Usage\nSimple usage\n```python\nfrom xlsx2html import xlsx2html\n\nout_stream = xlsx2html('path/to/example.xlsx')\nout_stream.seek(0)\nprint(out_stream.read())\n\n```\n\nor pass filepath\n```python\nfrom xlsx2html import xlsx2html\n\nxlsx2html('path/to/example.xlsx', 'path/to/output.html')\n```\nor use file like objects\n\n```python\nimport io\nfrom xlsx2html import xlsx2html\n\n# must be binary mode\nxlsx_file = open('path/to/example.xlsx', 'rb')\nout_file = io.StringIO()\nxlsx2html(xlsx_file, out_file, locale='en')\nout_file.seek(0)\nresult_html = out_file.read()\n```\n\nor from shell\n\n```bash\npython -m xlsx2html path/to/example.xlsx path/to/output.html\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapkawa%2Fxlsx2html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapkawa%2Fxlsx2html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapkawa%2Fxlsx2html/lists"}