• This repository has been archived on 26/Aug/2019
  • Stars
    star
    118
  • Rank 298,798 (Top 6 %)
  • Language
    Python
  • Created about 12 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

⛔️ [DEPRECATED] python wrapper for Firebase's REST API

⛔️ DEPRECATED

No Maintenance Intended

python-firebase has been unmaintained for years and is no longer supported. Please consider using another library instead.

python-firebase

http://github.com/mikexstudios/python-firebase by Michael Huynh ([email protected])

Purpose:

A very simple wrapper for Firebase's REST API.

How to use

  1. Install python-firebase using pip:

    pip install -e git://github.com/mikexstudios/python-firebase.git#egg=python-firebase
    

    or with easy_install (not recommended):

    easy_install http://github.com/mikexstudios/python-firebase/tarball/master
    

    Note that python-firebase depends on requests (http://python-requests.org), a REST/http client for python. If you used pip or easy_install, the dependency should automatically be installed.

  2. Then simply import firebase at the top of your python script:

    from firebase import Firebase
    

    and then instantiate Firebase, passing in your root url:

    f = Firebase('https://SampleChat.firebaseIO-demo.com/')
    

    You may optionaly pass a Firebase authentication token to secure your calls:

    f = Firebase('http://SampleChat.firebaseIO-demo.com/', auth_token="<my_firebase_auth_token>")
    

    Now call the different methods of the Firebase class (see the Firebase REST API page: http://www.firebase.com/docs/rest-api.html and the source of firebase/__init__.py for what methods are available and how to call them). For example, to push a list of data:

    f = Firebase('https://SampleChat.firebaseIO-demo.com/message_list')
    r = f.push({'user_id': 'wilma', 'text': 'Hello'})
    

    The response r is a dictionary containing Firebase's REST response:

    {"name":"-INOQPH-aV_psbk3ZXEX"}
    

License

django-firebase is BSD licensed.

More Repositories

1

dokku-nginx-alt

Alternative nginx plugin for dokku. Supports multiple domains and custom nginx.conf.
Shell
35
star
2

dokkuapp.com

Automatic subdomains for dokku deployed apps.
Ruby
10
star
3

transmission-seedbox

Simple docker-compose Transmission torrent seedbox with web UI
9
star
4

pythonica

Mirror of defunct code to parse Mathematica syntax in python
Python
8
star
5

dokku-app-configfiles

Allows dokku app config files to be taken from app's git repository
Shell
7
star
6

django-messages-framework

Mirror of django (dev)'s messages framework; backport branch works with 1.1.1.
Python
7
star
7

acestream-web

Docker image for running Acestream with an HTTP API for HLS playback
Python
6
star
8

citeulike-parser

Mirror of CiteULike's journal parser and plugins
Perl
6
star
9

wagcode

Code written for my research in the WAG group at Caltech
Python
3
star
10

supple_php_wiki

a basic wiki with user permissions written on codeigniter (PHP)
PHP
3
star
11

python-crocodoc

python library for crocodoc's API
Python
2
star
12

serp

a search engine ranking tracking app for keywords (2010)
Python
2
star
13

mitirc

frontend to MIT IRC
Python
2
star
14

django-empty

My base setup for a new django project.
2
star
15

noceracode

Code written in Nocera Lab
Jupyter Notebook
2
star
16

django-fakewall

Simple middleware that shows a "maintenance" page unless secret code is entered.
2
star
17

qwebirc

My own modifications on qwebirc
JavaScript
2
star
18

zephyrlog

Logging MIT zephyr messages to firebase
Python
2
star
19

django-auth-longer-email

Simple django app that patches auth.User's email field to 254 char.
Python
2
star
20

django-autotest

Automatically runs 'test' command upon file change.
2
star
21

django-voting

Mirror of django-voting project: A generic voting application for Django
Python
2
star
22

dokku-dokkuapp

dokkuapp.com plugin for dokku to automatically obtain a subdomain upon deploy
Shell
2
star
23

supple_php_wiki_com

Multiuser/wiki signup interface for supple_php_wiki
PHP
1
star
24

random

Random bits of code that's too small to create separate repositories for each.
1
star
25

mikexstudios.github.com

My homepage
CSS
1
star
26

dotfiles

My dotfiles
Vim Script
1
star
27

karuko

a powerful web calculator
JavaScript
1
star
28

gread

Incomplete Google Reader Clone in Rails (2013)
Ruby
1
star
29

mitauth

CAS auth provider for MIT's SSL Certificates for scripts.mit.edu
1
star
30

papersdb

an elegant scientific paper management webapp (2011)
CSS
1
star
31

s3cache

Proxy for S3 that caches files to save bandwidth. Built using docker + Caddy + gunicorn + flask.
Python
1
star
32

memorize_chinese

web app that implements simple spaced repetition algorithm to memorize chinese characters (2007)
PHP
1
star
33

clwatcher

Crude django app that watches craigslist for items.
1
star