Skip to main content

Client to interact with Thumbalizr

Project description

Thumbalizr version 1.0.0

Thumbalizr (https://thumbalizr.com/) is a web service to easily embed live screenshots of any URL in your website. Thumbalizr has full support for Flash, JavaScript, CSS, & HTML5.

You can install the library from PyPI: https://pypi.python.org/pypi/Thumbalizr

The source code can be found on github at https://github.com/juliensobrier/thumbalizr-python

INSTALLATION

python setup.py install

DEPENDENCIES

The following python packages are required to run thumbalizr

hashlib
requests

To use Thumbalizr with a Django website, check out https://github.com/juliensobrier/thumbalizr_django

EXAMPLE

from thumbalizr import Thumbalizr

thumbalizr = Thumbalizr('MY_KEY', 'SECRET')
# Generate a URL for the thumbnail
url = thumbalizr.url('https://www.google.com/', {'bwidth: 1280, 'bheight': 1024, 'width': 800});
print(url)

# Download the thumbnail
results = thumbalizr.download_wait(url, 'google.png');
print("%s"  % (results[0]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Thumbalizr, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size Thumbalizr-1.0.1-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size Thumbalizr-1.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page