skillfed

linode-api4

The official Python SDK for Linode API v4

linode-api4 v5.46.1 183.4K downloads/30d#10,066 on PyPI143
Permissive license BSD-3-Clause Active released

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-api4

uv

uv add linode-api4

poetry

poetry add linode-api4

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries

Tags

linode api python clientlinode cloud sdklinode instance managementakamai connected cloud pythonlinode infrastructure automationlinode api v4 wrappercloud server provisioning python
cloud-infrastructurelinode-sdkinfrastructure-automation

More Libraries packages