Skip to content

Commit

Permalink
Merge pull request #16 from david4096/readme_fixes
Browse files Browse the repository at this point in the history
Readme fixes
  • Loading branch information
david4096 authored Jul 26, 2017
2 parents 51aa365 + 69baa04 commit 54921f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,7 @@ need access to a redis instance, or can start one using docker:

## Python client

The celldb python client communicates with Phoenix over protocol buffers using
the `phoenixdb` python module. It implements a superset of the DB 2.0 API and
can be used to execute arbitrary SQL easily.

```
import celldb
connection = celldb.connect("http://localhost:8765")
cursor = celldb.initialize(connection)
cursor.execute("SELECT * from Expression")
cursor.fetchall()
```

The client also contains a number of convenience functions. Check out the
The client contains a number of convenience functions. Check out the
[notebooks](https://github.com/david4096/celldb/blob/master/notebooks/python-getting-started.ipynb) for examples of how it can be used.

```
Expand Down
4 changes: 2 additions & 2 deletions README.pypi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Database for functional genomics.

::

docker run -itd -p 8765:8765 david4096/docker-phoenix
pip install https://github.com/david4096/celldb.git@master
docker run -itd -p 6379:6379 redis
pip install celldb
jupyter notebook notebooks/getting-started.ipynb
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
namespace_packages=["celldb"],
zip_safe=False,
url="https://github.com/david4096/celldb",
version=1.0,
version=2.0,
entry_points={
'console_scripts': [] # TODO add one for SQL line
},
Expand Down

0 comments on commit 54921f7

Please sign in to comment.