One Interface To Rule Them All
Python library for interacting with many of the popular cloud service providers using a unified API.
Supports more than 50 providers such as
Supports more than 50 providers such as
Latest stable version (Python 3.10+ only): 3.9.1 (April 21st, 2026)
pip install apache-libcloud
Or download it from our servers and install it manually.
fromlibcloud.compute.typesimportProviderfromlibcloud.compute.providersimportget_drivercls=get_driver(Provider.RACKSPACE)driver=cls('username','api key',region='iad')sizes=driver.list_sizes()images=driver.list_images()size=[sforsinsizesifs.id=='performance1-1'][0]image=[iforiinimagesif'Ubuntu 18.04'ini.name][0]node=driver.create_node(name='libcloud',size=size,image=image)print(node)For information on what the code does, click or hover over the line.
For more compute examples, see documentation.
fromlibcloud.dns.typesimportProvider,RecordTypefromlibcloud.dns.providersimportget_drivercls=get_driver(Provider.ZERIGO)driver=cls('email','api key')zones=driver.list_zones()zone=[zoneforzoneinzonesifzone.domain=='mydomain.com'][0]record=zone.create_record(name='www',type=RecordType.A,data='127.0.0.1')print(record)For information on what the code does, click or hover over the line.
For more DNS examples, see documentation.
Call for Maintainers and Contributors; The Future of Apache Libcloud
You can also subscribe and stay up to date using our RSS / Atom feed.
Users mailing list: users@libcloud.apache.org
Developers mailing list: dev@libcloud.apache.org
IRC channel: #libcloud on Libera.Chat