Skip to content

Releases: Hong1008/kexcel

0.1.0: Initial Release - KExcel

Pre-release

Choose a tag to compare

@Hong1008 Hong1008 released this 06 May 17:29

KExcel

Kotlin DSL for Excel generation — engine-agnostic, streaming-first, type-safe.

Features

  • Kotlin DSL — Intuitive builder structure: excel { sheet { row { cell() } } }
  • Engine Abstraction — Auto-detection and seamless switching between Apache POI and FastExcel
  • DTO BindingdataSheet("Users", users) { column("Name") { it.name } }
  • Style Inheritance — Hierarchical style inheritance: Workbook → Sheet → Row → Cell
  • StreamingSequence-based large data processing (100K+ rows)
  • Native Extension — Access engine-specific features via nativeSheet<SXSSFSheet> { ... }
  • Thread Safety — Concurrent write detection and Fail-Fast mechanism
repositories {
    maven { url = uri("https://jitpack.io") }
}

dependencies {
    implementation("com.github.Hong1008.kexcel:kexcel-dsl:0.1.0-SNAPSHOT")
    
    // Choose your engine:
    implementation("org.apache.poi:poi-ooxml:5.5.1")       // Apache POI
    implementation("org.dhatim:fastexcel:0.20.0")           // FastExcel
}