Connect to Tair
Connect to Tair: First, add it to your environment variables. Connecting to a running instance of Tair server is easy with the official Python library. # The format of URL: redis://[[username]:[password]]@localhost:6379/0 TAIR_URL = getpass.getpass('Input your tair URL:') from tair import Tair as TairClient url = TAIR_URL client = TairClient.from_url(url) We can test the connection by ping: client.ping()