Aliyun TableStore(OTS) SDK
Project description
概述
此Python SDK基于 阿里云表格存储服务 API构建。
阿里云表格存储是构建在阿里云飞天分布式系统之上的NoSQL数据存储服务,提供海量结构化数据的存储和实时访问。
运行环境
安装Python即可运行,支持python2.6、Python2.7、python3.3、python3.4、python3.5和python3.6。
安装方法
PIP安装
$ pip install tablestore
Github安装
下载源码
$ git clone https://github.com/aliyun/aliyun-tablestore-python-sdk.git
安装
$ python setup.py install
源码安装
下载SDK发布包并解压
安装
$ python setup.py install
示例代码
执行测试
注意:测试case中会有清理某个实例下所有表的动作,所以请使用专门的测试实例来测试。
安装nosetests
$ pip install nose
设置执行Case的配置
$ export OTS_TEST_ACCESS_KEY_ID=<your access id>
$ export OTS_TEST_ACCESS_KEY_SECRET=<your access key>
$ export OTS_TEST_ENDPOINT=<tablestore service endpoint>
$ export OTS_TEST_INSTANCE=<your instance name>
运行case
$ nosetests tests/
贡献代码
我们非常欢迎大家为TableStore Python SDK以及其他TableStore SDK贡献代码。
感谢 @Wall-ee 对4.3.0版本的贡献。
联系我们
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
tablestore-4.5.2.tar.gz
(81.5 kB
view details)
File details
Details for the file tablestore-4.5.2.tar.gz
.
File metadata
- Download URL: tablestore-4.5.2.tar.gz
- Upload date:
- Size: 81.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32ab08c84494483cd053590bac5755fc3a1fbb944fc1e98e3c92989c7db7894c |
|
MD5 | 718774cddf75d687b03f8a9fdcace38f |
|
BLAKE2b-256 | eebc5b0734675221aa253412b92573c3cffe7d9d999b7517f4f13e0aeab54e08 |