quickshot
Make a quick visualdiff between two pages or png files.
Requirements
Currently Quickshot only uses the Geckodriver webdriver. Downloading and installing Firefox may be sufficient to get you set up.
Ensure Firefox is in your path after installing.
You may also need to install Geckodriver separately.
- On a Mac run,
brew install geckodriver - For Windows or Unix binaries see the release section of the Geckodriver project page.
You should also have ImageMagick installed.
Test if you already have ImageMagick installed by running, convert -version in your terminal.
Installing ImageMagick
- On a Mac run,
brew install imagemagick - Windows binaries
- Unix Binaries
Installation
Via Pip
- Run
pip install quickshot
From source
- Set up a virtuanenv in some fashion,
vex --python /usr/local/bin/python3 -m quickshot - Install dependencies
pip3 install -r requirements.txt
ini files
You can add credentials to sign in to a web form in a file called 'quickshot.ini'.
Since the .ini is included in the .gitignore file, (To help prevent you from committing your credentials to the cloud), you'll first need to create it.
Each block can contain an email and password items.
Quickshot will attempt to use webdriver.find_element_by_name() to locate elements on the page that correspond to these values.
An example configuration block might look like;
[example]
email = doe@example.com
password = foobar
Usage
Quickshot takes two required arguments being the urls of the two pages you want to compare.
python quickshot.py "http://www.google.com" "http://www.google.fr"
There are also some optional arguments;
-w, --wait, length in seconds to wait after loading a page before taking a screenshot.-i, --ini, named section to load fromquickshot.iniconfiguration file.-f, --files, flag allowing you to pass in names of.pngfiles stored in/screenshotsinstead of urls.
Metadata
Release files for Quickshot 1.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 |
|---|---|---|---|---|
| Quickshot-1.2.tar.gz | 2.3 kB | Without provenance | Details for Quickshot-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Quickshot-1.2-py3-none-any.whl | Python 3 | none | any | Details for Quickshot-1.2-py3-none-any.whl |
Total release size: 8.5 kB
Release files / Quickshot-1.2.tar.gz
| Download URL | Quickshot-1.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6adfc0afe5090b1f93b0881091329b11a948871bb1ff5f32fcccecaec6832249
|
|
BLAKE2b-256 checksum How to use checksums |
65bed9b55c99a45da4f0cbbab3d6f9efbf5d0eae8d1fa1227977d0bfed2cf204
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / Quickshot-1.2-py3-none-any.whl
| Download URL | Quickshot-1.2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba2ed0d83f94477f0754a57309bb5326ff316897f4228f3fd284b1015e8004d0
|
|
BLAKE2b-256 checksum How to use checksums |
581c9726df3d7e12da1d2fef0d8cf5199aa1d173a9be321bf62b1b6374afc4ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for Quickshot 1.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.