Skip to main content

Aliyun TableStore(OTS) SDK

Project description

https://badge.fury.io/py/tablestore.svg https://img.shields.io/badge/license-mit-brightgreen.svg https://badge.fury.io/gh/aliyun%2Faliyun-tablestore-python-sdk.svg https://coveralls.io/repos/github/aliyun/aliyun-tablestore-python-sdk/badge.svg?branch=master https://travis-ci.org/aliyun/aliyun-tablestore-python-sdk.svg

概述

  • 此Python SDK基于 阿里云表格存储服务 API 构建。

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

运行环境

  • 安装Python即可运行,支持python2.6、Python2.7、python3.3、python3.4、python3.5 和 python3.6。

安装方法

PIP安装

$ pip install tablestore

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=<tablestore service endpoint>
$ export OTS_TEST_INSTANCE=<your instance name>
  1. 运行case

$ nosetests tests/

贡献代码

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

  • 非常感谢 @Wall-ee 对4.3.0版本的贡献。

联系我们

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

tablestore-5.4.4.tar.gz (141.1 kB view details)

Uploaded Source

File details

Details for the file tablestore-5.4.4.tar.gz.

File metadata

  • Download URL: tablestore-5.4.4.tar.gz
  • Upload date:
  • Size: 141.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for tablestore-5.4.4.tar.gz
Algorithm Hash digest
SHA256 18247eb5e71ea0e1ec33e5ccf346953ff8f5b1f7fab8ad45be0ff91ceaaa4b5c
MD5 a03e3df04eee4a2247c526888fef8cf6
BLAKE2b-256 62e14324320ead4ed3d8d09fc19dd2272c3b5b69d6eeed621d186302e313ad8b

See more details on using hashes here.

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