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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tesxcel-3.0.0.tar.gz
(3.0 kB
view details)
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 tesxcel-3.0.0.tar.gz.
File metadata
- Download URL: tesxcel-3.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01f20e7805a29d6bd642d68fbe7e47e8e37d29fd67f46d0843cb581ae12f1f03
|
|
| MD5 |
6fcde58524a2f55c816855a1138b975a
|
|
| BLAKE2b-256 |
def22598b46a1a577cda5c511e9541707f23bbc1be91efdbb1a7a5ed6ea93f05
|
File details
Details for the file tesxcel-3.0.0-py3-none-any.whl.
File metadata
- Download URL: tesxcel-3.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5bfc0785277aa3e59ee0d8017300307427ef726ced913ed6eadf424e7dc151b
|
|
| MD5 |
14071dfa34f994a4ae1525585b7d6561
|
|
| BLAKE2b-256 |
4bfc6484bdc55e2e89d06408d393df8745ffd9e9484188d5e3b67695c1922d50
|