8000 GitHub - deep-project/excelparse: Excel数据解析器 / Excel Data Parser
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

deep-project/excelparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Excel数据解析器 / Excel Data Parser

介绍 / Introduction

工具的作用是自动把excel文件解析成结构化的数据

The tool automatically parses Excel file into structured data.

特点 / Features

  • 自动识别表头所在行 / Automatically detects the header row
  • 可获取表格中的 5B98 图片 / Supports extracting images from the sheet
  • 可解析多个sheet页的数据 / Parses data across multiple sheets
  • 埋点多个hooks / Provides multiple hooks for customization

使用 / Usage

import (
    "github.com/deep-project/excelparse"
)

func main(){
  ex := excelparse.New(&excelparse.Options{
		Filepath: "xlsx file path",
	})

	if err = ex.Run(); err != nil {
		return
	}

  for _, sheet := range ex.Sheets {
		for _, row := range sheet.ContentRows {
      .....
		}
	}
}

感谢 / Acknowledgements

About

Excel数据解析器 / Excel Data Parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0