pip install ec2-metadata==2.5.0

An easy interface to query the EC2 metadata API, with caching.

Source
Among top 1% packages on PyPI.
Over 1.2M downloads in the last 90 days.

Commonly used with ec2-metadata

Based on how often these packages appear together in public requirements.txt files on GitHub.

aws-lambda-powertools

Python utilities for AWS Lambda functions including but not limited to tracing, logging and custom metric

brome

Selenium Framework

rpmfile

Read rpm archive files

docker-events

A Python client for docker events API.

awscfncli

AWS CloudFormation CLI

boto3

The AWS SDK for Python

onelogin

OneLogin Python SDK. Use this API client to interact with OneLogin's platform

lambda-uploader

AWS Python Lambda Packager

Benchmark-4dn

Benchmark functions that returns total space, mem, cpu given input size and parameters for the CWL workflows

botocore

Low-level, data-driven core of boto 3.

troposphere

AWS CloudFormation creation library

s3transfer

An Amazon S3 Transfer Manager

zappa

Server-less Python Web Services for AWS Lambda and API Gateway

jmespath

JSON Matching Expressions

certbot-dns-route53

Route53 DNS Authenticator plugin for Certbot

loafer

Asynchronous message dispatcher for concurrent tasks processing

awacs

AWS Access Policy Language creation library

awsudo

Get temporary credentials for AWS roles.

datakit-core

A pluggable command-line tool for custom data science workflows.

Version usage of ec2-metadata

Proportion of downloaded versions in the last 3 months (only versions over 1%).

2.5.0

73.23%

2.3.0

17.65%

2.2.0

3.65%

1.8.0

1.75%

2.4.0

1.57%

2.0.0

1.38%