Skip to main content

A package for Automation that compare two images and return if there is a difference between them

Project description

#Python Eye

PyPI version MIT License

Python package for Automation to compare expected UI on page or Mobile app screen with actual screen.

Notice

Since v0.0.1 only Python 3 is supported

Getting the Python Eye

  1. Install from PyPi, as 'python_eye'.
pip install python_eye

Development

  • Docstring style: Google Style

Run tests

$ pytest

You also can run particular tests like below.

$ pytest test/unit

Run with pytest-xdist

$ pytest -n 2 test/unit

Usage

from python_eye import PythonEye


eye = PythonEye(driver, "screenshots", "results")
eye.find_difference("screenshot.png")

Build & Release

sudo python3.8 setup.py sdist bdist_wheel

twine upload --repository pypi dist/*

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

python_eyes-0.0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

python_eyes-0.0.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

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