Skip to main content

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 --dev to install dependencies, the package in editable mode and install development tooling.

Installation for development without venv:

  • src/install-app.sh --dev to install dependencies, the package in editable mode and install development tooling.

Virtual environment can be also configured manually by:

  • python3 -m venv .venv
  • source .venv/bin/activate
  • python -m pip install --upgrade pip
  • src/install-app.sh --dev to install dependencies, the package in editable mode and install development tooling or python -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 rules
  • doccheck.sh -- run pydocstyle with defined configuration
  • mdcheck.sh -- check links in Markdown files
  • typecheck.sh -- run mypy with defined configuration
  • checkall.sh -- execute check scripts all at once
  • profiler.sh -- profile Python scripts
  • coverage.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


Download files

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

Source Distribution

simpleods-1.0.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

simpleods-1.0.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

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

Hashes for simpleods-1.0.1.tar.gz
Algorithm Hash digest
SHA256 849289c656e09699a217aa5201357de646d28edb7e73b93384450aa6340ce0ec
MD5 bb06ac20bfe11ea08579e69f0b9b7ebe
BLAKE2b-256 1374682206c6bc7f43de1a404a3ceb8e9368a5de8042a36f6582ff3b64051f07

See more details on using hashes here.

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

Hashes for simpleods-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cef3a3e13f348b2e998a600828eef4041ce313da5382b88053ef6d7b10396e2
MD5 8b6ba4626347d313a31710df5b59ca72
BLAKE2b-256 1b86b9a870d8ae7af4e6451aa2e2563d7749d123e6e1b2c38dc7511039b1c072

See more details on using hashes here.

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