--- id: alibabacloud-gateway-sls version: "0.4.2" license: Apache License 2.0 license_treatment: permissive maintenance: active --- # alibabacloud-gateway-sls — Alibaba Cloud SLS Gateway Library for Python License: permissive · Maintenance: active · Downloads: 117.6K/mo ## What it is and what it does This is a gateway client library for Alibaba Cloud's Simple Log Service, part of the broader alibabacloud ecosystem. It abstracts the HTTP communication layer and credential handling needed to call SLS APIs from Python applications. The package depends on alibabacloud-credentials, alibabacloud-darabonba-array, alibabacloud-darabonba-encode-util, alibabacloud-darabonba-map, alibabacloud-darabonba-signature-util, alibabacloud-darabonba-string, alibabacloud-gateway-sls-util, alibabacloud-gateway-spi, alibabacloud-openapi-util, and alibabacloud-tea-util—it is designed as a low-level transport component rather than a high-level API wrapper. The library is actively maintained and supports Python 3.7 through 3.12. It carries a permissive Apache License 2.0 and has no known security vulnerabilities. Installation is straightforward with no compiled dependencies. The package is in the top tier of PyPI packages by download volume, suggesting it is used primarily by applications already committed to the Alibaba Cloud platform. Use it for: - Building Python applications that need to send logs to Alibaba Cloud SLS without using a higher-level SDK - Integrating SLS as a logging backend in microservices or distributed systems on Alibaba Cloud infrastructure - Implementing custom log routing or filtering logic before sending to SLS - Extending or wrapping SLS gateway functionality for specialized credential or request handling ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a gateway client for Alibaba Cloud's Simple Log Service (SLS) API, handling request routing and credential management for SLS operations. Yes, if you are already using Alibaba Cloud SLS and need a Python gateway client. The package is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. However, this is a low-level transport library; verify that you are not looking for a higher-level Alibaba Cloud SDK that may wrap this functionality more conveniently. ## Install pip install alibabacloud-gateway-sls uv add alibabacloud-gateway-sls poetry add alibabacloud-gateway-sls ## Installing alibabacloud-gateway-sls Before you install: Low install friction with a pure-Python wheel. Actively maintained with recent commits. Depends on alibabacloud utility libraries for credentials, encoding, signatures, and request formatting. License in practice: Apache License 2.0 (permissive) allows commercial and private use with attribution and liability disclaimers. Quickstart: pip install alibabacloud-gateway-sls from alibabacloud_gateway_sls import Client # Client initialization requires credentials and configuration client = Client() Requires valid Alibaba Cloud credentials and configuration; exact initialization depends on your credential provider setup. Verify before relying: - Whether this package is intended for direct use or as a dependency of higher-level Alibaba Cloud SDKs - What specific SLS operations are supported and their API surface - Whether documentation exists beyond the GitHub repository ## Package facts - License: Apache License 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 117.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags alibaba cloud sls client, alibaba gateway sls, log service api gateway, alibabacloud sls gateway, alibaba cloud logging client, alibaba-cloud, logging-gateway [View on SkillFed](https://skillfed.io/packages/alibabacloud-gateway-sls) · [View on PyPI](https://pypi.org/project/alibabacloud-gateway-sls/)