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.3.tar.gz (147.3 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.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for py-xlsx-textconv-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ecc7d5d04bc606e82b79f93793fcefc5c70f7bc6593a7e8a921639c00d23ac13
MD5 2b418cbb45c3283a1c3c579d9bdfabd7
BLAKE2b-256 9ea450212a5a694c8fa8640da3d5cc8b39ca0f463c2711c9211cbb7e63d673f1

See more details on using hashes here.

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

Hashes for py_xlsx_textconv-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa2578ce9b779b645be828af2d149498f45427b4f5731726120545c756b4fe65
MD5 c7d93d9d99d127393c6f54cd70a750b1
BLAKE2b-256 1ddf1b5fb4f7921e047e5e31909c9af656d738b78e44d60b0f4a23d300182d05

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