Skip to main content

Sort your Flickr photostream by changing each photo's posted date to when it was taken.

Project description

A command-line tool which sorts your Flickr Photostream by the date each photo is taken. It accomplishes this by setting the date posted to be the same as the date taken.

This is not something Flickr’s website current can do for you, other than manually doing it for each photo, as this help forum thread shows: https://www.flickr.com/help/forum/en-us/72157634003151196/

  • On Mac OS X, all commands can be run in Terminal.app.

  • On Windows, all commands can be run in the Command Prompt.

  • On Linux, use whatever terminal your window manager supports.

Authentication

You’ll need a Flickr API key and secret, which you can get on the Flickr website.

Then set them as environment variables by running the following commands (make sure to change the values to match what Flickr provided):

echo "export FLICKR_API_KEY=0123456789abcdef0123456789abcdef" >> $HOME/.bash_profile
echo "export FLICKR_SECRET=0123456789abcdef" >> $HOME/.bash_profile
source $HOME/.bash_profile

Install

Ensure you have Python 2.7.x installed by running python -V. If Python isn’t installed, or you have a version older than 2.7, install the latest version of Python 2.7.

pip install flickr_photostream_sorter

Usage

flickr_photostream_sorter

The first time you run this, your default web browser will open to Flickr’s website asking you to authorize this application. Please do - without authorization, this application cannot sort your photostream.

Project details


Download files

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

Source Distribution

flickr_photostream_sorter-0.1.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page