Skip to content

Commit a413755

Browse files
committed
Move text and remove binder badge
1 parent 5195093 commit a413755

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

content/develop/clients/redis-py/_index.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ pip install redis[hiredis]
4848

4949
Connect to localhost on port 6379, set a value in Redis, and retrieve it. All responses are returned as bytes in Python. To receive decoded strings, set `decode_responses=True`. For more connection options, see [these examples](https://redis.readthedocs.io/en/stable/examples.html).
5050

51+
{{< note >}}
52+
53+
You can try this code out in a [Jupyter notebook on Binder](https://redis.io/binder/v2/gh/redis/binder-launchers/python-client?urlpath=%2Fdoc%2Ftree%2Fdemo.ipynb).
54+
55+
{{< /note >}}
56+
5157
```python
5258
r = redis.Redis(host='localhost', port=6379, decode_responses=True)
5359
```
@@ -76,13 +82,6 @@ r.hgetall('user-session:123')
7682
# {'surname': 'Smith', 'name': 'John', 'company': 'Redis', 'age': '29'}
7783
```
7884

79-
## Try this out
80-
81-
You can try this code out in a Jupyter notebook on Binder.
82-
83-
[![Binder](https://mybinder.org/badge_logo.svg)](https://redis.io/binder/v2/gh/redis/binder-launchers/python-client?urlpath=%2Fdoc%2Ftree%2Fdemo.ipynb)
84-
85-
8685
## More information
8786

8887
The [`redis-py`](https://redis.readthedocs.io/en/stable/index.html) website

0 commit comments

Comments
 (0)