Skip to main content

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)

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

Uploaded Source

File details

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

File metadata

  • Download URL: python_eyes-0.0.4.tar.gz
  • Upload date:
  • Size: 6.2 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.4.tar.gz
Algorithm Hash digest
SHA256 aa1a42fc1a58f810e171c974b411d1d9b2aa83b2b3b2adef396f592e1d47754f
MD5 bc17a41ead40e85ffd5a9e0537dc58be
BLAKE2b-256 96098b48d7ad6c3374bfc1f66c57b6945a3137235df16aa52d4a6894513ab77f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 file

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page