Utility library for Alibaba Cloud SLS (Log Service) gateway, providing common helpers for authentication, serialization, and HTTP communication. Current version 0.4.1, requires Python >=3.7. Release cadence is irregular, driven by SLS API changes.
pip install alibabacloud-gateway-sls-utilNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a simple GET request to an SLS logstore using the gateway client. Replace host and path with your actual endpoints.
Change import to: from alibabacloud_gateway_sls_util.client import Client
Use `client.do_request_with_options(request, runtime_options)` instead.
Install the dependency: pip install alibabacloud-gateway-spi
pip install alibabacloud-gateway-spi
from alibabacloud_gateway_sls_util.client import Client