https://github.com/ontodev/excel
A thin Clojure wrapper around a small part of Apache POI for reading .xlsx files.
https://github.com/ontodev/excel
Last synced: 8 months ago
JSON representation
A thin Clojure wrapper around a small part of Apache POI for reading .xlsx files.
- Host: GitHub
- URL: https://github.com/ontodev/excel
- Owner: ontodev
- Created: 2012-12-08T01:18:51.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-03-16T22:54:33.000Z (about 4 years ago)
- Last Synced: 2025-10-22T01:56:36.347Z (8 months ago)
- Language: Clojure
- Size: 139 KB
- Stars: 9
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ontodev.excel
A thin [Clojure](http://clojure.org) wrapper around a small part of [Apache POI](http://poi.apache.org) for reading `.xlsx` files.
For a more complete implementation, see the `incanter-excel` module from the [Incanter](https://github.com/liebke/incanter) project.
## Usage
Add `ontodev/excel` to your [Leiningen](http://leiningen.org/) project dependencies:
[ontodev/excel "0.2.5"]
Then `require` the namespace:
(ns your.project
(:require [ontodev.excel :as xls]))
Use it to load a workbook and read sheets:
(let [workbook (xls/load-workbook "test.xlsx")
sheet (xls/read-sheet workbook "Sheet1")]
(println "Sheet1:" (count sheet) (first sheet)))
## License
Copyright © 2014, James A. Overton
Distributed under the Simplified BSD License: [http://opensource.org/licenses/BSD-2-Clause]()