{"library":"ec2-metadata","type":"library","category":null,"description":"ec2-metadata is a Python library that provides an easy, cached interface to query the EC2 Instance Metadata Service (IMDS). It supports IMDSv2 exclusively and is designed for use within EC2 instances to retrieve details like instance ID, AMI ID, region, and more. The current version is 3.0.0, and it is actively maintained.","language":"python","status":"active","version":"3.0.0","tags":["aws","ec2","metadata","cloud","instance-metadata","imds","imds-v2"],"last_verified":"Wed May 20","install":[{"cmd":"pip install ec2-metadata","imports":["from ec2_metadata import ec2_metadata"]}],"homepage":null,"github":"https://github.com/adamchainz/ec2-metadata","docs":null,"changelog":"https://github.com/adamchainz/ec2-metadata/blob/main/CHANGELOG.rst","pypi":"https://pypi.org/project/ec2-metadata/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.8,"avg_import_s":0.31,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/ec2-metadata/compatibility"}}