freshcrate
Home > Developer Tools > firebase-admin

firebase-admin

Firebase Admin Python SDK

Description

The Firebase Admin Python SDK enables server-side (backend) Python developers to integrate Firebase into their services and applications.

Release History

VersionChangesUrgencyDate
7.4.0Imported from PyPI (7.4.0)Low4/21/2026
v7.4.0 ### New Features * feat(fpnv): Add support for Firebase Phone Number Verification (#942) ### Miscellaneous * [chore] Release 7.4.0 (#944) * chore(deps): bump respx from 0.22.0 to 0.23.1 (#943)Medium4/9/2026
v7.3.0 ### New Features * feat(fcm): Add support for bandwidth constrained and restricted satellite APIs (#940) ### Miscellaneous * [chore] Release 7.3.0 (#941) * Remove debug print for HTTP status error (#939)Low3/19/2026
v7.2.0 ### New Features * feat(functions): Enable Cloud Task Queue Emulator support (#920) ### Bug Fixes * fix(functions): Refresh credentials before enqueueing first task (#907) * fix(auth): Fixed auth error code parsing (#908) ### Miscellaneous * [chore] Release 7.2.0 (#937) * chore: Update release workflows for push triggers (#935) * chore: Update github actions workflows and integration test resources (#932) * chore: Update default branch to `main` (#926) * chore: Fix auth snippet typo (#924)Low2/25/2026
v7.1.0### New Features * feat(auth): Update `ActionCodeSettings` to support `link_domain` and deprecate `dynamic_link_domain` (#884) ### Miscellaneous * [chore] Release 7.1.0 (#903)Low7/31/2025
v7.0.0### Breaking Changes * Dropped support for Python 3.7 and 3.8 (#892) * Deprecated support for Python 3.9. Use Python 3.10 or higher when deploying the Admin SDK (#892) * Dropped AutoML support (#894) * Dropped `send_all()` and `send_multicast()` FCM APIs (#890) * Removed the dependency on `google-api-python-client` greatly reducing the SDK's bundle size. (#890) ### Bug Fixes * fix(functions): Remove usage of deprecated `datetime.utcnow()` and fix flaky unit test (#896) ### MiscelLow7/17/2025
v6.9.0### New Features * feat(fcm): Add `live_activity_token` to `APNSConfig` (#880) * feat(fcm): Add `send_each_async` and `send_each_for_multicast_async` for FCM async and HTTP/2 support (#882) ### Miscellaneous * [chore] Release 6.9.0 (#885) * refactor: Optimize success count calculation in BatchResponse (#837) * chore: Use mock time for consistent token generation and verification tests (#881) * chore: Correct x-goog-api-client header logic (#876)Low6/5/2025
v6.8.0 ### New Features * feat(fcm): Support `proxy` field in FCM `AndroidNotification` (#868) ### Miscellaneous * [chore] Release 6.8.0 (#874) * Python 3.8 has EoL"ed. Update README to deprecate Python 3.8 support (#873)Low4/24/2025
v6.7.0 ### New Features * feat(rc): Sever Side Remote Config Integration (#863) ### Miscellaneous * [chore] Release 6.7.0 (#867) * chore: Add tests for `Reference.listen()` (#851) * pass clinet"s params to SSEClient (#845) * Revert "chore: Adding delayed response message for holidays (#842)" (#848) * chore: Adding delayed response message for holidays (#842) * chore: Skip integration test for deprecated FCM API and bump pypy CI to 3.9 (#840)Low3/12/2025
v6.6.0 ### New Features * feat(firestore): Upgrade `google-cloud-firestore` to support Firestore Multi Database (#827) * feat: Support passing `google.auth` typed credentials in `initialize_app()` (#821) * feat(firestore): Add Firestore Multi Database Support (#818) ### Miscellaneous * [chore] Release 6.6.0 Take 2 (#830) * [chore] Release 6.6.0 (#829) * chore: Add `X-Goog-Api-Client` metric header to requests (#826) * chore: Create dependabot.yml (#820) * [chore] Bump cachecontrol (#819) * chore: ULow11/7/2024
v6.5.0 ### New Features * feat(functions): Add task queue API support (#770) ### Bug Fixes * fix: doc quotes (#778) * fix: doc spacing (#775) ### Miscellaneous * [chore] Release 6.5.0 (#779) * Export rate limiting error types `TooManyAttemptsTryLaterError` and `ResetPasswordExceedLimitError` (#777) * Add rate limiting exceptions. (#695) * [chore] Rename pytest teardown methods from deprecated `teardown` to `teardown_method` (#768) * [chore] Upgrade `actions/setup-python` to v5 (#765)Low3/11/2024
v6.4.0 ### New Features * feat(fcm): Enabled the `direct_boot_ok` parameter for FCM Android Config. (#734) ### Bug Fixes * fix(fcm): Export `send_each` and `send_each_for_multicast` (#749) * fix(auth): Fix iOSBundleId parameter name (#727) ### Miscellaneous * [chore] Release 6.4.0 Take 3 (#763) * [chore] Release 6.4.0 Take #2 (#762) * [chore] Release 6.4.0 (#760) * chore: Update PyPi to use trusted publisher for authentication and correctly escape change log body. (#759) * Revert "[chore] ReleaseLow1/23/2024
v6.3.0### New Features * feat: add clockSkewSeconds (#714) ### Bug Fixes * fix: Add `PyJWKClientError` to raised errors documentation and handle possible uncaught errors. (#733) * fix: Correctly catch DefaultCredentialsError when looking up project_id (#720) ### Miscellaneous * [chore] Release 6.3.0 (#742) * Deprecated support for Python 3.7 (#741) * Update `github.ref` value in `release.yml` (#730)Low12/5/2023
v6.2.0### New Features * feat(fcm): Add `send_each` and `send_each_for_multicast` for FCM batch send (#706) ### Miscellaneous * [chore] Release 6.2.0 (#708) * Add release notes to project URLs in PyPI (#679) * chore(auth): Update Auth API to `v2` (#691) * chore: Fix pypy tests (#694)Low6/22/2023
v6.1.0### Breaking Changes * change(ml): Deprecate AutoML model support (#670) ### Miscellaneous * [chore] Release 6.1.0 (#672) * chore(firestore): Upgrade google-cloud-firestore to include COUNT queries (#671)Low2/2/2023
v6.0.1### Bug Fixes * fix(fac): Include pyjwt in distribution artifacts (#654) ### Miscellaneous * [chore] Release 6.0.1 (#655) * password_hash obtained from Firebase Auth backend needs to be base64URL decoded before import to avoid double encoding (#652)Low10/17/2022
v6.0.0### Breaking Changes * change: Drop Python 3.6 support (#645) ### New Features * feat: Add function to verify an App Check token (#642) ### Miscellaneous * [chore] Release 6.0.0 (#649)Low10/6/2022
v5.4.0### Breaking Changes * change: Deprecated support for Python 3.6 (#646) ### Miscellaneous * [chore] Release 5.4.0 (#647) * Bug fix - Changing variable from "MemoryCost" to "cpuMemCost" in standard_scrypt method (#643)Low9/22/2022
v5.3.0### New Features * feat(firestore): Async Firestore (#635) ### Miscellaneous * [chore] Release 5.3.0 (#637) * Remove failing nightly tests in project_management (#636) * add GitHub URL for PyPi (#613) * Revert "Add delayed response message for holidays (#597)" (#600) * chore: Update Node.js version in CI workflow (#602) * Add delayed response message for holidays (#597)Low8/25/2022
v5.2.0### New Features * feat(auth): enables OIDC auth code flow (#549) ### Miscellaneous * [chore] Release 5.2.0 (#596) * Fixing integration tests (#595) * correct kwargs documentation in docstrings (#559) * Added return type for `bucket` function (#591)Low12/15/2021
v5.1.0### New Features * feat(auth): ability to delete provider in auth (#579) ### Bug Fixes * fix: Fixing a broken integration test (#582) * fix: Extracting GAPIC API calls into a new module (#581) ### Miscellaneous * [chore] Release 5.1.0 (#587)Low11/4/2021
v5.0.3### Miscellaneous * [chore] Release 5.0.3 (#580) * Allows google-api-core[grpc] versions 2.X.X (#576) * Speed up the PageIterator by evaluating items once per page (#572)Low9/23/2021
v5.0.2### Bug Fixes * fix(auth): check if user disabled on check_revoked (#565) * fix(fcm): A workaround for the concurrency issues in googleapiclient (#558) ### Miscellaneous * [chore] Release 5.0.2 (#567) * chore: Configuring GitHub issue templates (#562)Low8/13/2021
v5.0.1### Bug Fixes * fix(auth): adds missing EMAIL_NOT_FOUND error code (#550) ### Miscellaneous * [chore] Release 5.0.1 (#557)Low6/17/2021
v5.0.0### Breaking Changes * change: Drop Python 3.5 support (#542) ### New Features * feat(auth): Add auth emulator support via the FIREBASE_AUTH_EMULATOR_HOST environment variable. (#531) ### Bug Fixes * fix: Accept Path-like objects in credential factory functions (#510) * fix: Using alg=none header for custom tokens in emulator mode (#541) * fix(auth): Setting httpTimeout on certificate fetch requests (#538) ### Miscellaneous * [chore] Release 5.0.0 (#547) * Fix Typo in messaging.py (#546) Low4/28/2021
v4.5.3### Bug Fixes * fix(auth): Make auth client respect app options httpTimeout (#536) ### Miscellaneous * [chore] Release 4.5.3 (#537)Low3/18/2021
v4.5.2### Miscellaneous * [chore] Release 4.5.2 (#533) * Remove use of method_whitelist when possible (#532)Low2/18/2021
v4.5.1### Bug Fixes * fix(rtdb): Support parsing non-US RTDB instance URLs (#517) ### Miscellaneous * [chore] Release 4.5.1 (#527) * Add Py3.9 support (#525) * Remove delayed response message for holidays (#526) * Adding delayed response message for holidays (#520)Low1/12/2021
v4.5.0### Changes * change: Deprecated support for Python 3.5 (#511) ### Bug Fixes * fix(fcm): Converting unexpected gapic runtime errors to FirebaseError (#509) ### Miscellaneous * [chore] Release 4.5.0 (#516) * Fixed typo in code comments. (#497)Low12/9/2020
v4.4.0### New Features * feat(ml): Adding Firebase ML support for AutoML models (#489) ### Miscellaneous * [chore] Release 4.4.0 Take 2 * [chore] Release 4.4.0 (#490) * chore: Temporarily disabling a lint rule (#485) * Fix doc spelling (#486) * Fixed a flaky auth integration test by retrying the GetUser() API call (#469) * Add auth bulk get/delete snippets (#464)Low9/15/2020
v4.3.0### New Features * feat(auth): Add bulk get/delete methods (#400) ### Miscellaneous * [chore] Release 4.3.0 (#462) * Followup to #400 to ensure all new types are exported (#461) * Firebase ML: fixed displayName and tags regexes to match changed backend requirements. (#459) * Move shebang to top of file. (#458)Low5/14/2020
v4.2.0### New Features * feat(auth): Adding multi-tenancy and IdP management APIs (#450) ### Bug Fixes * fix(auth): Fixed some API reference mistakes (#456) ### Miscellaneous * [chore] Release 4.2.0 (#457)Low4/30/2020
v4.1.0### New Features * feat(ml): Adding Firebase ML management APIs (#447) ### Miscellaneous * [chore] Release 4.1.0 * Revert "[chore] Release 4.1.0 (#451)" (#452) * [chore] Release 4.1.0 (#451)Low4/21/2020
v4.0.1### Bug Fixes * fix(rtdb): Fixed a bug in the Reference.listen() API (#418) * fix(fcm): Updated topic management error format (#417) ### Miscellaneous * [chore] Release 4.0.1 (#434) * chore: Cleaning up scripts used in the old release process (#416)Low3/30/2020
v4.0.0### Breaking Changes * chore: Removing Python 3.4 support (#389) * Removing Python 2 support (#381) ### Bug Fixes * fix(fcm): Passing params as keyword arguments to googleapiclient (#414) * fix(fcm): Convert event_time to UTC (#403) * fix: Setting a default timeout on all HTTP connections (#397) ### Miscellaneous * [chore] Release 4.0.0 (#415) * chore: Implementing Pypi publish and Tweet steps (#410) * Updated release trigger mechanisms (#409) * chore: Making the separation Low2/24/2020
v3.2.1### Cloud Messaging - [Fixed] Boolean parameters in `AndroidNotification` are now correctly encoded.Low12/11/2019
v3.2.0### Cloud Messaging - [Feature] Added a series of new parameters to the `AndroidNotification` class that allow further customization of notifications that target Android devices. - [Fixed] Batch messaging APIs `send_all()` and `send_multicast()` now support sending up to 500 messages in a single call.Low11/13/2019
v3.1.0### Authentication - [Fixed] User management APIs now correctly raise `auth.EmailAlreadyExistsError` when an already in-use email address is specified for a user. - [Feature] Added `auth.InsufficientPermissionError` type to represent operations that fail due to the credential lacking a required permission. ### Cloud Messaging - [Fixed] `Message` class now implements the `__str__()` contract which can be used to obtain a string representation of a `Message` instance.Low10/23/2019
v3.0.0**Note: This is a major release with breaking changes. Refer to the [migration guide](https://firebase.google.com/docs/admin/migrate-python-v3) for details on how to port your code to the new API.** - [Changed] Python 2.7 support is now deprecated. Developers are advised to use Python 3.4 or higher to run the Admin SDK. - [Changed] Removed old module-level exception types `auth.AuthError`, `db.ApiCallError`, `messaging.ApiCallError`, `instance_id.ApiCallError` and `project_management.ApiCallLow9/11/2019
v2.18.0### Cloud Messaging - [Feature] Added support for specifying the analytics label for notifications. Thanks [willawang8908](https://github.com/willawang8908) for the [contribution](https://github.com/firebase/firebase-admin-python/pull/310). - [Feature] Added support for arbitrary key-value pairs in `messaging.ApsAlert`. Thanks [viktorasl](https://github.com/viktorasl) for the [contribution](https://github.com/firebase/firebase-admin-python/pull/322). - [Fixed] The `WebpushFcmOptions` type iLow8/21/2019
v2.17.0### Firebase Cloud Messaging - A new [`messaging.send_multicast()`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.messaging#send_multicast) API for sending a message to a list of device registration tokens. Thanks [ZachOrr](https://github.com/ZachOrr) for the [contribution](https://github.com/firebase/firebase-admin-python/pull/283). - A new [`messaging.send_all()`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.messaging#send_all) API for senLow5/23/2019
v2.16.0- Added `generate_password_reset_link()`, `generate_email_verification_link()` and `generate_sign_in_with_email_link()` methods to the `auth` API. - Migrated the `auth` user management API to the new Identity Toolkit endpoint. - Extending HTTP retries to more HTTP methods like POST and PATCH.Low2/21/2019
v2.15.1* Implemented HTTP retries. The SDK now retries HTTP calls on low-level connection and socket read errors, as well as HTTP 500 and 503 errors.Low1/23/2019
v2.15.0- Dropped support for Python 3.3. Developers on Python 3 must use 3.4 or higher. Support for Python 2.7 has not changed. - Declared a direct dependency on `google-api-core[grpc]` in order to resolve some long-standing Firestore installation problems. ### Firebase Cloud Messaging - The [`messaging.Aps`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.messaging#aps) class now supports configuring a critical alert sound. A new [`messaging.CriticalSound`](https://firebaLow1/16/2019
v2.14.0- A new [`project_management`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.project_management) API for managing apps in a Firebase project. - New `list_android_apps()` and `list_ios_apps()` methods for listing the existing apps in a project. - New `create_android_app()` and `create_ios_app()` methods for creating new apps in a project. - New [`AndroidApp`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.project_management#androidapp) and [`IosLow12/4/2018
v2.13.0### Database - The [`db.Reference`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.db#reference) type now provides a `listen()` API for receiving realtime update events from the Firebase Database. Thanks [the-c0d3r](https://github.com/the-c0d3r) and [rizasif](https://github.com/rizasif) for the [contributions](https://github.com/firebase/firebase-admin-python/pull/183). - The [`db.reference()`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.db#Low8/21/2018
v2.12.0- The Admin SDK can now read the Firebase/Google Cloud Platform project ID from both `GCLOUD_PROJECT` and `GOOGLE_CLOUD_PROJECT` environment variables. ### Authentication - The Admin SDK can now create custom tokens without being initialized with service account credentials. - The SDK now accepts a `serviceAccountId` app option, which can be used to set just the client email of a service account. - When deployed in an environment managed by Google (e.g. Google App Engine), the SDK can auLow7/17/2018
v2.11.0* [added] A new `auth.import_users()` API for importing users into Firebase Auth in bulk. * [fixed] The `db.Reference.update()` function now accepts dictionaries with `None` values. This can be used to delete child keys from a reference.Low5/31/2018
v2.10.0### Authentication - A new [`create_session_cookie()`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#create_session_cookie) method for creating a session cookie from a Firebase ID token. - A new [`verify_session_cookie()`](https://firebase.google.com/docs/reference/admin/python/firebase_admin.auth#verify_session_cookie) method for validating a given session cookie string. - The `auth` module now caches the public key certificates used to verify ID tokens and seLow4/12/2018
v2.9.1### Cloud Messaging - [changed] Improved error handling in FCM by mapping more server-side errors to client-side error codes. See [documentation](https://firebase.google.com/docs/cloud-messaging/admin/errors). - [changed] The `messaging` module now supports specifying an HTTP timeout for all egress requests. Pass the `httpTimeout` option to `firebase_admin.initialize_app()` before invoking any functions in `messaging`.Low3/15/2018
v2.9.0### Firebase Cloud Messaging - A new [`firebase_admin.messaging`](/docs/reference/admin/python/firebase_admin.messaging) module for sending `messaging` messages and managing topic subscriptions. - A new [`send()`](/docs/reference/admin/python/firebase_admin.messaging#send) function for sending `messaging` messages. - A new [`subscribe_to_topic()`](/docs/reference/admin/python/firebase_admin.messaging#subscribe_to_topic) function for subscribing a list of device registration tokens Low2/14/2018

Dependencies & License Audit

Loading dependencies...

Similar Packages

pyinstaller-hooks-contribCommunity maintained hooks for PyInstaller2026.4
modalPython client library for Modal1.4.2
azure-coreMicrosoft Azure Core Library for Pythonazure-template_0.1.0b6187637
azure-mgmt-coreMicrosoft Azure Management Core Library for Pythonazure-template_0.1.0b6187637
azure-monitor-opentelemetry-exporterMicrosoft Azure Monitor Opentelemetry Exporter Client Library for Pythonazure-template_0.1.0b6187637