gp_wrapper v=0.9.10
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 --all-groups python publish.py(quickpub 4.1.3+; needs.pypirc)
- From PyPI:
- See example here
Metadata
Release files for gp_wrapper 0.9.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gp_wrapper-0.9.10.tar.gz | 45.1 kB | Without provenance | Details for gp_wrapper-0.9.10.tar.gz |
Release files / gp_wrapper-0.9.10.tar.gz
| Download URL | gp_wrapper-0.9.10.tar.gz |
|---|---|
| Size | 45.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d1a638c9efbfb73928094738f25435146e0873889e9de6aa124d11391e3c8ed
|
|
BLAKE2b-256 checksum How to use checksums |
95a042a1066cd18e1968d6519aa892aa2da4080b4d76324de12050bcbf2fb1bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Security for gp_wrapper 0.9.10
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.