Skip to content
/ flickrpub Public

Publishing photos to Flickr with the flickrapi Python module

Notifications You must be signed in to change notification settings

al4/flickrpub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flickrpub

Watches a directory of files and pushes them to a given flickr collection. Sub-directories are created as separate sets.

This is a one-shot project for gathering and uploading family photos from an event. I may update it in future and respond to pull requests, but don't expect to spend a lot of time on this project!

NB: Unfinished at time of writing, documentation is thus hypothetical. May publish to pip if it ends up being polished enough.

Installation

From git checkout:

python setup.py install

Configuration

First obtain an API key and secret as per the flickrapi documentation. This is required by Flickr to use their API.

Save these credentials in a file named credentials.ini in your current working directory:

[flickrapi]
api_key = xxx
secret = xxx

Usage

Publish a directory tree of files:

flickrpub <dir>

Watch a drectory and publish files as they are added:

flickrpub -w <dir>

(this uses Linux's inotify, and is thus only supported on Linux)

About

Publishing photos to Flickr with the flickrapi Python module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published