Install & Compatibility
Where this runs
tested against v0.6.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.106s · 30.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.3s · import 0.092s · 31MB
29MB installed
● package 29MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
get_data
✓ from pyexcel_ods3 import get_data
✗ import pyexcel_ods3
pyexcel-ods3 exposes functions directly, not as a module with a class.
save_data
✓ from pyexcel_ods3 import save_data
✗ from pyexcel_ods3 import save
Function is named save_data, not save.
Write and read ODS files with a simple 2D list. Note that keys in the result dict are sheet names.
from pyexcel_ods3 import save_data, get_data
data = [[1, 2, 3], ['a', 'b', 'c']]
save_data('test.ods', data)
loaded = get_data('test.ods')
print(loaded)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'pyexcel_ods3'
Package not installed or incorrect import name.
fixInstall with: pip install pyexcel-ods3. Then import: from pyexcel_ods3 import get_data
AttributeError: module 'pyexcel_ods3' has no attribute 'save'
Using wrong function name (save instead of save_data).
fixUse: from pyexcel_ods3 import save_data
Upgrade
Version history
0.6.1latest on PyPI · released Jan 30, 2022
Audit
Dependencies
pyexcel-iorequiredCore plugin system for reading/writing tabular data
pyexcel-ezodfrequiredODS file handling library
lxmlrequiredXML parsing used by ezodf