pip install rancher_metadata==0.17.15

Python library for Rancher Metadata API

Source