Regresser - Visual Regression Library
What is it?
A visual regression tool for comparing web apps and websites to visually find differences between versions.
Usage:
Webdriver
First we need to create a baseline, your main version. Any other version will be compared to this one.
from regresser import webdriver
webdriver.Driver(url='https://www.nytimes.com/', background=True, timeout=60)
Now we're able to create another version. Eg.:
from regresser import webdriver
webdriver.Driver(url='https://www.nytimes.com/', background=True, timeout=60)
webdriver.Driver(url='https://www.nytimes.com/', version='stg', background=False, timeout=60)```
Options:
version='staging' #version name
driver='firefox' #defaults to firefox. Use 'chrome' to enable chromedriver
timeout=10 #timeout loading a page
background=True or False #Loads the website in background (headless)
width=None #force a width, otherwise will be automatic.
height=None #force a height, otherwise will be automatic.
Analyzer
from regresser import analyzer
analyzer.Compare(version='stg')
Results
There are currently two outputs: alpha_diff.png and highlights.png. The alpha_diff will hide everything except differences, and highlights will show differences in red color after comparing versions.
Metadata
Release files for regresser 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| regresser-0.0.2.tar.gz | 2.9 kB | Without provenance | Details for regresser-0.0.2.tar.gz |
Release files / regresser-0.0.2.tar.gz
| Download URL | regresser-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9480caf41013462c80ff10d575b59cdb2d7cacd73ad460d022d8ea4d0318af0
|
|
BLAKE2b-256 checksum How to use checksums |
bd06c4b5ce829cc90cd8daec1ad712fcc95ebe543f71d07ffd45e83aee8e680f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Security for regresser 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.