Skip to main content

Download photoset of flickr, support single process, multiprocess and gevent(Asynchronous I/O)

Project description

Download photoset of flickr, support single process, multithread and gevent(Asynchronous I/O)

Installation

sudo python setup.py install

or:

sudo pip install grabflickr

gevent

Notice: Without libevent, grabflickr will fallback to normal multithread download

In Mac

brew install libevent

In Linux

apt-get install libevent-dev
apt-get install python-all-dev

Usage

# Enter your api key
gf -u

# Download photoset
gf -g <photoset id>

Method Benchmark(sec)

/usr/bin/time -p ./grabflickr.py -g xxxxxxxxx -O num -s 6

single multiprocess

  • 31.37

multiprocess

  • 9.91
  • 8.24
  • 7.49

gevent

  • 7.87
  • 7.94
  • 7.66

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 grabflickr, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size grabflickr-0.1.0.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page