Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

edutap.wallet_google

PyPI - Version CI Tests pre-commit.ci status Ruff

Python library for creating and managing digital passes in Google Wallet.

Digital passes are mobile tickets, membership cards, event tickets, loyalty cards, or coupons that users store in their smartphone's Google Wallet app—like a digital version of the cards in your physical wallet.

What This Library Does

This package lets you:

  • Create digital passes (event tickets, membership cards, loyalty cards, etc.)
  • Update passes already in users' wallets
  • Send notifications to pass holders
  • List and manage your issued passes
  • Handle callbacks when users save or delete passes

Both sync and async APIs are supported out of the box.

Quick Start

pip install edutap.wallet_google
from edutap.wallet_google import api

# Create a pass class (template)
my_class = api.new("GenericClass", {
    "id": "your-issuer-id.your-class-name",
    "classTemplateInfo": {"cardTemplateOverride": {"cardRowTemplateInfos": [...]}}
})
api.create(my_class)

# Create a pass object (the actual pass)
my_pass = api.new("GenericObject", {
    "id": "your-issuer-id.unique-pass-id",
    "classId": "your-issuer-id.your-class-name",
    "state": "ACTIVE"
})
api.create(my_pass)

# Generate "Add to Google Wallet" link
link = api.save_link([my_pass])

Documentation

Complete Documentation

Features

  • Complete Google Wallet API coverage - All pass types supported
  • Type-safe - Full Pydantic models matching Google's schema
  • Sync + Async - Use the API style that fits your application
  • FastAPI integration - Ready-made endpoints for callbacks and images
  • Signature verification - Cryptographic validation of Google's callbacks
  • Modern Python - Built with httpx, Pydantic v2, and Python 3.10+

Requirements

  • Python 3.10 or later (3.13 recommended)
  • Google Cloud Project with Google Wallet API enabled
  • Service account credentials (see documentation)

License

EUPL 1.2 (European Union Public Licence)

Credits

Developed by the eduTAP - EUGLOH Working Package - Campus Life team:

  • Alexander Loechel (LMU München) - Vision & consulting
  • Philipp Auersperg-Castell (BlueDynamics Alliance) - Core implementation
  • Jens Klein (BlueDynamics Alliance) - API design & testing
  • Robert Niederreiter (BlueDynamics Alliance) - Plugin architecture
  • Simon Lund (LMU München) - Maintenance

Initial financing: LMU München

Parts of the refactoring and code modernization were assisted by AI with Claude Code.

Contributing? We welcome issues and pull requests at github.com/edutap-eu/edutap.wallet_google

Release files for edutap.wallet-google 3.0.0b2

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

Source distribution (sdist)

Source distribution for edutap.wallet-google 3.0.0b2
File Size Uploaded
edutap_wallet_google-3.0.0b2.tar.gz 143.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for edutap.wallet-google 3.0.0b2
File Interpreter ABI Platform
edutap_wallet_google-3.0.0b2-py3-none-any.whl Python 3 none any Details

Total release size: 207.5 kB

Release files / edutap_wallet_google-3.0.0b2.tar.gz

Download URL edutap_wallet_google-3.0.0b2.tar.gz
Size 143.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f16ace8761b83ef6a38bb10b26a117aa16f7a2fa1ca4cb6d6faa14f168d14863
BLAKE2b-256 checksum
How to use checksums
02ef07cd6b5d5236c511e0504b676540c0bd5ae0ff616ed7ca753585797e5786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 16, 2026.

Transparency log

Release files / edutap_wallet_google-3.0.0b2-py3-none-any.whl

Download URL edutap_wallet_google-3.0.0b2-py3-none-any.whl
Size 64.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c20eaabd183cb0b7aaf32927d8a6a8295a87419eede7813184236ef535a38991
BLAKE2b-256 checksum
How to use checksums
36a3a9bf37d6fa016d515b4650c05482ea9287c29d2c0feb252438567ec3ddd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 16, 2026.

Transparency log
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