Connecting to Redis¶
Anaconda Enterprise enables you to easily connect to a Redis in-memory database.
Before you can do so, however, you’ll need to pip install the Python package required to connect to Redis servers:
NOTE: Any packages you install from the command line are available during the current session only. If you want them to persist, add them to the project’s anaconda-project.yml
file. For more information, see Developing a project.
You can then import the library and use code such as this to connect to Redis from within a notebook session: