nijel / photo-uploader

Simple Python script to upload photos to minilab.
https://cihar.com/software/photo-uploader/
GNU General Public License v2.0
0 stars 0 forks source link

Photo uploader

This is simple photo uploader for minilabs. Basic usage is described by online help, just issue photo-upload --help.

To upload photo to some service, just invoke something like this: photo-upload -s service_name image1.jpg /folder/with/images/*.jpg

Supported service features

You can get list of services by photo-upload -l.

Description of features:

Adding new service

To add support for your service, you need to subclass from phoupl.core.PhotoUploader and implement _connect and _upload methods. You also need to register new service using phoupl.register_service. Then place your module int phoupl/services directory and it should work :-).

Using in applications

If you want to use photo-uploader in your applications, please be careful, because it is in very early stage of development and almost everything can change.

If you want to parse photo-upload -l output, you can rely it will be always formatted like Debian control files (see Debian Policy Manual at http://www.debian.org/doc/debian-policy/ch-controlfields.html for detailed description). Name field is required all others are basically optional and new fields can be added by later versions.

Contributing

You can checkout sources using Git from Gitorious http://gitorious.org/photo-uploader:

git clone git://gitorious.org/photo-uploader/photo-uploader.git

vim: et ts=4 sw=4 sts=4 tw=72 spell spelllang=en_us