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 details)

Uploaded Source

File details

Details for the file pycsync-0.1b1.tar.gz.

File metadata

  • Download URL: pycsync-0.1b1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycsync-0.1b1.tar.gz
Algorithm Hash digest
SHA256 9e4cb0fc98901ca96130aea2b97db30c814dcb179ef5ea18e545958f7070aab7
MD5 4d0c0543715431292e534cd6181d5682
BLAKE2b-256 0edb4e2a221c0dcdf3043ce44fa3a293eb092266fbdd203a8e52d7dc97e79436

See more details on using hashes here.

Supported by

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