alibabacloud-gateway-sls
Alibaba Cloud SLS Gateway Library for Python
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 on this page — 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
alibabacloud-gateway-sls on PyPI
pip
pip install alibabacloud-gateway-slsuv
uv add alibabacloud-gateway-slspoetry
poetry add alibabacloud-gateway-slsInstalling 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 the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — 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, alibabacloud-tea-util |
| Maintenance | actively maintained — 123 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 117,582/month — #12,157 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: alibabacloud_gateway_sls-0.4.2-py3-none-any.whl
Keywords: alibabacloud, gateway, sls
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
alibabacloud-gateway-sls-utilProvides utility functions for Alibaba Cloud…
permissive · top 15,000 on PyPI
alibabacloud-gateway-popProvides a gateway client for Alibaba Cloud's…
permissive · top 15,000 on PyPI
alibabacloud-gateway-dingtalkProvides a gateway client for integrating with…
permissive · top 15,000 on PyPI
aliyun-log-python-sdkPython SDK for Alibaba Cloud Log Service that…
permissive · top 15,000 on PyPI
alibabacloud-credentials-apiProvides credential management interfaces and…
permissive · top 5,000 on PyPI
alibabacloud-gateway-spiProvides a service provider interface (SPI) for…
permissive · top 5,000 on PyPI
alibabacloud-gateway-ossProvides a gateway implementation for Alibaba…
permissive · top 15,000 on PyPI
alibabacloud-sls20201230Python SDK for Alibaba Cloud Log Service that…
permissive · top 15,000 on PyPI
alibabacloud-gateway-oss-utilProvides utility functions for working with…
permissive · top 15,000 on PyPI
alibabacloud-tea-openapiProvides a Python SDK for calling Alibaba Cloud…
permissive · top 5,000 on PyPI