Python client for Tair
Project description
tair-py
English | 简体中文
tair-py is a Python client of Tair based on redis-py. The following modules of Tair are supported.
Install
Install from pip:
pip install tair
Install from source:
git clone https://github.com/alibaba/tair-py.git
cd tair-py
python setup.py install
Usage
tair-py supports Python 3.7+.
>>> import tair
>>> t = tair.Tair(host='localhost', port=6379, db=0)
>>> t.exset('foo', 'bar')
b'OK'
>>> t.exget('foo')
[b'bar', 1]
Maintainers
Contributing
Feel free to dive in! Open an issue or submit a Pull Request.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tair-1.0.0.tar.gz
(9.7 kB
view hashes)
Built Distribution
tair-1.0.0-py3-none-any.whl
(13.8 kB
view hashes)