Registry / http-networking / vmware-vapi-common-client

vmware-vapi-common-client

JSON →
library9.1.0.0pypypiunverified

Python bindings for VMware vAPI Common Services, providing client libraries to interact with VMware Cloud Foundation (VCF) APIs. Current version 2.61.2 (older stable). The VCF SDK Python releases (up to 9.0.0.0) have replaced this package with the vcf-sdk-python namespace.

pip install vmware-vapi-common-client==2.61.2
INSTALL
IMPORT
SIG · VMWARE-VAPI-COMMON
V
vmware-vapi-common-client
http-networkingpythonv9.1.0.0
Install
3.7s avg
Import
1983ms
Disk
41MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v2.61.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 1.318s · 39.3MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 3.7s · import 1.062s · 40MB
41MB installed
● package 41MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

StubConfiguration
✓ from com.vmware.vapi.bindings.stub import StubConfiguration
✗ from com.vmware.vapi.bindings.stub import StubConfiguration

Basic setup of StubConfiguration with optional user security context.

from vmware.vapi.bindings.stub import StubConfiguration from vmware.vapi.core import VapiClient from vmware.vapi.security.client_security import create_user_security_context # Example of creating a StubConfiguration stub_config = StubConfiguration() # For authentication, use environment variables username = os.environ.get('VCF_USERNAME', '') password = os.environ.get('VCF_PASSWORD', '') if username and password: security_ctx = create_user_security_context(username, password) stub_config.security_context = security_ctx print("vAPI client configuration ready")
Debug
Known issues
deprecatedThis library is superseded by vcf-sdk-python (namespace vcf). New projects should use 'pip install vcf-sdk-python' and import from vcf.*
fix
Use 'pip install vcf-sdk-python' and update imports: from vcf.platform import Vcenter etc.
affects: >=2.0.0
breakingVersion 2.61.2 is the last PyPI release from the old vapi-common-client series. The new VCF SDK (9.0.0.0) changed module structure: StubConfiguration is now in vcf.bindings.stub.
fix
For VCF SDK 9+, install vcf-sdk-python and use: from vcf.bindings.stub import StubConfiguration.
affects: 9.0.0.0+
gotchaAuthentication via environment variables (VCF_USERNAME, VCF_PASSWORD) is required for most API calls. If not set, security_context is None and calls may fail with authentication errors.
fix
Always set VCF_USERNAME and VCF_PASSWORD before creating the client.
affects: all
Upgrade
Version history
9.1.0.0latest on PyPI · released May 12, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
1
Resources
vmware-vapi-common-client — pip install vmware-vapi-common-client · libregistry