{"id":15035606,"url":"https://github.com/liaochong/myexcel","last_synced_at":"2025-05-13T23:10:49.381Z","repository":{"id":40444527,"uuid":"113136737","full_name":"liaochong/myexcel","owner":"liaochong","description":"MyExcel, a new way to operate excel!","archived":false,"fork":false,"pushed_at":"2024-11-14T09:23:20.000Z","size":4355,"stargazers_count":1667,"open_issues_count":31,"forks_count":324,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-05-13T09:56:23.480Z","etag":null,"topics":["csv","excel","poi","xls","xlsx"],"latest_commit_sha":null,"homepage":"https://github.com/liaochong/myexcel/wiki","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liaochong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-05T05:25:20.000Z","updated_at":"2025-04-27T05:07:54.000Z","dependencies_parsed_at":"2023-12-29T07:21:41.817Z","dependency_job_id":"a3700068-0710-4422-8378-ca4598a6e4e4","html_url":"https://github.com/liaochong/myexcel","commit_stats":{"total_commits":1337,"total_committers":18,"mean_commits":74.27777777777777,"dds":0.1346297681376215,"last_synced_commit":"90fb7a866f8dd3bc445eacb178aa1f841c23982f"},"previous_names":["liaochong/html2excel"],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaochong%2Fmyexcel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaochong%2Fmyexcel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaochong%2Fmyexcel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaochong%2Fmyexcel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liaochong","download_url":"https://codeload.github.com/liaochong/myexcel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254042330,"owners_count":22004901,"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":["csv","excel","poi","xls","xlsx"],"created_at":"2024-09-24T20:29:01.958Z","updated_at":"2025-05-13T23:10:44.365Z","avatar_url":"https://github.com/liaochong.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/8674986/154786667-599f1a18-707f-4a08-857f-de97924401ea.png\" width=\"300\"\u003e\n\u003c/p\u003e\n\n# MyExcel--Excel操作新方式\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.liaochong/myexcel/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.liaochong/myexcel)\n[![License](http://img.shields.io/:license-apache-brightgreen.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/liaochong/myexcel.svg)](http://isitmaintained.com/project/liaochong/myexcel \"Average time to resolve an issue\")\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/liaochong/myexcel.svg)](http://isitmaintained.com/project/liaochong/myexcel \"Percentage of issues still open\")\n\u003cimg src=\"https://img.shields.io/badge/JDK-1.8+-green.svg\" \u003e\u003c/img\u003e\n[![GitHub Contributors](https://img.shields.io/github/contributors/liaochong/myexcel)](https://github.com/liaochong/myexcel/graphs/contributors)\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=liaochong/myexcel\u0026type=Date)](https://star-history.com/#liaochong/myexcel\u0026Date)\n\n\n\u003e 使用示例参考请移步：[示例](https://github.com/liaochong/myexcel/tree/master/example/src/main/java/com/github/liaochong/example/controller)\n\n简介 | Brief introduction\n------------------------\nMyExcel，是一个集导入、导出、加密Excel等多项功能的工具包。\n\n优点 | Advantages\n-----------------\n- **可生成任意复杂表格**：本工具使用迭代单元格方式进行excel绘制，可生成任意复杂度excel，自适应宽度、高度；\n- **零学习成本**：使用html作为模板，学习成本几乎为零；\n- **支持常用背景色、边框、字体等样式设置**：具体参见文档-样式支持部分；\n- **支持.xls、.xlsx、.csv**：支持生成.xls、.xlsx后缀的Excel以及.csv文件；\n- **支持公式导出**：支持Excel模板中设置公式，降低服务端的计算量；\n- **支持低内存SXSSF模式**：支持低内存的SXSSF模式，可利用极低的内存生成.xlsx；\n- **支持生产者消费者模式导出**：支持生产者消费者模式导出，无需一次性获取所有数据，分批获取数据配合SXSSF模式实现真正意义上海量数据导出；\n- **支持多种模板引擎**：已内置Freemarker、Groovy、Beetl、Thymeleaf等常用模板引擎Excel构建器（详情参见文档[Getting started](https://github.com/liaochong/MyExcel/wiki/Getting-started)），推荐使用Beetl模板引擎（[Beetl文档](http://ibeetl.com/guide/#beetl)）；\n- **提供默认Excel构建器，直接输出简单Excel**：无需编写任何html，已内置默认模板，可直接根据POJO数据列表输出；\n- **支持一次生成多sheet**：以table作为sheet单元，支持一份excel文档中多sheet导出；\n- **支持Excel容量设定**：支持设定Excel容量，到达容量后自动新建Excel，可构建成zip压缩包导出；\n\n文档 | Document\n--------------\nhttps://github.com/liaochong/myexcel/wiki\n\n国内用户建议关注作者头条号访问文档，避免github访问不通畅\n\n![å¿æ¬å¨å¨](https://github.com/liaochong/myexcel/assets/8674986/247a4e93-7ff9-488b-a902-893b6aa2fcd5)\n\n或者直接访问文档：[国内文档地址](https://m.toutiao.com/article_series/7303094494256235008?app=news_article\u0026group_id=7303068015670264320\u0026pseries_style_type=2\u0026pseries_type=0\u0026share_token=150DF85F-4B6F-493E-B0CF-39F9477501F7\u0026tt_from=copy_link\u0026utm_campaign=client_share\u0026utm_medium=toutiao_ios\u0026utm_source=copy_link)\n\n**升级4.x版本注意事项**\n\n 因POI 4.x与5.x版本存在部分不兼容情况，升级MyExcel为4.x（POI 5.x）时，需要注意以下事项：\n\n1. POI版本必须为5.x\n2. 排除掉poi-ooxml-schemas依赖（POI 5.x以poi-ooxml-full作为代替）\n3. commons-io版本为2.11.0\n\n**Velocity模板引擎注意事项**\n\n自MyExcel 4.0.2版本开始，Velocity依赖修改如下：\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.apache.velocity\u003c/groupId\u003e\n    \u003cartifactId\u003evelocity-engine-core\u003c/artifactId\u003e\n    \u003cversion\u003e2.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n如仍然使用旧依赖，可能会有编码错乱问题。\n\n联系以及问题反馈 | Contact me\n--------------------------\n* Email：liaochong8950@163.com\n* QQ：1131988645\n* Issue：[issues](https://github.com/liaochong/myexcel/issues)\n\n\u003e 如本项目对您有所帮助，烦请点击上方star或者在下方扫码支付任意金额以鼓励作者更好地开发，十分感谢您的关注！\n\n\u003cp\u003e\n    \u003cimg width=\"320\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8674986/154786358-8e6c0d45-4a40-45f0-a7ad-6041ada3882e.JPG\"\u003e\n\u003c/p\u003e\n\u003cp\u003e\n    \u003cimg width=\"320\" margin-left alt=\"image\" src=\"https://user-images.githubusercontent.com/8674986/154786504-23538aa4-6ba8-4a4f-a8bd-aed50763d873.JPG\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaochong%2Fmyexcel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliaochong%2Fmyexcel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaochong%2Fmyexcel/lists"}