A package for Automation that compare two images and return if there is a difference between them
Project description
#Python Eye
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
- Install from PyPi, as 'python_eye'.
pip install python_eye
Development
- Docstring style: Google Style
- Refer link
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)
Built Distribution
Close
Hashes for python_eyes-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c368364d9b50a5f5b9a609128ff2a0a2c4b462c84fcb3236727b25e311ad96fa |
|
MD5 | 9d4ea438365a9e8275c50e76d31ef791 |
|
BLAKE2b-256 | ac289c561822ad2529b013ec8fe379ca392e806c2e52a2274d751e124296670d |