Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennytm/ods2md
Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables.
https://github.com/kennytm/ods2md
libreoffice markdown
Last synced: 3 months ago
JSON representation
Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables.
- Host: GitHub
- URL: https://github.com/kennytm/ods2md
- Owner: kennytm
- Created: 2015-10-20T06:52:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-08T15:00:27.000Z (about 1 year ago)
- Last Synced: 2024-08-03T18:22:04.337Z (6 months ago)
- Topics: libreoffice, markdown
- Language: Python
- Size: 73.2 KB
- Stars: 53
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ods2md
======[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.org/kennytm/ods2md.svg?branch=master)](https://travis-ci.org/kennytm/ods2md)Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables
![Sample output](sample.png)
Install
-------1. Get Python 3.
2. (Optional) Create a virtual environment.
```sh
python3 -m venv env
. env/bin/activate
```3. Install `ezodf` for parsing *.ods files
```sh
pip3 install -r requirements.txt
```Usage
-----```sh
./ods2md.py input_file.ods > output_file.md
```Limitations
-----------* This program disregards all formats. Currencies and percentages will be displayed as plain numbers.
* Merged cells are not supported, the content will be shown at the first cell (this is actually a limitation of GFM table)