Metadata-Version: 2.4
Name: edutap.wallet-google
Version: 2.0.0b3
Summary: Library for Google Wallet Communication
Project-URL: Source, https://github.com/edutap-eu/edutap.wallet_google
Project-URL: Issues, https://github.com/edutap-eu/edutap.wallet_google/issues
Project-URL: Documentation, https://docs.edutap.eu/packages/edutap_wallet_google/index.html
Author-email: Alexander Loechel <Alexander.Loechel@lmu.de>, Philipp Auersperg-Castell <phil@bluedynamics.com>, Jens Klein <jk@kleinundpartner.at>, Robert Niederreiter <office@squarewave.at>
License: EUPL 1.2
License-File: LICENSE
Keywords: api,digital identity,fastapi,google,pass,wallet
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: cryptography
Requires-Dist: google-auth[requests]
Requires-Dist: pydantic-settings
Requires-Dist: pydantic[email]>=2.0
Provides-Extra: callback
Requires-Dist: fastapi; extra == 'callback'
Requires-Dist: httpx; extra == 'callback'
Provides-Extra: develop
Requires-Dist: ipython; extra == 'develop'
Requires-Dist: pdbpp; extra == 'develop'
Provides-Extra: test
Requires-Dist: fastapi; extra == 'test'
Requires-Dist: httpx; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-explicit; extra == 'test'
Requires-Dist: requests-mock; extra == 'test'
Requires-Dist: tox; extra == 'test'
Provides-Extra: typecheck
Requires-Dist: google-auth-stubs; extra == 'typecheck'
Requires-Dist: mypy; extra == 'typecheck'
Requires-Dist: pytest-stub; extra == 'typecheck'
Requires-Dist: types-cryptography; extra == 'typecheck'
Description-Content-Type: text/markdown

# edutap.wallet_google

<p style="text-align:center;">

![PyPI - Version](https://img.shields.io/pypi/v/edutap.wallet_google?logo=python)
[![CI Tests](https://github.com/edutap-eu/edutap.wallet_google/actions/workflows/tests.yaml/badge.svg)](https://github.com/edutap-eu/edutap.wallet_google/actions/workflows/tests.yaml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/edutap-eu/edutap.wallet_google/main.svg)](https://results.pre-commit.ci/latest/github/edutap-eu/edutap.wallet_google/main)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
![GitHub Repo stars](https://img.shields.io/github/stars/edutap-eu/edutap.wallet_google)

</p>

This package provides a Python API to interact with the Google Wallet Restful API to issue and manage digital passes.

It contains:

- an API to create, read, update, list and send messages to Google Wallet classes and objects;
- FastAPI endpoints to receive Google Wallet callback requests and to deliver pass images.

This is supported by
- Pydantic models of the classes, objects, and their data-types according to the Google Wallet documentation;
- an extensible registry for models of these classes and objects;
- a session manager for authorized HTTPS communication with the Google Restful API;
- a plugin system with protocols to decouple the actual business logic for the callback/ image provider.

## Documentation

Read the [complete edutap.wallet_google documentation](https://docs.edutap.eu/packages/edutap_wallet_google/index.html) to get started.

## Source Code

The sources are in a GIT DVCS with its main branches at the [GitHub edutap-eu/edutap.wallet_google repository](https://github.com/edutap-eu/edutap.wallet_google) .

We are looking forward to see many issue reports, forks and pull requests to make the package even better.

## Credits

This project was initiated and initially financed by [LMU München](https://www.lmu.de).

Contributors:

- Alexander Loechel (LMU) - vision, consulting, prototype,
- Philipp Auersperg-Castell (BlueDynamics Alliance) - prototype, make it work and fiddling with Google Wallet internals
- Jens Klein (BlueDynamics Alliance) - API design, cleanup/refactoring, endpoints, tests/CI, release
- Robert Niederreiter (BlueDynamics Alliance) - plugin system
- Simon Lund (LMU) - support for deprecated properties

## License

The code is copyright by eduTAP - EUGLOH Working Package - Campus Life and contributors.

It is licensed under the [EUROPEAN UNION PUBLIC LICENCE v. 1.2](https://opensource.org/license/eupl-1-2/), a free and OpenSource software license.
