Skip to content

Commit 9eb9976

Browse files
committed
Merge branch 'master' of github.com:tschellenbach/stream-python
2 parents 7269714 + 614ac90 commit 9eb9976

3 files changed

Lines changed: 21 additions & 96 deletions

File tree

‎README.md‎

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1-
stream-python =========
1+
stream-python
2+
=============
23

34
[![image](https://circleci.com/gh/tschellenbach/stream-python.png?circle-token=ca08d1aa53fd4f9c3255a89bde5cb08c59b9586a)](https://circleci.com/gh/tschellenbach/stream-python/tree/master)
45

5-
![image](https://coveralls.io/repos/tschellenbach/stream-python/badge.png)
6+
[![Coverage Status](https://coveralls.io/repos/tschellenbach/stream-python/badge.png?branch=master)](https://coveralls.io/r/tschellenbach/stream-python?branch=master)
67

7-
> target
8-
> : <https://coveralls.io/r/tschellenbach/stream-python>
9-
>
108
stream-python is a Python client for [Stream](https://getstream.io/).
119

12-
~~~~ {.sourceCode .python}
10+
Installation
11+
============
12+
13+
Install from Pypi
14+
-----------------
15+
16+
```bash
17+
pip install stream-python
18+
```
19+
20+
Usage
21+
=====
22+
23+
```python
1324
# Instantiate a new client
1425
import stream
1526
client = stream.connect('YOUR_API_KEY', 'API_KEY_SECRET')
@@ -35,32 +46,24 @@ user_feed_1.follow('flat:42')
3546

3647
# Stop following another feed
3748
user_feed_1.unfollow('flat:42')
38-
~~~~
49+
```
3950

4051
Docs are available on [GetStream.io](http://getstream.io/docs/).
4152

4253
API docs are on [Read the
4354
docs](http://stream-python.readthedocs.org/en/latest/).
4455

45-
Installation
46-
============
4756

48-
Install from Pypi
49-
-----------------
50-
51-
~~~~ {.sourceCode .bash}
52-
pip install stream-python
53-
~~~~
5457

5558
Contributing
5659
============
5760

5861
First, make sure you can run the test suite. Tests are run via py.test
5962

60-
~~~~ {.sourceCode .bash}
63+
```bash
6164
py.test stream/tests.py
6265
# with coverage
6366
py.test stream/tests.py --cov stream --cov-report html
6467
# against a local API backend
6568
LOCAL=true py.test stream/tests.py
66-
~~~~
69+
```

‎README.rst‎

Lines changed: 0 additions & 78 deletions
This file was deleted.

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from stream import __version__, __maintainer__, __email__
77
import sys
88

9-
long_description = open('README.rst').read()
9+
long_description = open('README.md').read()
1010

1111
unit = 'unittest2py3k' if sys.version_info > (3, 0, 0) else 'unittest2'
1212
tests_require = [

0 commit comments

Comments
 (0)