Skip to main content

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

Project description

Logo

Python Eyes

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_eyes'.
pip install python_eyes

Development

  • Docstring style: Google Style

Run tests

pipenv run pytest

Usage

from python_eyes import PythonEyes


eyes = PythonEyes(driver, "screenshots", "results")
eyes.verify_screen("login_page_no_text.png")
eyes.verify_screen("login_page_error.png", hard_assert=False, timeout=2)

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.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

python_eyes-0.0.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file python_eyes-0.0.3.tar.gz.

File metadata

  • Download URL: python_eyes-0.0.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for python_eyes-0.0.3.tar.gz
Algorithm Hash digest
SHA256 265442da22d1ee4609fd7630d8674627c02b791d163e6fc817507557adfae8ac
MD5 25d2379e3333ec5fef39eb0327a423ee
BLAKE2b-256 2f293b2f6f0da9b17e4f7a5ae6192972c4789d944d3b2d810ba9ca7bdfc9e558

See more details on using hashes here.

File details

Details for the file python_eyes-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: python_eyes-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for python_eyes-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 391c8905ff71a3704cdfbdcddfd7dd1ff69991c2eea47af1af73424e9333c862
MD5 95dce9a2d9db6e8e3be9c15e38469cdc
BLAKE2b-256 fa6b929075313485c7822eda48dbf3b1b4aa5972bb1bb4437d695b9928afc7a8

See more details on using hashes here.

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