Skip to main content

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 excel

git diif git diff

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

py-xlsx-textconv-0.0.2.tar.gz (147.5 kB view details)

Uploaded Source

Built Distribution

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

py_xlsx_textconv-0.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file py-xlsx-textconv-0.0.2.tar.gz.

File metadata

  • Download URL: py-xlsx-textconv-0.0.2.tar.gz
  • Upload date:
  • Size: 147.5 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

Hashes for py-xlsx-textconv-0.0.2.tar.gz
Algorithm Hash digest
SHA256 20ab6cda70a5088dfa00098560c7cb04f68c2c48bcf5a654903396639b2f6c66
MD5 0caf20d95682d9df12ca1e5c0a1bebb5
BLAKE2b-256 e334f0563cedb4e5f81f611cd655ad2bc03f30d6b33228840c3b60eead43b7d7

See more details on using hashes here.

File details

Details for the file py_xlsx_textconv-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: py_xlsx_textconv-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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

Hashes for py_xlsx_textconv-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 368bb23a6c03a7c177e0c3a8781988edb2a13afef2a68cf6c12fd9020e16dddd
MD5 7f0364330cf00eb0b4dcaafdd13bb774
BLAKE2b-256 245d354abe4d0c7074cc0629a12660db5bfda12b77fc6344f018f1193041a1c4

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