Skip to main content

Utility functions to tests Microsoft Excel books

Project description

Ensure Microsoft Excel books content with pytest

pypi version Build status Coverage Code style: black Number of tests Number of downloads

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

  1. python 3.6+ must be installed
  2. Use pip to install module:
python -m pip install tesxcel

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tesxcel, version 3.0.0
Filename, size File type Python version Upload date Hashes
Filename, size tesxcel-3.0.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View
Filename, size tesxcel-3.0.0-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page