simple wrapper objects for odfpy allowing easy and intuitive navigation through spreadsheet
Project description
simpleods
Simple wrapper objects for odfpy package allowing easy navigation through spreadsheet with some handy methods.
Features
- adding, moving, copying and removing rows and cells,
- getting rows and cells by index,
- printing cells spreadsheet coordinates,
- sorting rows,
- removing empty rows,
- expanding repeated rows and cells
Installation
Installation of package for use can be done by:
- to install package from downloaded ZIP file execute:
pip3 install --user -I file:simpleods-master.zip - to install package directly from GitHub execute:
pip3 install --user -I git+https://github.com/anetczuk/simpleods.git - installation from local repository root directory:
pip3 install --user .
To uninstall run: pip3 uninstall simpleods
To install project under virtual environment use tools/installvenv.sh.
Development installation is covered in Development section.
Development
Project contains several tools and features that facilitate development and maintenance of the project.
In case of pull requests please run process-all.sh --release before the request to check installation, run tests and
perform source code static analysis.
Installation
Installation for development with configuration of virtual environment:
tools/installvenv.sh --devto install dependencies, the package in editable mode and install development tooling.
Installation for development without venv:
src/install-app.sh --devto install dependencies, the package in editable mode and install development tooling.
Virtual environment can be also configured manually by:
python3 -m venv .venvsource .venv/bin/activatepython -m pip install --upgrade pipsrc/install-app.sh --devto install dependencies, the package in editable mode and install development tooling orpython -m pip install -e '.[dev]'to install project by hand.
There is also possibility to work on the project without installation. In this case project will run from local repository
directory. This configuration requires installation of dependencies: ./src/install-deps.sh --dev.
Running tests
To run tests execute src/testtestsimpleods/runtests.py. Code coverage can be achieved using coverage.sh and
profiling can be calculated with script profiler.sh.
Tools scripts
In tools directory there can be found following helper scripts:
codecheck.sh-- static code check using several tools with defined set of rulesdoccheck.sh-- runpydocstylewith defined configurationmdcheck.sh-- check links in Markdown filestypecheck.sh-- runmypywith defined configurationcheckall.sh-- execute check scripts all at onceprofiler.sh-- profile Python scriptscoverage.sh-- measure code coverate- `notrailingwhitespaces.sh* -- as name states removes trailing whitespaces from .py files
rmpyc.sh-- remove all *.pyc files
Those scripts can be run also from within virtual environment.
References
License
BSD 3-Clause License
Copyright (c) 2026, Arkadiusz Netczuk <dev.arnet@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simpleods-1.0.1.tar.gz.
File metadata
- Download URL: simpleods-1.0.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
849289c656e09699a217aa5201357de646d28edb7e73b93384450aa6340ce0ec
|
|
| MD5 |
bb06ac20bfe11ea08579e69f0b9b7ebe
|
|
| BLAKE2b-256 |
1374682206c6bc7f43de1a404a3ceb8e9368a5de8042a36f6582ff3b64051f07
|
File details
Details for the file simpleods-1.0.1-py3-none-any.whl.
File metadata
- Download URL: simpleods-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cef3a3e13f348b2e998a600828eef4041ce313da5382b88053ef6d7b10396e2
|
|
| MD5 |
8b6ba4626347d313a31710df5b59ca72
|
|
| BLAKE2b-256 |
1b86b9a870d8ae7af4e6451aa2e2563d7749d123e6e1b2c38dc7511039b1c072
|