ibm-vpc
Python client library for IBM Cloud ibm-vpc Services
What it is and what it does
The IBM Cloud VPC Python SDK is a client library that wraps the IBM Cloud Virtual Private Cloud Service APIs, allowing developers to manage cloud infrastructure programmatically. It provides methods to list, create, update, and delete VPCs, subnets, instances, and other VPC resources directly from Python code. The library handles authentication via IBM Cloud IAM, request formatting, and response parsing, abstracting away the details of HTTP communication with the IBM Cloud platform.
Typical use involves instantiating a VpcV1 service object with IAM credentials, then calling methods like list_vpcs(), list_subnets(), and update_instance() to interact with your cloud infrastructure. The SDK depends on ibm_cloud_sdk_core for authentication and common SDK utilities, and python_dateutil for date handling. It is actively maintained, supports Python 3.10 and later, and carries no known security vulnerabilities.
Use it for:
- Automate provisioning and teardown of VPC infrastructure in CI/CD pipelines.
- Build management dashboards or monitoring tools that query VPC resources programmatically.
- Rename, update, or reconfigure instances and subnets without manual console interaction.
- Enumerate and audit all VPCs, subnets, and instances in an IBM Cloud account.
- Integrate VPC operations into larger infrastructure-as-code workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for programmatically managing IBM Cloud Virtual Private Cloud (VPC) resources—VPCs, subnets, instances, and related infrastructure—via the IBM Cloud VPC Service APIs.
Yes, if you need to manage IBM Cloud VPC resources from Python. The library is actively maintained, has low install friction, carries no known vulnerabilities, and is released under a permissive Apache 2.0 license. Be aware that minor version updates (0.y.z) may introduce breaking changes per semantic versioning, so pin your version in production. Requires Python 3.10+ and a valid IBM Cloud API key.
Install
ibm-vpc on PyPI
pip
pip install ibm-vpcuv
uv add ibm-vpcpoetry
poetry add ibm-vpcInstalling ibm-vpc
Before you install
Low install friction with only two runtime dependencies (ibm_cloud_sdk_core and python_dateutil). Actively maintained with a recent release; last commit 2026-08-10 and repository not archived.
License in practice
Released under Apache 2.0 (permissive license), allowing commercial and private use with minimal restrictions.
Quickstart
pip install ibm-vpc
from ibm_vpc import VpcV1
from ibm_cloud_sdk_core.authenticators import IAMAuthenticator
authenticator = IAMAuthenticator("YOUR_IBMCLOUD_API_KEY")
service = VpcV1(authenticator=authenticator)
vpcs = service.list_vpcs().get_result()['vpcs']
Requires Python 3.10 or above and a valid IBM Cloud IAM API key for authentication.
Verify before relying
- Backward compatibility guarantees across 0.y.z versions—the description mentions semantic versioning with potential breaking changes in minor versions.
- Whether all VPC service operations documented in the IBM Cloud VPC API are fully implemented in this SDK version.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — ibm_cloud_sdk_core, python_dateutil |
| Maintenance | actively maintained — 39 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 187,897/month — #9,957 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ibm_vpc-0.34.0-py3-none-any.whl
Keywords: ibm, cloud, ibm cloud services, vpc
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
ibm-eventnotificationsPython client library for IBM Cloud Event…
permissive · top 15,000 on PyPI
ibm-platform-servicesPython client library for IBM Cloud Platform…
permissive · top 5,000 on PyPI
ibm-secrets-manager-sdkA Python client library for programmatically…
permissive · top 15,000 on PyPI
ibm-cloud-sdk-coreProvides core authentication, HTTP request…
permissive · top 5,000 on PyPI
ibm-cos-sdk-coreProvides a low-level Python interface to IBM…
permissive · top 5,000 on PyPI
ibmcloudantPython client library for IBM Cloudant and…
permissive · top 5,000 on PyPI
ibm-cos-sdkPython SDK for interacting with IBM Cloud…
permissive · top 5,000 on PyPI
ibm-watson-machine-learningPython client library for IBM Watson Machine…
permissive · top 5,000 on PyPI
SoftLayerPython client library and command-line…
permissive · top 15,000 on PyPI
scalewayProvides Python bindings to interact with…
permissive · top 15,000 on PyPI