{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"}],"enrichment":{"capability":"Receives push notifications sent via Firebase Cloud Messaging (FCM) in a Python application by subscribing to GCM/FCM endpoints and handling incoming messages asynchronously.","skillfed_tags":["async-messaging","firebase-integration"],"use_cases":["Receive FCM notifications in a Python backend service or daemon without deploying to Android, iOS, or Web.","Build a notification relay or aggregator that listens to FCM and forwards messages to other systems.","Monitor Firebase-sent alerts in a desktop or CLI application running on a developer's machine.","Integrate FCM message delivery into a Python async framework (e.g., FastAPI, aiohttp) for real-time event handling.","Test FCM notification flows in a Python test suite or integration environment."],"what_it_does":"firebase-messaging is a Python client library for receiving push notifications delivered via Firebase Cloud Messaging (FCM) and Google Cloud Messaging (GCM). It handles the subscription handshake, credential management, and asynchronous message delivery to your application\u2014useful when you need to listen for notifications on a backend or desktop Python process rather than on a mobile or web platform.\n\nThe library runs inside an asyncio event loop and exposes a callback-based API: you provide a notification handler, Firebase credentials, and configuration, then call start() to begin listening. It manages the underlying HTTP/2 connection to FCM, handles encryption/decryption of incoming messages using http-ece and cryptography, and invokes your callback each time a notification arrives. It is not for sending notifications\u2014use the official Firebase SDK for that.","worth_installing":"Yes, if you need to receive FCM notifications in a Python application. The library is actively maintained, has low install friction, carries no known vulnerabilities, and supports modern Python versions. The MIT license imposes no restrictions. Install it only if you are receiving (not sending) notifications and your application is not already running on a supported FCM platform."},"id":"firebase-messaging","links":{"html":"https://skillfed.io/packages/firebase-messaging","md":"https://skillfed.io/packages/firebase-messaging.md","pypi":"https://pypi.org/project/firebase-messaging/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-05-10","license_spdx":null,"license_treatment":"permissive","name":"firebase-messaging","python_support":"supports_current","summary":"FCM/GCM push notification client"},"popularity":{"monthly_downloads":191754,"position":9876,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.5"}
