nacos-sdk-python
Python client for Nacos.
Decision gist · record as of 2026-08-14
Yes, if you are using Nacos 3.x and need a Python client for service discovery or configuration management. The library is actively maintained, has no known vulnerabilities, and low install friction. Requires Python 3.10+ and an async-capable application context; not suitable for synchronous-only codebases or older Nacos versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; Nacos server 3.x required (AI features need 3.1.0+); async/await usage requires an event loop.
- Low install friction with a pure-Python wheel.
- Active maintenance with recent commits (2026-07-30) and no known vulnerabilities.
License · maintenance · safety
Apache License 2.0 (permissive) — Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions.
last release 2026-04-27 (109 days) · last repo commit 2026-07-30 · 468 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 503,229 downloads/mo, #6,305 on PyPI
Alternatives
Verify before relying
pip install nacos-sdk-python
import asyncio
from nacos_sdk_python import NacosConfigService, ClientConfigBuilder
async def main():
client_config = (ClientConfigBuilder()
.server_address('localhost:8848')
.build())
config_client = await NacosConfigService.create_config_service(client_config)- Performance characteristics under high-volume service registration/discovery workloads
- Compatibility matrix with specific Nacos server minor versions beyond 3.x
- Failover behavior and consistency guarantees across multi-server deployments
What it is and what it does
nacos-sdk-python is a Python 3.10+ client for Nacos service platform, implementing the full OpenAPI surface for service discovery, configuration management, and AI-driven features. It uses gRPC as the primary transport with HTTP fallback, built on async primitives like aiohttp and aiofiles for non-blocking I/O.
The library handles service registration and deregistration, instance health tracking, configuration publishing and listening, and optional KMS encryption for sensitive data. It includes local failover and snapshot caching for resilience, TLS support, and a fluent ClientConfigBuilder for setup. Most operations are async coroutines, so it integrates naturally into async Python applications but requires an event loop context.
Use it for
- Register microservices and query service instances for client-side load balancing in distributed systems.
- Centrally manage application configuration with push-based listener callbacks when values change.
- Implement service health checks and instance metadata tracking for dynamic service mesh routing.
- Fetch and subscribe to AI prompts and skills from Nacos AI service (requires server 3.1.0+).
- Encrypt sensitive configuration values using KMS integration for compliance.
- Build multi-region or multi-cluster service registries with namespace isolation and custom grouping.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using Nacos 3.x and need a Python client for service discovery or configuration management.
The library is actively maintained, has no known vulnerabilities, and low install friction. Requires Python 3.10+ and an async-capable application context; not suitable for synchronous-only codebases or older Nacos versions.
Install
nacos-sdk-python on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with recent commits (2026-07-30) and no known vulnerabilities. Requires Python 3.10+.
Requires Python 3.10 or later; Nacos server 3.x required (AI features need 3.1.0+); async/await usage requires an event loop.
License in practice
Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install nacos-sdk-python
import asyncio
from nacos_sdk_python import NacosConfigService, ClientConfigBuilder
async def main():
client_config = (ClientConfigBuilder()
.server_address('localhost:8848')
.build())
config_client = await NacosConfigService.create_config_service(client_config)
Verify before relying
- Performance characteristics under high-volume service registration/discovery workloads
- Compatibility matrix with specific Nacos server minor versions beyond 3.x
- Failover behavior and consistency guarantees across multi-server deployments
Package facts
| License | Apache License 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packagesaiofilesaiohttpalibabacloud_kms20160120alibabacloud_tea_openapigrpcioprotobufpsutilpycryptodomepydantica2a-sdk |
| Maintenance | Actively maintained 109 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 503,229 / month, #6,305 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python Modules |
Evidence: nacos_sdk_python-3.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “nacos service discovery python”
- nacos-sdk-pythonPython client library for Nacos service discovery, configuration…
- zeroconfDiscovers and registers services on local networks using multicast…
- aws-cdk.aws-servicediscoveryProvides AWS CDK constructs for defining and managing service…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also alibabacloud-kms20160120 · pygnmi · grpcio-csds · grpcio-health-checking · ansys-api-tools-filetransfer · nebius · miniopy-async · ssm-parameter-store · ansys-api-edb · openbb-platform-api