Skip to content

Commit

Permalink
Modifications to naming
Browse files Browse the repository at this point in the history
  • Loading branch information
afropolymath committed May 31, 2016
1 parent 8cb0d26 commit a2aa61e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Python-Fire
# PyFire
[![Build Status](https://travis-ci.org/andela-cnnadi/python-fire.svg?branch=master)](https://travis-ci.org/andela-cnnadi/python-fire) [![Coverage Status](https://coveralls.io/repos/github/andela-cnnadi/python-fire/badge.svg?branch=master)](https://coveralls.io/github/andela-cnnadi/python-fire?branch=master)

Easy to use Firebase Python Plugin. Built as a wrapper around the Firebase REST HTTP API. Syntax is reminiscent of the simple syntax available in Javascript. Inspired by the [python-firebase](https://github.com/ozgur/python-firebase) library by [ozgur](https://github.com/ozgur).
Expand Down Expand Up @@ -29,8 +29,8 @@ books = ref.get()
# Payload data can be declared using native python data types
payload = {'name': 'Harry Potter and the Prisoner of Azkaban', 'pages': 780}

# The add operation pushes a new node under this node
book = ref.add(payload)
# The push operation pushes a new node under this node
book = ref.push(payload)

# We can get the new node id using the name key
id = book['name']
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions samples/sample.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pyfire import Firebase
from pyfirebase import Firebase

firebase = Firebase('https://apitest-72809.firebaseio.com/')

Expand All @@ -11,8 +11,8 @@
# Payload data can be declared using native python data types
payload = {'name': 'Harry Potter and the Prisoner of Azkaban', 'pages': 780}

# The add operation pushes a new node under this node
book = ref.add(payload)
# The push operation pushes a new node under this node
book = ref.push(payload)

# We can get the new node id using the name key
id = book['name']
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from distutils.core import setup


setup(name='python-fire',
setup(name='pyfirebase',
version='1.0',
description="Firebase Python Plugin",
long_description="Built as an improvement on the python-firebase package built by ozgur",
Expand All @@ -19,14 +19,14 @@
'Programming Language :: Python :: 2.7',
'Natural Language :: English',
],
keywords='firebase python python-fire',
keywords='firebase python pyfirebase',
author='Chidiebere Nnadi',
author_email='chidiebere.nnadi@gmail.com',
maintainer='Chidiebere Nnadi',
maintainer_email='chidiebere.nnadi@gmail.com',
url='http://github.com/andela-cnnad/python-fire',
url='http://github.com/andela-cnnadi/pyfirebase',
license='MIT',
packages=['pyfire'],
packages=['pyfirebase'],
test_suite='tests',
tests_require=['pytest'],
install_requires=['requests>=2.10.0', 'mock'],
Expand Down
2 changes: 1 addition & 1 deletion tests/test_firebase.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import mock
from mock import MagicMock
from unittest import TestCase
from pyfire import Firebase, FirebaseReference
from pyfirebase import Firebase, FirebaseReference

TEST_FIREBASE_URL = 'https://samplechat.firebaseio-demo.com'

Expand Down

0 comments on commit a2aa61e

Please sign in to comment.