Skip to main content

Sync local photos with Flickr

Project description

Build Status Coverage Status Code Health Dependency Status Pypi Version Pypi Downloads

Sync pictures between filesystem and Flickr

Install

This uses the python_flickr_api.

To install latest:

pip install pycsync

Usage

First oauth needs to be setup for the application:

pycsync -a

Please visit to get an verifier code:
---------------------------------
http://www.flickr.com/services/oauth/authorize?oauth_token=<token>&perms=write
---------------------------------
Please input the verifier code here:

Then copy the link to a browser. After authorizing pycsync, the browser should display something like:

<rsp stat="ok">
  <method>flickr.test.echo</method>
  <api_key>key</api_key>
  <oauth_token>token</oauth_token>
  <oauth_verifier>verifer</oauth_verifier>
</rsp>

Where key is pycsync’s api key, token is the oauth token from above, and verifier is the verifier key for further authentication. Copy the verifier and input it to pycsync.

NOTE: pycsync can either be run from the sync directory or the directory can be specified with the -p option.

Now to sync simply run:

pycsync

Limitations

  1. Flickr stores photos in albums. There is no concept of a sub-album. Thus this requires a flat file structure for the local files. The file system layout must contain one level of directories with files in them. The directories will be mapped to Albums. Any subdirectories will be ignored. Also any top-level files will be ignored.

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

pycsync-0.1b1.tar.gz (5.5 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