File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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- >
108stream-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
1425import stream
1526client = stream.connect(' YOUR_API_KEY' , ' API_KEY_SECRET' )
@@ -35,32 +46,24 @@ user_feed_1.follow('flat:42')
3546
3647# Stop following another feed
3748user_feed_1.unfollow(' flat:42' )
38- ~~~~
49+ ```
3950
4051Docs are available on [ GetStream.io] ( http://getstream.io/docs/ ) .
4152
4253API docs are on [ Read the
4354docs] ( 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
5558Contributing
5659============
5760
5861First, make sure you can run the test suite. Tests are run via py.test
5962
60- ~~~~ {.sourceCode . bash}
63+ ``` bash
6164py.test stream/tests.py
6265# with coverage
6366py.test stream/tests.py --cov stream --cov-report html
6467# against a local API backend
6568LOCAL=true py.test stream/tests.py
66- ~~~~
69+ ```
Load diff This file was deleted.
Original file line number Diff line number Diff line change 66from stream import __version__ , __maintainer__ , __email__
77import sys
88
9- long_description = open ('README.rst ' ).read ()
9+ long_description = open ('README.md ' ).read ()
1010
1111unit = 'unittest2py3k' if sys .version_info > (3 , 0 , 0 ) else 'unittest2'
1212tests_require = [
You can’t perform that action at this time.
0 commit comments