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.

Source Distribution

Thumbalizr-1.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

Thumbalizr-1.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file Thumbalizr-1.0.1.tar.gz.

File metadata

  • Download URL: Thumbalizr-1.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8

File hashes

Hashes for Thumbalizr-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dc6de4f31266088fb407bef36298fe7022c3cc5c17997c54d2c048ea56ae6fd8
MD5 4a3c39504540f41ec5d648986b1b4f8c
BLAKE2b-256 77042efb1ff2df12322694b81f7cc4884728a1a2135e8aa55a8360d5d827b3df

See more details on using hashes here.

File details

Details for the file Thumbalizr-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: Thumbalizr-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8

File hashes

Hashes for Thumbalizr-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7be4a8a9501bb58f561bd780e024bae7559103cdd8dcc24a6f04ee852b0c439
MD5 3d40af8b4f516b55b9350aaad373a940
BLAKE2b-256 cd5b4049f4c9dd3f3f87d0b2650b6792083eccac1aeb8780f1e4ef462b619b45

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