Skip to main content

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:

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:

upicasa -l

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

upicasa -n "Album name" *.jpg

You can add photos to an existing album like this:

upicasa -a "Album name" *.jpg

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/

Release files for upicasa 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upicasa 0.2
File Size Uploaded
upicasa-0.2.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for upicasa 0.2
File Interpreter ABI Platform
upicasa-0.2-py2.6.egg Legacy Egg format - - Details

Total release size: 10.8 kB

Release files / upicasa-0.2.tar.gz

Download URL upicasa-0.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ddcecec385d4f87c6d24756d169eadaa5d2ce399d757ac4569171160fed34d24
BLAKE2b-256 checksum
How to use checksums
ae656a45f2cd6d3d5144a5317f0e2eb5ab88dc69fca285b430e4918cd9cd5b2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / upicasa-0.2-py2.6.egg

Download URL upicasa-0.2-py2.6.egg
Size 6.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
511c2cd7b27d1b731aa32e1d5c8e4bc1acaaa80b2761ef0ca0cca9b0296f848b
BLAKE2b-256 checksum
How to use checksums
46eda084c4962e02708ff9292cba4eba1e6e19f18bb92650589d8a934decf331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page