Ensure Microsoft Excel books content with pytest
Ensure that two Microsoft Excel files have the same cell types and content in every sheet.
Supported file formats are: .xlsx, .xlsm, .xltx, .xltm
import tesxcel
def test_excel_file_using_path():
tesxcel.assert_excel_content("/path/to/the/first_file.xlsx", "/path/to/the/second_file.xlsx")
def test_excel_file_using_content():
received_excel_content: bytes = None
tesxcel.assert_excel_content(received_excel_content, "/path/to/the/excel_file_to_compare.xlsx")
How to install
- python 3.6+ must be installed
- Use pip to install module:
python -m pip install tesxcel
Metadata
Release files for tesxcel 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tesxcel-3.0.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tesxcel-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / tesxcel-3.0.0.tar.gz
| Download URL | tesxcel-3.0.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01f20e7805a29d6bd642d68fbe7e47e8e37d29fd67f46d0843cb581ae12f1f03
|
|
BLAKE2b-256 checksum How to use checksums |
def22598b46a1a577cda5c511e9541707f23bbc1be91efdbb1a7a5ed6ea93f05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.7
|
Release files / tesxcel-3.0.0-py3-none-any.whl
| Download URL | tesxcel-3.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5bfc0785277aa3e59ee0d8017300307427ef726ced913ed6eadf424e7dc151b
|
|
BLAKE2b-256 checksum How to use checksums |
4bfc6484bdc55e2e89d06408d393df8745ffd9e9484188d5e3b67695c1922d50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.7
|