Paweł Dąbrowski d84270bfa7
Some checks failed
Elixir CI / build (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
version 0.7.0
2024-07-29 17:37:07 +02:00
2020-10-20 18:27:19 +02:00
2024-07-29 17:29:55 +02:00
2024-07-29 17:29:55 +02:00
2019-04-23 13:05:28 +02:00
2024-07-29 16:52:20 +02:00
2019-04-11 23:39:59 +02:00
2024-07-29 16:52:20 +02:00
2020-10-20 18:27:19 +02:00
2024-07-29 16:52:20 +02:00
2024-07-29 16:52:20 +02:00
2019-04-11 21:43:27 +00:00
2024-07-29 17:37:07 +02:00
2024-07-29 17:29:55 +02:00
2020-10-20 18:33:35 +02:00

Xler

Xler uses the Calamine Rust library to get contents of Excel files.

Calamine supports:

  • excel (xls, xlsx, xlsm, xlsb, xla, xlam)
  • opendocument spreadsheets (ods)

Installation

If available in Hex, the package can be installed by adding xler to your list of dependencies in mix.exs:

def deps do
  [
    {:xler, "~> 0.6.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/xler.

Worksheets

To get the worksheets of a file you use:

Xler.worksheets("filename.xls")

and it will return as a tuple:

{:ok, ["Sheet 1"]}

Parse

To get the data of a worksheet you use:

Xler.parse("filename.xls", "Sheet 1")

and it will return as a tuple:

{:ok, [["Date", "Time"]]}
Description
No description provided
Readme 182 KiB
Languages
Elixir 78.8%
Rust 12%
Nix 9.2%