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 diff
And experimental VBA support. (v0.0.4)
This does not compare
- Style
- Auto Shapes
- ... and so on
Install
pip install py-xlsx-textconv
Configuration
If ~/.config/git/attributes (Windows: %HOMEPATH%.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 (Windows: %HOMEPATH%.gitconfig).
[diff "xlsx"]
binary = true
textconv = py-xlsx-textconv
If you would like to compare values only, append -d option.
[diff "xlsx"]
binary = true
textconv = py-xlsx-textconv -d
Development
Install pdm.
# install dependencies
pdm sync -d
# test
pdm run test
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.6.tar.gz.
File metadata
- Download URL: py-xlsx-textconv-0.0.6.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2c3403fdd26b54df5294caf42f803ca16fff44b98ad403a812ca4694f62d639
|
|
| MD5 |
bc271cf78bf8f8d20fbd9ef9c43a93e2
|
|
| BLAKE2b-256 |
758c1d449e4a162b8830124fe539fb3a2aec468e990f0d84348687b392e43543
|
File details
Details for the file py_xlsx_textconv-0.0.6-py3-none-any.whl.
File metadata
- Download URL: py_xlsx_textconv-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7a5ab1b68405f79d252e9f1fe64f84fc430293a845074996dbc934dc89a69c8
|
|
| MD5 |
0a9bd22b3c3e315db5b6e4710f27e0f2
|
|
| BLAKE2b-256 |
b28b0175d8a39ab40994480d162c088c1aad262dae58d15e7627797e2e9d4da2
|