Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Aliyun TableStore(OTS) SDK

Project description

https://travis-ci.org/aliyun/aliyun-tablestore-python-sdk.svg?branch=master https://coveralls.io/repos/github/aliyun/aliyun-tablestore-python-sdk/badge.svg?branch=master

概述

  • 此Python SDK基于 阿里云表格存储服务 API构建。
  • 阿里云表格存储是构建在阿里云飞天分布式系统之上的NoSQL数据存储服务,提供海量结构化数据的存储和实时访问。

运行环境

  • 安装Python即可运行,目前仅支持python2.7,暂不支持python3.

安装方法

PIP安装

$ pip install ots2

Github安装

  1. 下载源码
$ git clone https://github.com/aliyun/aliyun-tablestore-python-sdk.git
  1. 安装
$ python setup.py install

源码安装

  1. 下载SDK发布包并解压
  2. 安装
$ python setup.py install

执行测试

注意:测试case中会有清理某个实例下所有表的动作,所以请使用专门的测试实例来测试。

  1. 安装nosetests
$ pip install nose
  1. 设置执行Case的配置
$ export OTS_TEST_ACCESS_KEY_ID=<your access id>
$ export OTS_TEST_ACCESS_KEY_SECRET=<your access key>
$ export OTS_TEST_ENDPOINT=<ots service endpoint>
$ export OTS_TEST_INSTANCE=<your instance name>
  1. 运行case
$ nosetests tests/

贡献代码

  • 我们非常欢迎大家为TableStore Python SDK以及其他TableStore SDK贡献代码

Project details


Release history Release notifications

This version
History Node

2.1.0

History Node

2.0.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ots2-2.1.0.tar.gz (62.9 kB) Copy SHA256 hash SHA256 Source None Oct 15, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page