Skip to main content

Pibooth plugin to upload pictures on Google Photos.

Project description

Python 3.6+ PyPi package PyPi downloads

pibooth-google-photo is a plugin for the pibooth application.

Its permits to upload the pictures to a Google Photos album. It requires an internet connection.


$ pip3 install pibooth-google-photo


Here below the new configuration options available in the pibooth configuration. The keys and their default values are automatically added to your configuration after first pibooth restart.


# Album where pictures are uploaded
album_name = Pibooth

# Credentials file downloaded from Google API
client_id_file =

Picture URL

Uploaded picture URL is set to app.previous_picture_url attribute at the end of processing state (state_processing_exit hook).

Grant secured access

Access to a Google Photos album is granted by a Credentials file that shall be defined in the [GOOGLE][client_id_file] configuration key. This file does not contain your Google credentials and it can not be used by an other application than pibooth.

It contains the Google Photos API key (Client ID and Client Secret) generated by following the instructions:


Go to Google Photos Library API and click on Enable the Google Photos Library API.


Enter a project name (for instance pibooth) and click on NEXT.


Enter a text to be displayed on user consent page when you will start pibooth with pibooth-google-photo enabled for the first time (for instance Pibooth) and click on NEXT.


Select the application type: Desktop app.and click on CREATE.


Download the credential file, save it somewhere accessible by pibooth and click on DONE.

The content of the Credentials file looks like this:

        "client_id": "",
        "client_secret": "HJAHZhjhi_HJI789798giEdPIbJ",
        "auth_uri": "",
        "token_uri": "",
        "auth_provider_x509_cert_url": "",
        "redirect_uris": ["urn:ietf:wg:oauth:2.0:oob","http://localhost"]

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

pibooth_google_photo-1.2.3.tar.gz (19.1 kB view hashes)

Uploaded Source

Built Distribution

pibooth_google_photo-1.2.3-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

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