Skip to main content

Make a copy of an XLSX and keept it in sync with source, even if copied version is changed

Project description

baangt-CloneXLS

This package was mainly made to use in baangt.

It's functionality is to Clone a excel file(xls/xlsx) and a new sheet is made inside cloned file which is used to store the change logs.

This package contains two main classes. First is CloneXls & second is ChangeLog.

CloneXls

update_or_make_clone is the main method of this class. On the first run it will create a clone file and if the file already exist it will call ChangeLog class.

ChangeLog

This class is used to check the changes between source and cloned file and update those changes inside cloned file. Their are few helpful functionalities like ignore_headers & ignore_sheets these both parameters takes a list. Headers and sheets present in this lists will be ignored for change log and will not be updated from source. xlsxChangeLog is the main method of this class which will trigger all the other methods like checking for changes, updating change log sheet, updating whole clone file from source(except ignored data). AIt will write all the changes in Change Logs worksheet. This data will contain Date & time, "Sheet Name", "Header Name", "Row Number", "Old Value", "New Value".

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

xlsclone-0.0.7.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

xlsclone-0.0.7-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file xlsclone-0.0.7.tar.gz.

File metadata

  • Download URL: xlsclone-0.0.7.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for xlsclone-0.0.7.tar.gz
Algorithm Hash digest
SHA256 50ab5705d7cabe295150d75019ed7f13cdf86287f0fa50e5928e526e3a93beda
MD5 8f1cfa0b411742d8263d6cdc9c9513b3
BLAKE2b-256 17cbd27810d6aa88d838fa2455be01e14e32db22e37de1b5785364331d57aa94

See more details on using hashes here.

File details

Details for the file xlsclone-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: xlsclone-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for xlsclone-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1dd0c552863732b7b0b792d250e793119c60a62ace87748d09a093b1a3f4e5ac
MD5 6e3f0186b49f4a7ddd226408c9d4f7c8
BLAKE2b-256 39a71476042b1918bcc46d2a7b8d832dcf4accd33e2940425b273b4c65a872ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page