From e79b53a9d1e17a93ab653398f4ea057eca73500f Mon Sep 17 00:00:00 2001 From: Lena Garber Date: Mon, 8 Apr 2024 13:29:34 -0400 Subject: [PATCH] Fix SSH key example; _ -> - --- README.md | 4 ++-- docs/index.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b0c2f19..4180fcd 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This package allows Python projects to easily interact with the [Linode Metadata ### Installation ```bash -pip install linode_metadata +pip install linode-metadata ``` ### Building from Source @@ -46,7 +46,7 @@ user_data = client.get_user_data() print("Instance ID:", instance_info.id) print("Public IPv4:", network_info.ipv4.public[0]) -print("SSH Keys:", "; ".join(ssh_info.users.root)) +print("SSH Keys:", "; ".join(ssh_info.users)) print("User Data:", user_data) ``` diff --git a/docs/index.rst b/docs/index.rst index 820cbf6..f8081c4 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -11,9 +11,9 @@ This library can be used to interact with the Metadata Service API. Installation ------------ -To install through pypi:: +To install through PyPI:: - pip install linode_metadata + pip install linode-metadata To install from source::