A python client library for Google Photos Library API.
The Google Photos Library API allows your app to upload photos and videos to Google Photos. See Google Photos APIs for more details on how to integrate Google Photos with your application.
This library does not currently support the picker API.
See Updates to the Google Photos APIs for additional detail on the latest changes to the API.
Background
This is a thin wrapper around the API used for a very lightweight abstraction. The
primary use case is for Home Assistant though can be used for other usages. This
is redundant with Google Photos APIs however they are very generic. This library
provides a simpler API that is easier to read, supports asyncio, and also
includes content uploading APIs which don't have a standard client library.
Usage
See the API Documentation for more details.
Development
Set up pre-requisites:
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r requirements_dev.txt
Run tests and view coverage:
$ py.test --cov-report=term-missing --cov=google_photos_library_api
Metadata
Release files for google-photos-library-api 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| google_photos_library_api-1.0.1.tar.gz | 16.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_photos_library_api-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.8 kB
Release files / google_photos_library_api-1.0.1.tar.gz
| Download URL | google_photos_library_api-1.0.1.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
614782ab4c9a1c5358624398f5a32b911b96cf536cc562cc5871d66ce78c1e08
|
|
BLAKE2b-256 checksum How to use checksums |
ad75a1c8c724fd47cc8067cee9a1e4ca77d2dec69f336f27ed96ca2880046a56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency logRelease files / google_photos_library_api-1.0.1-py3-none-any.whl
| Download URL | google_photos_library_api-1.0.1-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
051600fa19b365fccdbfc78d6255c8072743925e858ac34cd676177d9d854ec6
|
|
BLAKE2b-256 checksum How to use checksums |
46a716d7ee0b1ad3f9aef610e7ef5dba79f29ae8113d2e8ec9802f45049c6e9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency log