$npx skillfedfor your agent

aliyun-log-python-sdk

Aliyun log service Python client SDK

With conditionsPyPI InternetReleased Aug 2026411.7K downloads / mopermissive licenseSource build

Decision gist · record as of 2026-08-14

sdist only — aliyun_log_python_sdk-0.9.50.tar.gz · builds from source
v0.9.50 · released 2026-08-13 · 8 runtime deps: six, requests, python-dateutil, elasticsearch, jmespath, dateparser, protobuf, lz4

Yes, if you are already using Alibaba Cloud Log Service and need a Python client. The SDK is actively maintained, permissively licensed, has no known vulnerabilities, and provides comprehensive API coverage. The high install friction (8 dependencies) and legacy Python 2.7 support are minor drawbacks; modern Python versions (3.7+) are well-supported. Not relevant if you are not using Alibaba's logging platform.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Alibaba Cloud credentials (endpoint, access ID, access key) and an active Alibaba Cloud Log Service account.
  • High install friction due to 8 runtime dependencies including protobuf and lz4.
  • Active maintenance with a recent release (1 day old) and steady repository activity, though the package targets both legacy Python 2.7 and modern versions.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 176 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 411,703 downloads/mo, #6,855 on PyPI

Verify before relying

pip install aliyun-log-python-sdk

from aliyun.log import LogClient

client = LogClient('endpoint', 'access_id', 'access_key')
logs = client.get_logs('project', 'logstore', 'query')
  • Whether elasticsearch dependency is required for all use cases or only for migration features.
  • Performance characteristics and throughput limits for high-volume log ingestion.
  • Compatibility status with Python 2.7 given its EOL status and modern Python 3.12 support.
Same gist for agents: .md · .json

What it is and what it does

This is the official Python SDK for Alibaba Cloud Log Service, a managed logging platform. It provides programmatic access to all Log Service REST APIs, including log ingestion, querying, project/logstore management, and consumer group operations. The SDK wraps low-level HTTP calls into higher-level Python classes and utilities, reducing boilerplate and handling common patterns like automatic pagination and retry logic.

The package includes specialized features for production use: a Python logging handler for direct integration with standard Python logging, high-level consumer group support for distributed log consumption, and ETL capabilities for cross-logstore data transformation and migration. It also supports Elasticsearch data migration. With 8 runtime dependencies (six, requests, python-dateutil, elasticsearch, jmespath, dateparser, protobuf, lz4), installation has moderate friction, but the SDK is actively maintained and supports Python versions from 2.7 through 3.12.

Use it for

  • Ingest application logs into Alibaba Cloud Log Service from Python applications for centralized log storage and analysis.
  • Query and retrieve logs programmatically from Log Service for custom reporting, alerting, or post-processing workflows.
  • Migrate log data from Elasticsearch or other sources into Alibaba Cloud Log Service using the SDK's migration utilities.
  • Build ETL pipelines that transform and copy log data across multiple logstores within Log Service.
  • Integrate Python's standard logging module with Alibaba Cloud Log Service via the provided logging handler.
  • Manage Log Service projects and logstores (create, delete, update settings) from Python automation scripts.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using Alibaba Cloud Log Service and need a Python client.

The SDK is actively maintained, permissively licensed, has no known vulnerabilities, and provides comprehensive API coverage. The high install friction (8 dependencies) and legacy Python 2.7 support are minor drawbacks; modern Python versions (3.7+) are well-supported. Not relevant if you are not using Alibaba's logging platform.

Install

aliyun-log-python-sdk on PyPI

Before you install

High install friction due to 8 runtime dependencies including protobuf and lz4. Active maintenance with a recent release (1 day old) and steady repository activity, though the package targets both legacy Python 2.7 and modern versions.

Requires Alibaba Cloud credentials (endpoint, access ID, access key) and an active Alibaba Cloud Log Service account.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install aliyun-log-python-sdk

from aliyun.log import LogClient

client = LogClient('endpoint', 'access_id', 'access_key')
logs = client.get_logs('project', 'logstore', 'query')

Verify before relying

  • Whether elasticsearch dependency is required for all use cases or only for migration features.
  • Performance characteristics and throughput limits for high-volume log ingestion.
  • Compatibility status with Python 2.7 given its EOL status and modern Python 3.12 support.

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependencies
8 packages
sixrequestspython-dateutilelasticsearchjmespathdateparserprotobuflz4
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads411,703 / month, #6,855 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPy

Evidence: aliyun_log_python_sdk-0.9.50.tar.gz

Tags

Capabilities
alibaba cloud log service sdkaliyun log python clientcloud logging python sdklog service rest api wrapperalibaba cloud log ingestionaliyun sls pythoncloud log management sdk
Topics
alibaba-cloudloggingetl

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 › “alibaba cloud log service sdk”

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

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.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

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.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also alibabacloud-sls20201230 · alibabacloud-gateway-sls-util · alibabacloud-gateway-sls · aliyun-log-fastpb · alibabacloud-actiontrail20200706 · tablestore · alibabacloud-openapi-util · alibabacloud-ecs20140526 · aliyun-python-sdk-core · dashscope