Git textconv tool for excel
Project description
py_xlsx_textconv
Excel to text covert tool for Git. This is a python port of git-xlsx-textconv
When git diff or git log -p, extract cell values in excel and format:
[SheetName1][TAB][A1][TAB][B1][TAB][C1][TAB]...
[SheetName1][TAB][A2][TAB][B2][TAB][C2][TAB]...
and compare text formats.
Example: Excel
git diif
This does not compare
- Style
- Auto Shapes
- ... and so on
Install
pip install py-xlsx-textconv
Configuration
If ~/.config/git/attributes does not exist, you need to creat and edit it.
.xlsx diff=xlsx
.xlsm diff=xlsx
Or if you prefered per project attribute file, create .gitattributes file and edit it above
Append to ~/.gitconfig.
[diff "xlsx"]
binary = true
textconv = py-xlsx-textconv
Development
git clone https://github.com/tiibun/py-xlsx-textconv.git
cd py-xlsx-textconv
# virtual env
python -m venv env
. ./env/Scripts/activate
# install editable
pip install -e .
...develop
# package
rm -rf dist/*
python -m build
# upload
twine upload dist/*
LICENSE
MIT
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
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 py-xlsx-textconv-0.0.3.tar.gz.
File metadata
- Download URL: py-xlsx-textconv-0.0.3.tar.gz
- Upload date:
- Size: 147.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecc7d5d04bc606e82b79f93793fcefc5c70f7bc6593a7e8a921639c00d23ac13
|
|
| MD5 |
2b418cbb45c3283a1c3c579d9bdfabd7
|
|
| BLAKE2b-256 |
9ea450212a5a694c8fa8640da3d5cc8b39ca0f463c2711c9211cbb7e63d673f1
|
File details
Details for the file py_xlsx_textconv-0.0.3-py3-none-any.whl.
File metadata
- Download URL: py_xlsx_textconv-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa2578ce9b779b645be828af2d149498f45427b4f5731726120545c756b4fe65
|
|
| MD5 |
c7d93d9d99d127393c6f54cd70a750b1
|
|
| BLAKE2b-256 |
1ddf1b5fb4f7921e047e5e31909c9af656d738b78e44d60b0f4a23d300182d05
|