linode-api4
The official Python SDK for Linode API v4
What it is and what it does
linode_api4 is the official Python SDK for Linode's API v4, maintained by Akamai. It wraps the Linode API endpoints in Python objects and methods, letting you programmatically create, list, modify, and delete Linode instances, domains, volumes, and other cloud resources without writing raw HTTP requests. The library uses requests for HTTP communication and provides a fluent, object-oriented interface—you authenticate with a Personal Access Token and then call methods like client.linode.instance_create() or client.linode.instances() to interact with your infrastructure.
The package is production-stable (Development Status 5), actively maintained, and supports current Python versions (3.10 through 3.14). It has no known security vulnerabilities and carries a permissive BSD-3-Clause license. Installation is straightforward with low friction, and the library is well-documented with examples and a Getting Started guide. It's suitable for infrastructure automation, deployment scripts, monitoring integrations, and any workflow where you need to manage Linode resources from Python.
Use it for:
- Automate Linode instance provisioning and teardown as part of a deployment pipeline or infrastructure-as-code workflow.
- Build monitoring or alerting integrations that query Linode instance status and metrics programmatically.
- Manage DNS records, domains, and networking configuration across multiple Linode accounts or regions.
- Develop admin dashboards or internal tools that list, filter, and control Linode resources without manual API calls.
- Write integration tests that spin up temporary Linode instances for testing and clean them up afterward.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Official Python SDK for the Linode API v4, providing programmatic access to create, manage, and delete Linode instances and related cloud infrastructure resources.
Yes. This is the official, actively maintained SDK for Linode API v4 with low install friction, no security vulnerabilities, permissive licensing, and broad Python version support. Install it if you need to manage Linode infrastructure programmatically; it eliminates the need to write raw HTTP requests and provides a well-documented, object-oriented interface.
Install
linode-api4 on PyPI
pip
pip install linode-api4uv
uv add linode-api4poetry
poetry add linode-api4Installing linode-api4
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (9 days old) and steady repository activity. Depends on three lightweight runtime libraries: requests, polling, and deprecated.
License in practice
Licensed under BSD-3-Clause (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install linode_api4
from linode_api4 import LinodeClient
client = LinodeClient("MY_PERSONAL_ACCESS_TOKEN")
my_linodes = client.linode.instances()
for instance in my_linodes:
print(instance.label)
Requires a Linode Personal Access Token with appropriate account permissions to authenticate with the API.
Verify before relying
- Rate limiting behavior and handling strategies for high-volume API calls.
- Retry logic and timeout configuration options for resilience.
- Support for async/await patterns or concurrent request handling.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — requests, polling, deprecated |
| Maintenance | actively maintained — 9 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 183,407/month — #10,066 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: linode_api4-5.46.1-py3-none-any.whl
Keywords: akamai, Akamai Connected Cloud, linode, cloud, SDK, Linode APIv4
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
linode-cliCommand-line interface for the Linode API that…
permissive · top 15,000 on PyPI
stackit-iaasProvides Python bindings to create and modify…
permissive · top 15,000 on PyPI
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
requests-aws4authAdds AWS Signature Version 4 authentication to…
permissive · top 1,000 on PyPI
recurlyOfficial Python client library for Recurly's V3…
unclear · top 15,000 on PyPI
edgegrid-pythonProvides an authentication handler for HTTP…
permissive · top 5,000 on PyPI
pulumi-azure-nativeProvides Python bindings to create and manage…
permissive · top 15,000 on PyPI
requests-aws-signAdds AWS V4 request signing to the requests…
permissive · top 5,000 on PyPI
openapi3Parses and validates OpenAPI 3 specifications,…
permissive · top 15,000 on PyPI
ibm-vpcPython client library for programmatically…
permissive · top 15,000 on PyPI