Giter Club home page Giter Club logo

pycsync's Introduction

PycSync: 2-way Synchronize local photos with flickr

This python script is an attempt to improve my poor workflow for digital photos. I have been using iPhoto for the last 10 years, and it is terrible software. I was working at Apple when it was first released, and was a very early user. I have no idea why I have been using it for so long. iPhoto is less buggy, crashy, and slow than it used to be, but it is still incredibly bad.

I no longer try to crop or edit photos, so I really don't need photo editing software anymore. My new Canon T1i with came with several Canon utilities which I installed. The only one that seems useful is Canon ImageBrowser, which launches automatically when I put a memory card into the card reader. It automatically copies the images to a dated directory in my Pictures folder.

Workflow

  • Insert memory card in card reader
  • Canon utility automatically launches instead of iPhoto
  • Import photos into a directory
  • Use the ImageBrowser or OSX Finder in Cover Flow mode to review the photos
  • Delete blurry photos
  • Add PycSync.yml to directory with name of album and privacy settings
  • Run pycsync.py, which creates a flickr set and uploads photos
  • Edit metadata on flickr (optional)
  • Add new photos to directory (optional)
  • Run pycsync.py again to upload new photos and download metadata locally

Todo

Usage

Put your flickr api keys in ~/.pycsync flickr_api: [api_key, secret]

Then, create a directory of photos. Place a PycSync.yml file in that dir. PycSync.yml should look like this:

album: Title of Flickr Set
is_public: 0
is_family: 1
is_friend: 1

Run pycsync.py in the directory you wish to sync to flickr.

Upload status will be saved in PycSync_meta.yml. Don't edit PycSync_meta.yml manually; edit metadata only on Flickr, and run pycsync.py to copy the metadata from flickr into meta.yml.

Python depencencies

  • flickrapi
  • pyyaml

pycsync's People

Contributors

rajbot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pycsync's Issues

Method Not Found

Hi

Just wondering if this still works, I get the following error:

Creating empty meta_dict
Traceback (most recent call last):
File "./pycsync.py_old", line 225, in
flickr = flickr_login(flickr_key, flickr_secret)
File "./pycsync.py_old", line 65, in flickr_login
(token, frob) = flickr.get_token_part_one(perms='write')
File "/Library/Python/2.7/site-packages/flickrapi-2.0-py2.7.egg/flickrapi/call_builder.py", line 37, in call
File "/Library/Python/2.7/site-packages/flickrapi-2.0-py2.7.egg/flickrapi/core.py", line 319, in do_flickr_call
File "/Library/Python/2.7/site-packages/flickrapi-2.0-py2.7.egg/flickrapi/core.py", line 389, in _wrap_in_parser
File "/Library/Python/2.7/site-packages/flickrapi-2.0-py2.7.egg/flickrapi/core.py", line 280, in parse_etree
flickrapi.exceptions.FlickrError: Error: 112: Method "flickr.get.token.part.one" not found

Thanks in Advance
Dashe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.