tominovak33 / pyfire

A basic python wrapper for the Firebase REST API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyfire

A basic python wrapper for the Firebase REST API

Background

Firebase (v.3) has the following available SDKs:

  • Android
  • iOS
  • Web (javascript)
  • C++ (beta)
  • Server Side
    • Java
    • Node.js

Issue

There is no SDK to use with the Google App Engine/Python stack. - This means using the Firebase REST API.

While Python already has some 3rd party wrappers for the Firebase REST API, they ( 1, 2 ) all seem to use the python requests library. and while installing extra python libraries is possible on App Engine the requests library doesn't (and will not) support running on App Engine as GAE doesn't use the same standard library as core Python does. (See links below).

Requests Python Library Issues On App Engine - Stack Overflow

GitHub Issue for the requests library. - Stating GAE support will NOT be added

The App Engine restrictions

App Engine uses the urlfetch library for outbound requests (Read more about their outbound requests here), so that is this project will aim to use

Other useful links:

Generating Firebase JWT with python

Firebase REST API reference

https://firebase.google.com/docs/auth/server/#overview

Authenticating Requests

https://firebase.google.com/docs/reference/rest/database/user-auth

Firebase Query Parameters

https://firebase.google.com/docs/reference/rest/database/#section-query-parameters

About

A basic python wrapper for the Firebase REST API

License:MIT License


Languages

Language:Python 100.0%