--- id: alibabacloud-gateway-sls-util version: "0.4.1" license: Apache License 2.0 license_treatment: permissive maintenance: active --- # alibabacloud-gateway-sls-util — Alibaba Cloud SLS Util Library for Python License: permissive · Maintenance: active · Downloads: 116.1K/mo ## What it is and what it does This package is a utility library for Alibaba Cloud's SLS (Simple Log Service) gateway, part of the broader alibabacloud-gateway ecosystem. It provides helper functions for handling log data serialization and compression operations needed when working with Alibaba Cloud's logging infrastructure. The library depends on aliyun-log-fastpb for protocol buffer serialization, lz4 and zstd for compression, and is designed to work with Python 3.7 through 3.12. It is actively maintained and carries an Apache 2.0 license. The package is marked as Beta, indicating it is still under development but stable enough for use. Use it for: - Integrating with Alibaba Cloud SLS in Python applications that need to send log data through the gateway. - Serializing and compressing log payloads for efficient transmission to Alibaba Cloud logging services. - Building custom logging solutions on top of Alibaba Cloud infrastructure within Python environments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides utility functions for Alibaba Cloud SLS (Simple Log Service) gateway operations, handling serialization and compression for log data transmission. Yes, if you are building on Alibaba Cloud SLS infrastructure. The package has low install friction, permissive licensing, active maintenance, and no known vulnerabilities. However, it is in Beta status and appears to be a specialized utility—install only if you have a concrete need for SLS gateway operations. ## Install pip install alibabacloud-gateway-sls-util uv add alibabacloud-gateway-sls-util poetry add alibabacloud-gateway-sls-util ## Installing alibabacloud-gateway-sls-util Before you install: Low friction install with three straightforward runtime dependencies (aliyun-log-fastpb, lz4, zstd). Actively maintained with recent commits; last release was 123 days ago and the repository remains active. License in practice: Apache License 2.0 is permissive, allowing commercial use, modification, and distribution with minimal restrictions—suitable for most projects. Quickstart: pip install alibabacloud-gateway-sls-util from alibabacloud_gateway_sls_util import SomeUtilClass # Use the utility for SLS gateway operations Requires Python 3.7 or later; the package is in Beta status (Development Status :: 4). Verify before relying: - What specific SLS gateway operations this utility performs (description does not detail functionality). - Whether this is intended for end-user applications or primarily for internal Alibaba Cloud SDK use. - Performance characteristics or throughput limits for log serialization and compression. ## Package facts - License: Apache License 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 116.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags alibaba cloud sls gateway, log service utilities, alibaba cloud logging, sls data serialization, alibaba gateway util, cloud log compression, alibaba-cloud, logging [View on SkillFed](https://skillfed.io/packages/alibabacloud-gateway-sls-util) · [View on PyPI](https://pypi.org/project/alibabacloud-gateway-sls-util/)