symmetryinvestments / xlsxd

Licence: BSD-3-Clause license
A thin wrapper around libxlsx to write excel spreadsheets

Programming Languages

c
50402 projects - #5 most used programming language
d
599 projects
assembly
5116 projects
Ada
118 projects
python
139335 projects - #7 most used programming language
pascal
1382 projects

Projects that are alternatives of or similar to xlsxd

Php Ext Xlswriter
🚀 PHP Extension for creating and reader XLSX files.
Stars: ✭ 1,734 (+10737.5%)
Mutual labels:  excel, libxlsxwriter
goxlsxwriter
Golang bindings for libxlsxwriter for writing XLSX files
Stars: ✭ 18 (+12.5%)
Mutual labels:  excel, libxlsxwriter
excel-requests
Excel HTTP Requests for Humans
Stars: ✭ 55 (+243.75%)
Mutual labels:  excel
Excelerator
This is an Excel Addin for Windows that reads and writes data to Snowflake
Stars: ✭ 53 (+231.25%)
Mutual labels:  excel
customer-tracker
R data products: Reports, Presentations, Apps, and API's
Stars: ✭ 19 (+18.75%)
Mutual labels:  excel
spreadcheetah
SpreadCheetah is a high-performance .NET library for generating spreadsheet (Microsoft Excel XLSX) files.
Stars: ✭ 107 (+568.75%)
Mutual labels:  excel
Excel-to-JSON
Excel add-in converting excel to json
Stars: ✭ 15 (-6.25%)
Mutual labels:  excel
php-excel
Old faster PHPExcel
Stars: ✭ 25 (+56.25%)
Mutual labels:  excel
office-addin-react
To help you learn to use Office.js and React build an Excel add-in
Stars: ✭ 46 (+187.5%)
Mutual labels:  excel
ByteScout-SDK-SourceCode
ALL source code samples for ByteScout SDKs and Web API API products.
Stars: ✭ 24 (+50%)
Mutual labels:  excel
laravel-xlswriter
an excel export/import tool for laravel based on php-xlswriter
Stars: ✭ 54 (+237.5%)
Mutual labels:  excel
qsv
CSVs sliced, diced & analyzed.
Stars: ✭ 438 (+2637.5%)
Mutual labels:  excel
database-js
Common Database Interface for Node
Stars: ✭ 58 (+262.5%)
Mutual labels:  excel
sense-export
Just a simple button to export data in your Qlik Sense applications.
Stars: ✭ 28 (+75%)
Mutual labels:  excel
django-funky-sheets
Django implementation of Handsontable spreadsheets for CRUD actions.
Stars: ✭ 91 (+468.75%)
Mutual labels:  excel
web-pivot-table
A feature-rich JS pivot grid library for creating interactive reports. Integrates with any front-end technology
Stars: ✭ 35 (+118.75%)
Mutual labels:  excel
freemarker-cli
Apache FreeMarker CLI (JDK)
Stars: ✭ 35 (+118.75%)
Mutual labels:  excel
datapackage-m
Power Query M functions for working with Tabular Data Packages (Frictionless Data) in Power BI and Excel
Stars: ✭ 26 (+62.5%)
Mutual labels:  excel
json2xls
{"generate excel by json data": "根据json数据生成Excel表格"}
Stars: ✭ 30 (+87.5%)
Mutual labels:  excel
luban
你的最佳游戏配置解决方案 {excel, csv, xls, xlsx, json, bson, xml, yaml, lua, unity scriptableobject} => {json, bson, xml, lua, yaml, protobuf(pb), msgpack, flatbuffers, erlang, custom template} data + {c++, java, c#, go(golang), lua, javascript(js), typescript(ts), erlang, rust, gdscript, protobuf schema, flatbuffers schema, custom template} code。
Stars: ✭ 1,660 (+10275%)
Mutual labels:  excel

libxlsxd

Build Status

A small wrapper in the D programming language around the C library libxlsxwriter, which writes Excel spreadsheets.

Example

import libxlsxd;

void main() {
    /* Create a new workbook and add a worksheet.
	Workbook is RefCounted and will write the file
	when it is released.
	*/
    auto workbook  = newWorkbook("demo.xlsx");
    auto worksheet = workbook.addWorksheet(null);

    /* Add a format. */
    auto format = workbook.addFormat();

    /* Set the bold property for the format */
    format.setBold();

    /* Change the column width for clarity. */
    worksheet.setColumn(0, 0, 20);

    /* Write some simple text. */
    worksheet.writeString(0, 0, "Hello");

    /* Text with formatting. */
    worksheet.writeString(1, 0, "World", format);

    /* Write some numbers. */
    worksheet.writeNumber(2, 0, 123);
    worksheet.writeNumber(3, 0, 123.456);

	// for the lazy
    worksheet.write(4, 0, 13.37);
	// for the lazy
    worksheet.write(4, 1, true);

    worksheet.write(4, 2, "Hello 1337");
	worksheet.setColumn(4, 2, 20.0);
}

API

Consult https://libxlsxwriter.github.io/index.html for the api documentation.

The D code:

Workbook wb;
Format f = wb.addFormat();

is basically equivalent to this C code:

lxw_workbook  *workbook
lxw_format *f = workbook_add_format(workbook);

So to find the documentation for the method "methodName" for the data structure "Datastructure", search for a C function "toLower(Datastructure)_toSnakeCase(methodName)". In this example "datastructure_method_name".

Complementary Projects

xlsxd can only write xlsx files, but there are more things to do

  • xlsx can read xlsx files
  • excel-d can create excel plugins

Updating libxlsxwriter

libxlsxwriter is integrated as a squashed git subtree. The command:

git subtree pull --prefix=libxlsxwriter --squash https://github.com/jmcnamara/libxlsxwriter master

will update that subtree to the current master of the libxlsxwriter repo. Then remove source/libxlsxd/xlsxwrap.d and then run

make source/libxlsxd/xlsxwrap.d

About Kaleidic Associates

We are a boutique consultancy that advises a small number of hedge fund clients. We are not accepting new clients currently, but if you are interested in working either remotely or locally in London or Hong Kong, and if you are a talented hacker with a moral compass who aspires to excellence then feel free to drop me a line: laeeth at kaleidic.io

We work with our partner Symmetry Investments, and some background on the firm can be found here:

http://symmetryinvestments.com/about-us/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].