tablestore
Aliyun TableStore(OTS) SDK
Decision gist · record as of 2026-08-14
Yes, if you are already committed to Aliyun Tablestore as your data store. The SDK is actively maintained, permissively licensed, has low install friction, and carries no known vulnerabilities. It is the canonical way to access Tablestore from Python. However, it is only useful if you have an Aliyun account and an active Tablestore instance; it is not a general-purpose database client.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid Aliyun account credentials and an active Tablestore instance endpoint; Python 3.8 or later.
- Low install friction with a pure-wheel distribution.
- Actively maintained as of 35 days ago.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and redistribution with minimal restrictions—no copyleft obligations or proprietary constraints.
last release 2026-07-10 (35 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 107,598 downloads/mo, #12,607 on PyPI
Alternatives
Verify before relying
pip install tablestore
from tablestore import OTSClient
client = OTSClient(
endpoint='http://your-instance.cn-hangzhou.ots.aliyuncs.com',
access_key_id='your_key_id',
access_key_secret='your_key_secret',
instance_name='your_instance'
)
response = client.get_row('table_name', [('pk_col', 'value')])- Whether the SDK supports async operations natively or only via aiohttp integration
- Performance characteristics and throughput limits for batch operations at scale
- Whether vector search requires additional setup beyond the SDK (e.g., index configuration in Aliyun console)
What it is and what it does
Tablestore is the official Python client for Aliyun Tablestore (OTS), a cloud-hosted NoSQL database built on Aliyun's distributed infrastructure. It provides a full-featured API for creating and managing tables, performing single-row and batch read/write operations, scanning ranges of data, managing transactions, and executing advanced queries including full-text search and vector retrieval. The SDK abstracts the HTTP protocol layer and handles serialization via protobuf and flatbuffers, making it straightforward to integrate Tablestore into Python applications.
The package is designed for applications that need to store and query large volumes of structured data with real-time access patterns. It supports modern Python versions (3.8 through 3.14) and includes both synchronous and asynchronous HTTP clients. Common use cases include time-series data ingestion, user profile storage, event logging, and search-enabled data retrieval. The SDK is actively maintained and carries no known security vulnerabilities.
Use it for
- Store and query time-series metrics or event logs at scale with range-scan and aggregation capabilities.
- Implement full-text search over product catalogs or document collections using the multi-element index feature.
- Perform vector similarity search for recommendation or semantic-matching workloads.
- Batch ingest or export large datasets with multi-table batch read/write operations.
- Build transactional workflows with local transaction support for multi-row consistency.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already committed to Aliyun Tablestore as your data store.
The SDK is actively maintained, permissively licensed, has low install friction, and carries no known vulnerabilities. It is the canonical way to access Tablestore from Python. However, it is only useful if you have an Aliyun account and an active Tablestore instance; it is not a general-purpose database client.
Install
tablestore on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained as of 35 days ago. Depends on common, stable libraries (protobuf, urllib3, certifi, numpy, aiohttp) with no known compiled-extension blockers beyond what aiohttp and numpy typically require.
Requires valid Aliyun account credentials and an active Tablestore instance endpoint; Python 3.8 or later.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and redistribution with minimal restrictions—no copyleft obligations or proprietary constraints.
Quickstart
pip install tablestore
from tablestore import OTSClient
client = OTSClient(
endpoint='http://your-instance.cn-hangzhou.ots.aliyuncs.com',
access_key_id='your_key_id',
access_key_secret='your_key_secret',
instance_name='your_instance'
)
response = client.get_row('table_name', [('pk_col', 'value')])
Verify before relying
- Whether the SDK supports async operations natively or only via aiohttp integration
- Performance characteristics and throughput limits for batch operations at scale
- Whether vector search requires additional setup beyond the SDK (e.g., index configuration in Aliyun console)
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesprotobufurllib3certififuturesixflatbuffersnumpycrc32caiohttp |
| Maintenance | Actively maintained 35 days since the last release |
| First released | |
| Downloads | 107,598 / month, #12,607 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: tablestore-6.4.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “aliyun tablestore sdk”
- tablestorePython SDK for Aliyun Tablestore (OTS), a managed NoSQL database…
- aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic Compute Service (ECS)…
- aliyun-python-sdk-stsProvides Python bindings to Aliyun's Security Token Service (STS)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also oss2 · pyodps · google-cloud-datastore · aliyun-log-python-sdk · google-cloud-firestore · borneo · alibabacloud-oss-v2 · aliyun-python-sdk-core · aliyun-python-sdk-core-v3 · aliyun-python-sdk-ecs