{"id":13420507,"url":"https://github.com/jmcnamara/libxlsxwriter","last_synced_at":"2025-05-14T04:07:41.276Z","repository":{"id":17763003,"uuid":"20620986","full_name":"jmcnamara/libxlsxwriter","owner":"jmcnamara","description":"A C library for creating Excel XLSX files.","archived":false,"fork":false,"pushed_at":"2025-03-29T09:43:06.000Z","size":25687,"stargazers_count":1613,"open_issues_count":7,"forks_count":354,"subscribers_count":60,"default_branch":"main","last_synced_at":"2025-05-11T02:19:42.515Z","etag":null,"topics":["c","libxlsxwriter","spreadsheet","xlsx","xlsx-files","xlsxwriter"],"latest_commit_sha":null,"homepage":"https://libxlsxwriter.github.io","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmcnamara.png","metadata":{"files":{"readme":"Readme.md","changelog":"Changes.txt","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"License.txt","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},"funding":{"custom":["paypal.me/xlsxwriter"]}},"created_at":"2014-06-08T16:36:03.000Z","updated_at":"2025-05-10T15:28:42.000Z","dependencies_parsed_at":"2023-12-13T00:30:13.688Z","dependency_job_id":"75d23cbe-844f-4997-9dbe-50e7d1b3e2cb","html_url":"https://github.com/jmcnamara/libxlsxwriter","commit_stats":{"total_commits":966,"total_committers":35,"mean_commits":27.6,"dds":0.07763975155279501,"last_synced_commit":"14f13513cb140092a913a91fce719ff7dc36e332"},"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcnamara%2Flibxlsxwriter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcnamara%2Flibxlsxwriter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcnamara%2Flibxlsxwriter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcnamara%2Flibxlsxwriter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmcnamara","download_url":"https://codeload.github.com/jmcnamara/libxlsxwriter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069220,"owners_count":22009513,"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":["c","libxlsxwriter","spreadsheet","xlsx","xlsx-files","xlsxwriter"],"created_at":"2024-07-30T22:01:35.123Z","updated_at":"2025-05-14T04:07:41.234Z","avatar_url":"https://github.com/jmcnamara.png","language":"C","funding_links":["paypal.me/xlsxwriter"],"categories":["TODO scan for Android support in followings","Office Open XML","C","Interoperability"],"sub_categories":["Build with Zig"],"readme":"# libxlsxwriter\n\n\nLibxlsxwriter: A C library for creating Excel XLSX files.\n\n\n![demo image](http://libxlsxwriter.github.io/demo.png)\n\n\n## The libxlsxwriter library\n\nLibxlsxwriter is a C library that can be used to write text, numbers, formulas\nand hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.\n\nIt supports features such as:\n\n- 100% compatible Excel XLSX files.\n- Full Excel formatting.\n- Merged cells.\n- Defined names.\n- Autofilters.\n- Charts.\n- Data validation and dropdown lists.\n- Conditional formatting.\n- Worksheet PNG/JPEG/GIF images.\n- Cell comments.\n- Support for adding Macros.\n- Memory optimization mode for writing large files.\n- Source code available on [GitHub](https://github.com/jmcnamara/libxlsxwriter).\n- FreeBSD license.\n- ANSI C.\n- Works with GCC, Clang, Xcode, MSVC 2015, ICC, TCC, MinGW, MingGW-w64/32.\n- Works on Linux, FreeBSD, OpenBSD, OS X, iOS and Windows. Also works on MSYS/MSYS2 and Cygwin.\n- Compiles for 32 and 64 bit.\n- Compiles and works on big and little endian systems.\n- The only dependency is on `zlib`.\n\nHere is an example that was used to create the spreadsheet shown above:\n\n\n```C\n#include \"xlsxwriter.h\"\n\nint main() {\n\n    /* Create a new workbook and add a worksheet. */\n    lxw_workbook  *workbook  = workbook_new(\"demo.xlsx\");\n    lxw_worksheet *worksheet = workbook_add_worksheet(workbook, NULL);\n\n    /* Add a format. */\n    lxw_format *format = workbook_add_format(workbook);\n\n    /* Set the bold property for the format */\n    format_set_bold(format);\n\n    /* Change the column width for clarity. */\n    worksheet_set_column(worksheet, 0, 0, 20, NULL);\n\n    /* Write some simple text. */\n    worksheet_write_string(worksheet, 0, 0, \"Hello\", NULL);\n\n    /* Text with formatting. */\n    worksheet_write_string(worksheet, 1, 0, \"World\", format);\n\n    /* Write some numbers. */\n    worksheet_write_number(worksheet, 2, 0, 123,     NULL);\n    worksheet_write_number(worksheet, 3, 0, 123.456, NULL);\n\n    /* Insert an image. */\n    worksheet_insert_image(worksheet, 1, 2, \"logo.png\");\n\n    workbook_close(workbook);\n\n    return 0;\n}\n\n```\n\n\nSee the [full documentation](http://libxlsxwriter.github.io) for the getting\nstarted guide, a tutorial, the main API documentation and examples.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmcnamara%2Flibxlsxwriter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmcnamara%2Flibxlsxwriter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmcnamara%2Flibxlsxwriter/lists"}