Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Web images generator by link or services (Instagram/Path/Flickr/Imgur/Cloud App/Minus/Skitch/500px)

Project Description

Grab images from the web by their urls

Currently supports:

  • direct image links that have the following extensions (jpg, jpeg, gif, png)
  • Instagram
  • Imgur
  • Flickr
  • Path
  • Skitch
  • Minus
  • Cloud App

Requirements

>> pip install -r requirements.txt

Usage

>> from webimagery import *

>> image = WebImagery()

First set the url

>> image.set_image(‘http://www.flickr.com/photos/ednapiranha/4437021184/’) >> True

You can get the source link

>> image.get_image() >> ‘http://farm3.static.flickr.com/2788/4437021184_848d7fa79d.jpg

Or you can get the image tag, setting your own alt text and dimensions

>> image.get_image_as_html(‘cat sleeping’) >> image.width = 350 >> ‘<img src=”http://farm3.static.flickr.com/2788/4437021184_848d7fa79d.jpg” alt=”cat sleeping” width=”350” height=”200” />’

Release History

Release History

This version
History Node

1.7

History Node

1.6

History Node

1.5

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
web_imagery-1.7.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Jul 31, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting