Skip to main content

Fast, streaming parser for OpenDocument Spreadsheet (.ods) files

Project description

fast-ods

A fast, streaming parser for OpenDocument Spreadsheet (.ods) file.

Designed for efficiency, performance and low memory usage, making it an ideal choice for large files and ETL workflows.

Requires Python version 3.10 and above

Features

  • ⚡ Streaming parsing (suitable for handling large files with constant memory usage)
  • 📈 Supports repeated rows and columns (.ods specific)
  • 🧩 Simple, minimal API
  • 🌐 Zero external dependencies
  • 🔧 Flexible configuration settings

Scope

This library focuses on fast data extraction, not full ODS spec compliance. It itentionally does not handle features such as:

  • Styling
  • Formulas
  • Metadata

Installation

Install with the Python default package manager:

pip install fast-ods

Usage

from fast_ods import ODSParser

parser = ODSParser()

for row in parser.parse("file.ods"):
    print(row)

Options

from fast_ods import ODSParser, ODSParserOptions

options = ODSParserOptions(
    table=0,                # Choose a table by index or name
    convert_values=False,   # Convert the cell values (float, date, etc.)
    skip_n_rows=None,       # Skip first N rows
    take_n_rows=None,       # Limit number of rows
    verify_zip=True         # Emits a warning if the .zip archive is corrupted 
)

parser = ODSParser(options)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fast_ods-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fast_ods-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file fast_ods-0.1.0.tar.gz.

File metadata

  • Download URL: fast_ods-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fast_ods-0.1.0.tar.gz
Algorithm Hash digest
SHA256 56b81d0e7313b67f683f910fdb4671d8f488d2c0b97de6f552421a063a8c2ac4
MD5 bcd02206a24ab7605f3f09447eb88a15
BLAKE2b-256 b7ffa82103458a7ea7d1eed0b47fe228c9d052ff31bf18ff611e36b7cac5d1d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_ods-0.1.0.tar.gz:

Publisher: publish.yml on atomiclake/fast-ods

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_ods-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fast_ods-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fast_ods-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53fd8993cd522eef63ced25c6ad4b0afd44375dff2123ae11181d49c2d4f5960
MD5 53558d115234114ab8713894c24e13fe
BLAKE2b-256 da394226c60867fc1e6bbbc39cd57e5a1a75697448daed68f22f4b602a7e2de5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_ods-0.1.0-py3-none-any.whl:

Publisher: publish.yml on atomiclake/fast-ods

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page