SoftLayer
A library for SoftLayer's API
What it is and what it does
SoftLayer is a Python client library and CLI tool for IBM's SoftLayer cloud infrastructure API. It wraps SoftLayer's XML-RPC API, allowing developers to programmatically manage virtual servers, storage, networking, and other cloud resources. The package includes both a Python library for direct API calls and a command-line interface (slcli) for interactive management from the shell.
The library depends on click, requests, prompt_toolkit, pygments, urllib3, and rich to provide a polished CLI experience with formatted output, interactive prompts, and syntax highlighting. It is actively maintained, supports modern Python versions (3.7 through 3.12), and has no known security vulnerabilities. Installation is straightforward via pip, though you will need valid SoftLayer API credentials and network access to use it.
Use it for:
- Automate provisioning and management of SoftLayer virtual servers and cloud resources from Python scripts or CI/CD pipelines.
- Query SoftLayer account information, billing, and infrastructure details programmatically without manual API calls.
- Use the slcli command-line tool to list, create, and manage virtual servers and services interactively from the shell.
- Debug and inspect exact API calls made by the library using verbose logging and the DebugTransport class.
- Integrate SoftLayer infrastructure management into larger Python applications or orchestration frameworks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library and command-line interface for interacting with SoftLayer's XML-RPC API to manage cloud infrastructure, virtual servers, and related services.
Yes. The package is actively maintained, has low install friction, no known vulnerabilities, and a permissive MIT license. It is the official client for SoftLayer's API and is suitable for production use if you manage infrastructure on SoftLayer. The only caveat is the pinned rich==12.3.0 dependency—verify it does not conflict with other packages in your environment before installing.
Install
softlayer on PyPI
pip
pip install softlayeruv
uv add softlayerpoetry
poetry add softlayerInstalling SoftLayer
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent commit on 2026-07-27 and no known vulnerabilities. Requires Python 3.7 or later; note that the package depends on rich==12.3.0, which pins a specific version rather than allowing a range.
License in practice
MIT license (permissive) allows commercial and private use with minimal restrictions. No licensing concerns for most use cases.
Quickstart
pip install softlayer
import SoftLayer
client = SoftLayer.Client()
mask = "mask[id]"
account = client.call('Account', 'getObject', mask=mask)
print(account['id'])
Requires a valid SoftLayer API username and key. A connection to SoftLayer's private network is required to use private network API endpoints.
Verify before relying
- Whether the rich==12.3.0 pinned dependency causes compatibility issues with other packages in your environment.
- Current support status for Python 3.7, given that the description emphasizes 3.8, 3.9, and 3.10 as the primary supported versions.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — click, requests, prompt_toolkit, pygments, urllib3, rich |
| Maintenance | actively maintained — 143 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 429,983/month — #6,735 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: softlayer-6.2.9-py2.py3-none-any.whl
Keywords: softlayer, cloud, slcli, ibmcloud
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
scalewayProvides Python bindings to interact with…
permissive · top 15,000 on PyPI
aiohttp-xmlrpcProvides async XML-RPC server and client…
permissive · top 15,000 on PyPI
ibm-vpcPython client library for programmatically…
permissive · top 15,000 on PyPI
conjure-python-clientA lightweight HTTP client library built on…
permissive · top 15,000 on PyPI
ibm-cos-sdk-coreProvides a low-level Python interface to IBM…
permissive · top 5,000 on PyPI
ERPpeekERPpeek is a command-line and library client…
permissive · top 15,000 on PyPI
ibm-platform-servicesPython client library for IBM Cloud Platform…
permissive · top 5,000 on PyPI
rapidataA Python client library for interacting with…
permissive · top 15,000 on PyPI
stackit-iaasProvides Python bindings to create and modify…
permissive · top 15,000 on PyPI