Skip to main content

gp_wrapper v=0.9.3

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.

  • GooglePhotos class - wrapper over authenticated HTTP session
  • Album Class - handles all of the global and instance methods for an Album
  • MediaItem Class - 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

  1. Create a Google Cloud Console project
  2. Enable google photos API here
  3. Fill information here
    1. Fill application name and detail
    2. Apply scopes
      1. https://www.googleapis.com/auth/photoslibrary,
      2. https://www.googleapis.com/auth/photoslibrary.appendonly
      3. https://www.googleapis.com/auth/photoslibrary.sharing
      4. https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata
    3. Add a google account as a Test User which will be able to use you project as an 'end user'
  4. Extract relevant data for client_secrets.json
  5. pip install gp_wrapper
  6. See example here

Metadata

Release files for gp_wrapper 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gp_wrapper 0.9.3
File Size Uploaded Provenance Actions
gp_wrapper-0.9.3.tar.gz 27.8 kB Without provenance Details for gp_wrapper-0.9.3.tar.gz

Release files / gp_wrapper-0.9.3.tar.gz

Download URL gp_wrapper-0.9.3.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
db352e9f093bebf2c947dde2de9057e01fcbbbe9d0ef7642bc69cb812372a3aa
BLAKE2b-256 checksum
How to use checksums
d1a54ec7a165e07c770e95c60247eb84ce28413f9f7a5ba88c6c79e9019bacbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for gp_wrapper 0.9.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page