Generate a json file from an OpenDocument Format .ods file
Project description
Generate a json file from an OpenDocument Format .ods file.
When used as a script, odsparsator parses an .ods file and generates a json file using the odfdo library.
When used as a library, odsparsator parses an .ods file and returns a python structure.
The resulting data follow the format of the reverse odsgenerator.py script.
installation
$ pip install odsparsator
usage
odsparsator [-h] [--version] [options] input_file output_file
arguments
input_file: input file, a .ods file.
output_file: output file, json file generated from input.
Use odsparsator --help for more details about options and look at examples in the tests folder.
from python code
import odsparsator
content = odsparsator.ods_to_python("sample1.ods")
documentation
Doc is coming.
And see also odsgenerator.
license
This project is licensed under the MIT License (see the LICENSE file for details).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for odsparsator-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f4d4b81c92ef8c1be71fc7f22a0e5aeb0b8efab3ee22807ab041419168c10d2 |
|
MD5 | 049f91de451f6df23d7a690ae4f80b06 |
|
BLAKE2b-256 | 73977d541f1dede1001d264205e6389a9142ced1f9ab2e6787f60c986cc8c33f |