{"id":14973067,"url":"https://github.com/firebase/firebase-functions-python","last_synced_at":"2025-05-15T13:04:47.082Z","repository":{"id":65636941,"uuid":"529044209","full_name":"firebase/firebase-functions-python","owner":"firebase","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-04T13:28:49.000Z","size":619,"stargazers_count":150,"open_issues_count":25,"forks_count":26,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-15T03:49:43.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firebase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-25T23:03:16.000Z","updated_at":"2025-04-10T03:12:57.000Z","dependencies_parsed_at":"2023-02-17T10:45:39.379Z","dependency_job_id":"ef5385c8-1eaa-470a-9188-c0cca2609e64","html_url":"https://github.com/firebase/firebase-functions-python","commit_stats":{"total_commits":212,"total_committers":19,"mean_commits":"11.157894736842104","dds":0.4764150943396226,"last_synced_commit":"f51659435461ff6c9ccd77e14132e428262f4a2b"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-functions-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firebase","download_url":"https://codeload.github.com/firebase/firebase-functions-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003943,"owners_count":21196794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:48:02.590Z","updated_at":"2025-04-15T03:49:51.485Z","avatar_url":"https://github.com/firebase.png","language":"Python","readme":"# Cloud Functions for Firebase Python SDK (Public Preview)\n\nThe [`firebase-functions`](https://pypi.org/project/firebase-functions/) package provides an SDK for defining Cloud Functions for Firebase in Python.\n\nCloud Functions provides hosted, private, and scalable environment where you can run server code. The Firebase SDK for Cloud Functions integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.\n\n## Learn more\n\nLearn more about the Firebase SDK for Cloud Functions in the [Firebase documentation](https://firebase.google.com/docs/functions/) or [check out our samples](https://github.com/firebase/functions-samples).\n\nHere are some resources to get help:\n\n- Start with the quickstart: https://firebase.google.com/docs/functions/get-started\n- Go through the guide: https://firebase.google.com/docs/functions/\n- Read the full API reference: https://firebase.google.com/docs/reference/functions/2nd-gen/python\n- Browse some examples: https://github.com/firebase/functions-samples\n\nIf the official documentation doesn't help, try asking through our official support channels: https://firebase.google.com/support/\n\n## Usage\n\n```python\n# functions/main.py\nfrom firebase_functions import db_fn\nfrom notify_users import api\n\n@db_fn.on_value_created(reference=\"/posts/{post_id}\")\ndef new_post(event):\n    print(f\"Received new post with ID: {event.params.get('post_id')}\")\n    return notifyUsers(event.data)\n```\n\n## Contributing\n\nTo contribute a change, [check out the contributing guide](.github/CONTRIBUTING.md).\n\n## License\n\n© Google, 2023. Licensed under [Apache License](LICENSE).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Ffirebase-functions-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirebase%2Ffirebase-functions-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Ffirebase-functions-python/lists"}