Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install upicasa

How to install upicasa

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install upicasa
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2 Available View build log
Windows (64-bit)
0.2 Available View build log
Mac OS X (10.5+)
0.2 Available View build log
Linux (32-bit)
0.2 Available View build log
Linux (64-bit)
0.2 Available View build log
 
Dependencies
Imports
Lastest release
version 0.2 on Jan 5th, 2011

This is a simple Python script that allows one to upload photos into Google's PicasaWeb from the command line. It can also list the albums that already exist on the user's PicasaWeb gallery and can create a new album to upload the photos to.

upicasa is still very rough on the edges, the user interface is not bulletproof, no exceptions are handled. It is, however, useful for the author, and can be useful for someone else.

Installing

upicasa is a Python package packaged with setuptools, therefore you can install it running easy_install upicasa or by directly invoking the setup.py script:

System Message: WARNING/2 (<string>, line 21)

Literal block expected; none found.

python setup.py install

upicasa uses Google's gdata Python library to access the PicasaWeb services. It is the only real depencency beside Python.

Using

When first invoked, upicasa will prompt for the Google account name and password. It will ask whether to save these credentials. The saved username and password are normally stored in the file ~/.config/upicasa/auth. If this file exists, upicasa will not query the credentials interactively.

You can list the albums like this:

System Message: WARNING/2 (<string>, line 37)

Literal block expected; none found.

upicasa -l

You can create a new album and upload photos to it like this:

System Message: WARNING/2 (<string>, line 41)

Literal block expected; none found.

upicasa -n "Album name" *.jpg

System Message: WARNING/2 (<string>, line 41); backlink

Inline emphasis start-string without end-string.

You can add photos to an existing album like this:

System Message: WARNING/2 (<string>, line 45)

Literal block expected; none found.

upicasa -a "Album name" *.jpg

System Message: WARNING/2 (<string>, line 45); backlink

Inline emphasis start-string without end-string.

The album is matched by a substring of a name. If the string provided will match more that one album, you will get a list of matching albums and no photos will be uploaded.

Changelog

Changes in version 0.2:

  • Fixed a silly bug in password saving.

Changes in version 0.1:

  • Initial release.

More info

Author: Albertas Agejevas <alga@pov.lt>

URL: http://bitbucket.org/alga/upicasa/

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.