skillfed

alibabacloud-gateway-spi

Alibaba Cloud Gateway SPI SDK Library for Python

alibabacloud-gateway-spi v0.0.4 5.2M downloads/30d#2,153 on PyPI10
Permissive license Apache License 2.0 Active released

What it is and what it does

This package is a service provider interface (SPI) library for Alibaba Cloud's gateway infrastructure. It defines the contract that gateway implementations must follow when integrating with Alibaba Cloud OpenAPI clients. The package itself is a thin abstraction layer that depends on alibabacloud-credentials for authentication, allowing different gateway backends to be plugged in without changing client code.

It is primarily used as a foundational component within the Alibaba Cloud SDK ecosystem rather than as a standalone tool. Developers working directly with Alibaba Cloud APIs typically use higher-level SDKs that depend on this package internally. The SPI pattern allows Alibaba Cloud to evolve gateway implementations (routing, load balancing, protocol handling) independently of the client libraries that consume them.

Use it for:

  • Building custom gateway implementations that conform to Alibaba Cloud's SPI contract for specialized routing or protocol needs.
  • Integrating with Alibaba Cloud OpenAPI clients that require pluggable gateway backends for multi-cloud or hybrid deployments.
  • Extending Alibaba Cloud SDK functionality with custom gateway middleware or interceptors.
  • Developing internal Alibaba Cloud tooling that needs to abstract gateway operations across different deployment environments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a service provider interface (SPI) for Alibaba Cloud gateway operations, enabling pluggable gateway implementations for Alibaba Cloud OpenAPI clients.

Yes, if you are building on top of Alibaba Cloud SDKs or implementing custom gateway logic for Alibaba Cloud APIs. The package is actively maintained, has no known vulnerabilities, and carries a permissive Apache 2.0 license. However, most end-users will install this indirectly as a transitive dependency rather than directly—check whether your Alibaba Cloud SDK already pulls it in before adding it explicitly.

Install

alibabacloud-gateway-spi on PyPI

pip

pip install alibabacloud-gateway-spi

uv

uv add alibabacloud-gateway-spi

poetry

poetry add alibabacloud-gateway-spi

Installing alibabacloud-gateway-spi

Before you install

Low install friction with a single runtime dependency (alibabacloud-credentials). Package is actively maintained with recent releases and no known vulnerabilities.

License in practice

Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install alibabacloud-gateway-spi

from alibabacloud_gateway_spi import Gateway
# Use Gateway with alibabacloud-credentials for API calls

Requires Python 3.6 or later; alibabacloud-credentials must be installed and configured for actual gateway operations.

Verify before relying

  • What specific gateway operations or protocols this SPI abstracts (HTTP, gRPC, etc.)
  • Whether this package is intended for end-user applications or as a dependency for other Alibaba Cloud SDKs
  • Example implementations or plugins that use this SPI interface

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 1 — alibabacloud-credentials
Maintenance actively maintained — 50 days since the last release
Last repo commit
First released
Downloads 5,159,233/month — #2,153 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: alibabacloud_gateway_spi-0.0.4-py3-none-any.whl

Keywords: alibabacloud, gateway, spi

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development

Tags

alibaba cloud gateway spialibabacloud openapi clientalibaba cloud service provider interfacegateway abstraction layeralibabacloud sdk gatewaycloud api gateway spialibaba openapi gateway
alibaba-cloudgateway-abstractionspi

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

alibabacloud-credentials-api

Provides credential management interfaces and…

permissive · top 5,000 on PyPI

alibabacloud-gateway-pop

Provides a gateway client for Alibaba Cloud's…

permissive · top 15,000 on PyPI

alibabacloud-gateway-oss

Provides a gateway implementation for Alibaba…

permissive · top 15,000 on PyPI

alibabacloud-gateway-dingtalk

Provides a gateway client for integrating with…

permissive · top 15,000 on PyPI

alibabacloud-gateway-sls

Provides a gateway client for Alibaba Cloud's…

permissive · top 15,000 on PyPI

alibabacloud-gateway-oss-util

Provides utility functions for working with…

permissive · top 15,000 on PyPI

alibabacloud-gateway-sls-util

Provides utility functions for Alibaba Cloud…

permissive · top 15,000 on PyPI

alibabacloud-tea-openapi

Provides a Python SDK for calling Alibaba Cloud…

permissive · top 5,000 on PyPI

omnibase_spi

Defines runtime-checkable Protocol contracts…

permissive · top 15,000 on PyPI

alibabacloud-endpoint-util

Provides endpoint resolution utilities for…

permissive · top 5,000 on PyPI