Skip to content

chuck1/ws_sheets

Repository files navigation

ws_sheets

image

image

Documentation Status

image

image

Python module defining spreadsheet-like objects in which cell and script inputs are pure python code.

Install

pip3 install ws_sheets

Test

git clone git@github.com:chuck1/ws_sheets
cd ws_sheets
pip3 install -e .
pytest

Example

import modconf settings = modconf.import_conf('ws_sheets.tests.conf.simple').Settings

from ws_sheets import Book

book = Book(settings)

book['0'][0, 0] = '1' book['0'][0, 1] = '2' book['0'][0, 2] = '3' book['0'][0, 3] = "book['0'][0, 0:3]" book['0'][0, 4] = "sum(book['0'][0, 3])"

print(book['0'][0, 3]) print(book['0'][0, 4])

Output:

[1 2 3] 6

About

Python spreadsheets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages