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-0.0.3.tar.gz
(9.5 kB
view details)
Built Distribution
tair-0.0.3-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file tair-0.0.3.tar.gz
.
File metadata
- Download URL: tair-0.0.3.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22b4b753cf6d86081ef848b2e3a137743d96dfd7cb24e5aeb5cd02e310470b0a |
|
MD5 | b1179668be57af213622e21c5ca264c4 |
|
BLAKE2b-256 | bc540e6d626d3147ee407946311ca8f30d1173849a720d55886e1874bf26e283 |
File details
Details for the file tair-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: tair-0.0.3-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84edba6aae193cfc5051ba29d73d4f84adad8846942d479c78664ff85bf024ab |
|
MD5 | b167fdcd3fdd50a7ccdaf4a5389b8067 |
|
BLAKE2b-256 | fcd587847e291aabae5bebc2491dd68f979e329ef65d2683e510d08017170423 |