Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

odoc - OpenDocument Spreadsheet Generator

A lightweight spreadsheet generator, which targets LibreOffice.

Aims to provide an easy and painless way to create spreadsheets, without having to dive into the details of the OpenDocument format.

Limitations:

  • odoc is for the creation of documents only. It does not read them, nor does it allow to interact with them, or edit them programatically.
  • Charts are not supported (yet).
  • Documentation is provided by example files, which cover all aspects of odoc.
  • No macro support.

Capabilities:

  • Supports most styling options
  • Named cells and ranges
  • Conditional formating
  • Images
  • Cell comments
  • Merged cells
  • Array-formulas

Installation

python3 -m pip install odoc

Example

from odoc import Calc

doc = Calc()
sheet = doc['Sheet1']

sheet[0,0] = 'Apples'
sheet[0,1] = 5

sheet[1,0] = 'Oranges'
sheet[1,1] = 7

sheet[2,0] = 'Total'
sheet[2,1] = f'=sum({sheet[0:1,1].address()})'

doc.save('sample.ods')

Requirements

Python >= 3.11

License

The project uses the MIT license.

Metadata

Release files for odoc 0.7.0b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoc 0.7.0b2
File Size Uploaded Provenance Actions
odoc-0.7.0b2.tar.gz 48.2 kB Without provenance Details for odoc-0.7.0b2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for odoc 0.7.0b2
File Interpreter ABI Platform Actions
odoc-0.7.0b2-py3-none-any.whl Python 3 none any Details for odoc-0.7.0b2-py3-none-any.whl

Total release size: 82.8 kB

Release files / odoc-0.7.0b2.tar.gz

Download URL odoc-0.7.0b2.tar.gz
Size 48.2 kB
Tags Source
SHA-256 checksum
How to use checksums
98a20f6c99fade3e1acc0cef92ba8fd9eb7ed461d5a77076ab8294d1d0657b44
BLAKE2b-256 checksum
How to use checksums
73cd5d9879ade07b8d181785d758053474ca6d6d09438561912c0bbc3acf2f37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / odoc-0.7.0b2-py3-none-any.whl

Download URL odoc-0.7.0b2-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba0c98e9461d04ce0a73e057f05f75861de1f1b5f4af719925a2091f47d10146
BLAKE2b-256 checksum
How to use checksums
50adefa73b7a2476e689d1a7a9eaa38b227e90b4928119c1c6cb8c4b8a6ca78f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Security for odoc 0.7.0b2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page