Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install imageretriever

How to install imageretriever

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install imageretriever
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1 Available View build log
Windows (64-bit)
0.1 Available View build log
Mac OS X (10.5+)
0.1 Available View build log
Linux (32-bit)
0.1 Available View build log
Linux (64-bit)
0.1 Available View build log
 
Author
License
GPL
Dependencies
Imports
Lastest release
version 0.1 on Aug 27th, 2011

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:

System Message: WARNING/2 (<string>, line 17)

Literal block expected; none found.

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:

System Message: WARNING/2 (<string>, line 27)

Literal block expected; none found.

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:

System Message: WARNING/2 (<string>, line 37)

Literal block expected; none found.

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

imageretriever logs

0.1 (2011-08-26)
  • added base functionalities. [vincent]

Subscribe to package updates

Last updated Aug 27th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.