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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
grabflickr-0.1.0.tar.gz
(5.2 kB
view details)
File details
Details for the file grabflickr-0.1.0.tar.gz
.
File metadata
- Download URL: grabflickr-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71a571a106db0750f655cefcd0cd59c1e2aceed736880c4c83572d4f00a31d65 |
|
MD5 | 0334cdd4cee5af2c66a91ef39835f99e |
|
BLAKE2b-256 | de915d20dc9932b8dc1bdd09352f120c825c5f601784d7b8f4aa7a6a981613b8 |