MCPcopy Index your code
hub / github.com/apache/fesod

github.com/apache/fesod @2.0.2-incubating

repository ↗ · DeepWiki ↗ · release 2.0.2-incubating ↗ · + Follow
3,079 symbols 12,586 edges 602 files 897 documented · 29% updated 4d ago2.0.2-incubating · 2026-05-30★ 6,085107 open issues
README

fesod

Readme: English | 中文

GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub License Maven Central Version Document DeepWiki

Home: fesod.apache.org
Email: Mail to dev-subscribe@fesod.apache.org to subscribe mailing lists

Introduction

Apache Fesod (Incubating) is a high-performance and memory-efficient Java library for reading and writing spreadsheet files, designed to simplify development and ensure reliability.

Apache Fesod (Incubating) can provide developers and enterprises with great freedom and flexibility. We plan to introduce more new features in the future to continually enhance user experience and tool usability. Apache Fesod ( Incubating) is committed to being your best choice for handling spreadsheet files.

The name fesod (pronounced /ˈfɛsɒd/), an acronym for "fast easy spreadsheet and other documents," expresses the project's origin, background, and vision.

Features

  • High-performance Reading and Writing: Apache Fesod (Incubating) focuses on performance optimization, capable of efficiently handling large-scale spreadsheet data. Compared to some traditional spreadsheet processing libraries, it can significantly reduce memory consumption.
  • Simplicity and Ease of Use: The library offers a simple and intuitive API, allowing developers to easily integrate it into projects, whether for simple spreadsheet operations or complex data processing.
  • Stream Operations: Apache Fesod (Incubating) supports stream reading, minimizing the problem of loading large amounts of data at once. This design is especially important when dealing with hundreds of thousands or even millions of rows of data.

Installation

Apache Fesod (Incubating) requires Java 1.8 or later. Using the latest LTS release of Java is encouraged. We strongly recommend using the latest version of Apache Fesod (Incubating), as performance optimizations, bug fixes, and new features in the latest version will enhance your experience.

Currently, Apache Fesod (Incubating) uses POI as its underlying package. If your project already includes POI-related components, you will need to manually exclude POI-related jar files.

Maven

If you are using Maven for project building, add the following configuration in the pom.xml file:


<dependency>
    <groupId>org.apache.fesod</groupId>
    <artifactId>fesod-sheet</artifactId>
    <version>version</version>
</dependency>

Gradle

If you are using Gradle for project building, add the following configuration in the build.gradle file:

dependencies {
    implementation 'org.apache.fesod:fesod-sheet:version'
}

QuickStart

Read

Below is an example of reading a spreadsheet document:

// Implement the ReadListener interface to set up operations for reading data
public class DemoDataListener implements ReadListener<DemoData> {

    @Override
    public void invoke(DemoData data, AnalysisContext context) {
        System.out.println("Parsed a data entry" + JSON.toJSONString(data));
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext context) {
        System.out.println("All data parsed!");
    }
}

public static void main(String[] args) {
    String fileName = "demo.xlsx";
    // Read spreadsheet file
    FesodSheet.read(fileName, DemoData.class, new DemoDataListener()).sheet().doRead();
}

Write

Below is a simple example of creating a spreadsheet document:

// Sample data class
public class DemoData {

    @ExcelProperty("String Title")
    private String string;

    @ExcelProperty("Date Title")
    private Date date;

    @ExcelProperty("Number Title")
    private Double doubleData;

    @ExcelIgnore
    private String ignore;
}

// Prepare data to write
private static List<DemoData> data() {
    List<DemoData> list = new ArrayList<>();
    for (int i = 0; i < 10; i++) {
        DemoData data = new DemoData();
        data.setString("String" + i);
        data.setDate(new Date());
        data.setDoubleData(0.56);
        list.add(data);
    }
    return list;
}

public static void main(String[] args) {
    String fileName = "demo.xlsx";
    // Create a "Template" sheet and write data
    FesodSheet.write(fileName, DemoData.class).sheet("Template").doWrite(data());
}

Community

Contributors

Contributors are welcomed to join the Apache Fesod (Incubating). Please check Contributing Guide about how to contribute to this project.

Thank you to all the people who already contributed to the Apache Fesod (Incubating) !

Note: Showing the first 100 contributors only due to GitHub image size limitations

Subscribe Mailing Lists

Mail List is the most recognized form of communication in the Apache community. Contact us through the following mailing list.

Name Mailing list
dev@fesod.apache.org SubscribeUnsubscribe

Star History

Star History Chart

License

Apache Fesod (Incubating) project is licensed under the Apache License 2.0.

Extension points exported contracts — how you extend this code

ReadCache (Interface)
Read cache [6 implementers]
fesod-sheet/src/main/java/org/apache/fesod/sheet/cache/ReadCache.java
ExcelReadExecutor (Interface)
Excel file Executor [8 implementers]
fesod-sheet/src/main/java/org/apache/fesod/sheet/analysis/ExcelReadExecutor.java
IgnorableXlsRecordHandler (Interface)
Need to ignore the current handler without reading the current sheet. [18 implementers]
fesod-sheet/src/main/java/org/apache/fesod/sheet/analysis/v03/IgnorableXlsRecordHandler.java
SheetWriteHandler (Interface)
intercepts handle sheet creation [8 implementers]
fesod-sheet/src/main/java/org/apache/fesod/sheet/write/handler/SheetWriteHandler.java
RowWriteHandler (Interface)
intercepts handle row creation [10 implementers]
fesod-sheet/src/main/java/org/apache/fesod/sheet/write/handler/RowWriteHandler.java

Core symbols most depended-on inside this repo

get
called by 346
fesod-sheet/src/main/java/org/apache/fesod/sheet/cache/ReadCache.java
add
called by 324
fesod-sheet/src/main/java/org/apache/fesod/sheet/write/executor/ExcelWriteAddExecutor.java
sheet
called by 269
fesod-sheet/src/main/java/org/apache/fesod/sheet/read/builder/ExcelReaderBuilder.java
getCellStyle
called by 236
fesod-sheet/src/main/java/org/apache/fesod/sheet/metadata/csv/CsvCell.java
write
called by 195
fesod-sheet/src/main/java/org/apache/fesod/sheet/FesodSheet.java
put
called by 177
fesod-sheet/src/main/java/org/apache/fesod/sheet/cache/ReadCache.java
size
called by 174
fesod-sheet/src/main/java/org/apache/fesod/sheet/write/metadata/RowData.java
read
called by 145
fesod-sheet/src/main/java/org/apache/fesod/sheet/FesodSheet.java

Shape

Method 2,444
Class 568
Interface 34
Enum 24
Function 9

Languages

Java100%
TypeScript1%

Modules by API surface

fesod-sheet/src/main/java/org/apache/fesod/sheet/metadata/csv/CsvSheet.java122 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/metadata/csv/CsvWorkbook.java60 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/metadata/csv/CsvCellStyle.java55 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/metadata/format/DataFormatter.java39 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/metadata/csv/CsvCell.java34 symbols
fesod-examples/fesod-sheet-examples/src/test/java/org/apache/fesod/sheet/demo/write/WriteTest.java31 symbols
fesod-sheet/src/test/java/org/apache/fesod/sheet/excludeorinclude/ExcludeOrIncludeDataTest.java27 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/context/WriteContextImpl.java27 symbols
fesod-sheet/src/test/java/org/apache/fesod/sheet/FesodSheetTest.java26 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/write/metadata/holder/AbstractWriteHolder.java26 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/metadata/csv/CsvRow.java25 symbols
fesod-sheet/src/main/java/org/apache/fesod/sheet/read/builder/ExcelReaderBuilder.java24 symbols

Dependencies from manifests, versioned

ch.qos.logback:logback-classic
com.alibaba.fastjson2:fastjson2
com.code-intelligence:jazzer-junit
org.apache.commons:commons-collections4
org.apache.commons:commons-csv
org.apache.commons:commons-lang3
org.apache.fesod:fesod-common
org.apache.fesod:fesod-shaded
org.apache.fesod:fesod-sheet
org.apache.poi:poi-ooxml

For agents

$ claude mcp add fesod \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact