A python client library for Google Photos Library API
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file google_photos_library_api-1.0.1.tar.gz.
File metadata
- Download URL: google_photos_library_api-1.0.1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
614782ab4c9a1c5358624398f5a32b911b96cf536cc562cc5871d66ce78c1e08
|
|
| MD5 |
b4517bc7bdec4f44d72ceee8c78fe766
|
|
| BLAKE2b-256 |
ad75a1c8c724fd47cc8067cee9a1e4ca77d2dec69f336f27ed96ca2880046a56
|
Provenance
The following attestation bundles were made for google_photos_library_api-1.0.1.tar.gz:
Publisher:
publish.yaml on allenporter/python-google-photos-library-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_photos_library_api-1.0.1.tar.gz -
Subject digest:
614782ab4c9a1c5358624398f5a32b911b96cf536cc562cc5871d66ce78c1e08 - Sigstore transparency entry: 771981863
- Sigstore integration time:
-
Permalink:
allenporter/python-google-photos-library-api@d950389e0148ea50c11cd430803cc55b3bdde31a -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/allenporter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@d950389e0148ea50c11cd430803cc55b3bdde31a -
Trigger Event:
release
-
Statement type:
File details
Details for the file google_photos_library_api-1.0.1-py3-none-any.whl.
File metadata
- Download URL: google_photos_library_api-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
051600fa19b365fccdbfc78d6255c8072743925e858ac34cd676177d9d854ec6
|
|
| MD5 |
73d784bacbf24247a052382bda619011
|
|
| BLAKE2b-256 |
46a716d7ee0b1ad3f9aef610e7ef5dba79f29ae8113d2e8ec9802f45049c6e9f
|
Provenance
The following attestation bundles were made for google_photos_library_api-1.0.1-py3-none-any.whl:
Publisher:
publish.yaml on allenporter/python-google-photos-library-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_photos_library_api-1.0.1-py3-none-any.whl -
Subject digest:
051600fa19b365fccdbfc78d6255c8072743925e858ac34cd676177d9d854ec6 - Sigstore transparency entry: 771981867
- Sigstore integration time:
-
Permalink:
allenporter/python-google-photos-library-api@d950389e0148ea50c11cd430803cc55b3bdde31a -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/allenporter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@d950389e0148ea50c11cd430803cc55b3bdde31a -
Trigger Event:
release
-
Statement type: