Skip to main content

Python client for Tair

Project description

tair-py

Test Format Coverage pypi MIT licensed

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

@Vincil Lau.

Contributing

Feel free to dive in! Open an issue or submit a Pull Request.

License

MIT

Project details


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)

Uploaded Source

Built Distribution

tair-1.0.0-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page