Offline Excel-like app with no formula conversion, but with image/markdown/HTML support.
Project description
Simplecel
Offline Excel-like app with no formula conversion, but with image/markdown/HTML support.
Features
- Custom renderers beyond https://docs.handsontable.com/5.0.0/demo-custom-renderers.html -- 'markdownRenderer', 'imageRenderer'. -- Can render images with URL's alone. No need for
<img src="" />
. - Always good word wrap support and auto-row-height due to Handsontable.
- Absolutely no formula conversion. Things like
=1+2
,OCT2
,11-14
will never get converted. - Max column width can be specified (default: 200).
Installation
pip install simplecel
pip install pyexcel-xlsx # Or any other packages defined in pyexcel GitHub
For what you need to install other than simplecel
, please see https://github.com/pyexcel/pyexcel#available-plugins
Usage
$ simplecel --help
Usage: simplecel [OPTIONS] FILENAME
Options:
--config TEXT Please input the path to CONFIG json, as defined in pyhandsontable.
--host TEXT
--port INTEGER
--debug
--help Show this message and exit.
$ simplecel example.xlsx
In this case, example.config.json
is also auto-loaded, although you can specify *.config.json
directly in --config
. If the file doesn't exist, it will be auto-generated on Save.
Example of example.config.json
{
"hanzi": {
"hasHeader": true,
"renderers": "markdownRenderer"
},
"vocab": {
"hasHeader": true,
"renderers": "markdownRenderer"
},
"sentences": {
"hasHeader": true,
"renderers": "markdownRenderer"
}
}
Note that the defaultConfig
are
{
rowHeaders: true,
colHeaders: true,
manualRowResize: true,
manualColumnResize: true,
filters: true,
dropdownMenu: true,
contextMenu: true,
maxColWidth: 200,
hasHeader: false
}
renderers
can also accept something like
{
1: "markdownRenderer",
2: "markdownRenderer"
}
Some other acceptable configs are defined in https://docs.handsontable.com/5.0.0/Options.html
Plan
- Wrap this app in PyQt / PyFlaDesk for GUI end-users (maybe later, as PyFlaDesk of now is still buggy).
Screenshots
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
Hashes for simplecel-0.2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c354d95966ef90f1f17b9427fb869452b8ce4147c99d169465caa47aae6c9323 |
|
MD5 | a0ee12ac25f3a802f600f27a03c7d537 |
|
BLAKE2b-256 | fb6f2d740000400c357e39b918174be79299c2bb0ea6028d843726916863dfe7 |