Microsoft Azure Cognitive Services Search Namespace Package for Python 2/3 compatibility
npx @tessl/cli install tessl/pypi-azure-cognitiveservices-search-nspkg@3.0.0Microsoft Azure Cognitive Services Search Namespace Package is an internal infrastructure component that provides namespace organization for Azure Cognitive Services Search SDKs in Python. This package enables proper namespace partitioning for azure.cognitiveservices.search modules and handles Python 2/3 compatibility.
pip install azure-cognitiveservices-search-nspkg (typically installed automatically as dependency)This package provides no direct imports. It serves only as namespace infrastructure:
# This package has no public API to import
# It automatically configures the azure.cognitiveservices.search namespace
# when installed as a dependency of other Azure SDK packagesThis package is not intended for direct use. It is automatically installed as a dependency when you install Azure Cognitive Services Search SDK packages.
# You don't use this package directly
# Instead, install actual Azure Cognitive Services Search packages like:
# pip install azure-cognitiveservices-search-websearch
# pip install azure-cognitiveservices-search-imagesearch
# Then import from the properly namespaced modules:
# from azure.cognitiveservices.search.websearch import WebSearchClientThis package implements a pkgutil-style namespace package with Python 2/3 compatibility:
__init__.py files containing pkgutil.extend_path() callsThe namespace hierarchy created (Python 2.x only):
azure/
├── __init__.py # Extends azure namespace
└── cognitiveservices/
├── __init__.py # Extends cognitiveservices namespace
└── search/
└── __init__.py # Extends search namespaceIMPORTANT: This package provides zero public API. All functionality is automatic namespace configuration.
# No public functions, classes, or constants are exported
# The package only provides internal namespace structure# Requires:
# - azure-cognitiveservices-nspkg >= 3.0.0The package includes compatibility validation that raises an exception if incompatible azure v0.x versions are detected:
# Exception raised if azure v0.x is installed:
Exception: 'This package is incompatible with azure==<version>. Uninstall it with "pip uninstall azure".'This package contains no user-facing functionality. It serves purely as namespace infrastructure to allow other azure-cognitiveservices-search-* packages to install into the proper azure.cognitiveservices.search namespace hierarchy. End users should never install or import from this package directly.