cos-python-sdk-v5
cos-python-sdk-v5
Decision gist · record as of 2026-08-14
Yes, if you are building on Tencent Cloud and need programmatic access to COS. The package has low install friction, permissive licensing, no known vulnerabilities, and active maintenance. It is the standard way to interact with Tencent's object storage from Python. Not relevant if you use a different cloud provider.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Tencent Cloud credentials (SecretId and SecretKey) and a configured bucket in a supported region.
- Low install friction with pure Python wheels for both Python 2 and 3.
- Maintained actively with a recent release 77 days ago.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you retain the license notice.
last release 2026-05-29 (77 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,256,950 downloads/mo, #4,153 on PyPI
Alternatives
Verify before relying
pip install cos-python-sdk-v5
from cos_python_sdk_v5 import CosConfig, CosS3Client
config = CosConfig(Region='region', SecretId='id', SecretKey='key')
client = CosS3Client(config)
client.put_object(Bucket='bucket', Key='key', Body=b'data')- Whether Python 2.6 and 2.7 support claimed in the description is still actively maintained or tested.
- Current state of the GitHub repository (stars, commit activity, open issues) to confirm active maintenance beyond the release date.
What it is and what it does
This is the official Python SDK for Tencent Cloud's COS (Cloud Object Storage) service. It provides a client library to interact with cloud storage buckets—uploading, downloading, listing, and managing objects programmatically. The SDK wraps Tencent's REST API and handles authentication, request signing, and response parsing.
The package is designed for developers building applications that need to store or retrieve files from Tencent Cloud. It depends on standard HTTP and cryptography libraries (requests, pycryptodome, certifi) and uses xmltodict to parse responses. The SDK is maintained by Tencent and released as pure Python wheels, making installation straightforward across Python versions.
Use it for
- Upload user-generated content (images, documents, videos) to cloud storage from a web or mobile backend.
- Batch download or sync files from a COS bucket to a local system or data pipeline.
- Manage object metadata, permissions, and lifecycle policies programmatically without using the web console.
- Integrate cloud storage into a data processing workflow that reads input files and writes results back to COS.
- Build a file-sharing or archival service that stores and retrieves objects on behalf of end users.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on Tencent Cloud and need programmatic access to COS.
The package has low install friction, permissive licensing, no known vulnerabilities, and active maintenance. It is the standard way to interact with Tencent's object storage from Python. Not relevant if you use a different cloud provider.
Install
cos-python-sdk-v5 on PyPI
Before you install
Low install friction with pure Python wheels for both Python 2 and 3. Maintained actively with a recent release 77 days ago. Depends on common, stable libraries (requests, certifi, xmltodict, six, crcmod, pycryptodome).
Requires Tencent Cloud credentials (SecretId and SecretKey) and a configured bucket in a supported region.
License in practice
MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you retain the license notice.
Quickstart
pip install cos-python-sdk-v5
from cos_python_sdk_v5 import CosConfig, CosS3Client
config = CosConfig(Region='region', SecretId='id', SecretKey='key')
client = CosS3Client(config)
client.put_object(Bucket='bucket', Key='key', Body=b'data')
Verify before relying
- Whether Python 2.6 and 2.7 support claimed in the description is still actively maintained or tested.
- Current state of the GitHub repository (stars, commit activity, open issues) to confirm active maintenance beyond the release date.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagescertifirequestsxmltodictsixcrcmodpycryptodome |
| Maintenance | Actively maintained 77 days since the last release |
| First released | |
| Downloads | 1,256,950 / month, #4,153 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: cos_python_sdk_v5-1.9.44-py2-none-any.whl; cos_python_sdk_v5-1.9.44-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 › “tencent cloud object storage sdk”
- cos-python-sdk-v5Python SDK for Tencent Cloud's COS (Cloud Object Storage) service,…
- coscmdCOSCMD is a command-line tool for managing Tencent Cloud COS (Cloud…
- tencentcloud-sdk-python-wsaProvides Python bindings to interact with Tencent Cloud's WSA…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also coscmd · ibm-cos-sdk · tencentcloud-sdk-python-common · tencentcloud-sdk-python · ibm-cos-sdk-s3transfer · tccli · tencentcloud-sdk-python-wsa · ibm-cos-sdk-core · google-cloud-storage-transfer · miniopy-async