gp_wrapper v=0.9.9
A Google Photos API wrapper library
- Official API is already supported
What does this package offer?
Support for all of the official API and more convenience function as well. A-lot of well defined API inspired Classes and Enums to simplify the usage.
GooglePhotosclass - wrapper over authenticated HTTP sessionAlbumClass - handles all of the global and instance methods for an AlbumMediaItemClass - handles all of the global and instance methods for MediaItem- Enums:
RequestType,HeaderType,MimeType,PositionType,EnrichmentType,MediaItemMaskTypes,AlbumMaskType,RelativeItemType,StatusCode - Classes:
SimpleMediaItem,NewMediaItem,AlbumPosition,Status,MediaItemResult,MediaMetadata,ContributorInfo
Quick Start
- Create a Google Cloud Console project
- Enable google photos API here
- Fill information here
- Fill application name and detail
- Apply scopes
- Add a google account as a Test User which will be able to use you project as an 'end user'
- Extract relevant data for
client_secrets.json - Install:
- From PyPI:
pip install gp_wrapperoruv add gp_wrapper - Local development (this repo):
uv sync(runtime) oruv sync --group dev(mypy, pylint, pytest, quickpub, …) - Publish a new version: bump
VERSIONinpublish.py, thenuv run python publish.py(quickpub 4.1.2+; needs.pypirc)
- From PyPI:
- See example here
Metadata
Release files for gp-wrapper 0.9.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gp_wrapper-0.9.9.tar.gz | 45.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gp_wrapper-0.9.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.9 kB
Release files / gp_wrapper-0.9.9.tar.gz
| Download URL | gp_wrapper-0.9.9.tar.gz |
|---|---|
| Size | 45.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c78d8f6d179d4b2245fae3e2568bd4976df6a7613aa30a88b9d27779653bad9e
|
|
BLAKE2b-256 checksum How to use checksums |
ab9a599c6e4ce009e5c115ffc2aeed2a8f66a401871ce7946cfdd4281b10a4e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Release files / gp_wrapper-0.9.9-py3-none-any.whl
| Download URL | gp_wrapper-0.9.9-py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9f25d16a1578ee80823e9d001f1d6d76bd9067db78407d00dba05a87cd332e2
|
|
BLAKE2b-256 checksum How to use checksums |
88a29f5dee43c5f2ae07568363395a0033256a1a346fa86ed12732d097092ca7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|