Install & Compatibility
Where this runs
tested against v0.3.5 · 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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 22MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.1s · import 0.000s · 22MB
20MB installed
● package 20MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
MetadataClient
✓ from linode_metadata import MetadataClient
✗ from linode_metadata import LinodeMetadata
AsyncMetadataClient
✓ from linode_metadata import AsyncMetadataClient
MetadataToken
✓ from linode_metadata import MetadataToken
Basic usage showing how to instantiate the client and fetch common metadata types.
from linode_metadata import LinodeMetadata
# Instantiate the client
client = LinodeMetadata()
# Get network information
network = client.get_network()
print(network)
# Get SSH keys
ssh_keys = client.get_ssh_keys()
print(ssh_keys)
# Get user data (if any)
user_data = client.get_user_data()
print(user_data)
Upgrade
Version history
0.3.5latest on PyPI · released Apr 29, 2026
Audit
Dependencies
httpxrequiredUsed for HTTP requests to the metadata endpoint.