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!

A Django package to download missing images on your local instance from the production/preview server.

Project Description

ImageRetriever

Image retriver is a simple Django app to help you get the missing image from the server when developping (for example when you get a fresh database and don’t want to download again the 3Gb of images for the few images you miss since last sync).

Install

If you’re using buildout, just add ‘imageretriever’ to your list of eggs.

If not, you can install the egg to your python setup using:

easy_install imageretriever

You can also download the sources and add them to your local environment.

Using image retriever

Start the django shell, then type:

from imageretriever.utils import sync_images
sync_images('http://localhost:8000/', 'http://example.com/')

It will list all image fields in the models and download them if they are not on your local filesystem.

You can also specify the number of milliseconds between each image download (to avoid being too agressive with the server) and if you want more information:

sync_images('http://localhost:8000/', 'http://example.com/', 100, True)

imageretriever logs

0.1 (2011-08-26)

  • added base functionalities. [vincent]
Release History

Release History

This version
History Node

0.1

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
imageretriever-0.1.zip (7.6 kB) Copy SHA256 Checksum SHA256 Source Aug 26, 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