Libcloud is a unified interface for accessing cloud computing services, a project that has become the top-level project of the Apache organization with Python development.
The Apache Foundation announced on May 25 that Libcloud has hatched and become a top-notch project.
One Interface to Rule them allPython Library for interacting with many of the popular cloud service providers using a unified API.
Basic example:
fromlibcloud.compute.types Import Provider fromlibcloud.compute.providers Import Get_driverimport libcloud.security# This assumes you don'T has SSL set up.# Note:code like Thisposes a security risk (MITM attack) and# that's The reason why do you should never use it for anything else# besides testing. You have been Warned.libcloud.security.VERIFY_SSL_CERT=Falseopenstack=get_driver (provider.openstack) driver= OpenStack ('Your_auth_username','Your_auth_password', Ex_force_auth_url='http://192.168.1.101:5000', Ex_force_auth_version='2.0_password')
Resources:
Official website: https://libcloud.apache.org/
http://www.oschina.net/p/libcloud/
http://www.infoq.com/cn/news/2011/05/apachelibcloud/
Document: Https://libcloud.readthedocs.io/en/latest/compute/drivers/openstack.html
Https://libcloud.readthedocs.io/en/latest/compute/drivers/openstack.html
Https://libcloud.readthedocs.io/en/latest/apidocs/libcloud.common.html#module-libcloud.common.openstack_identity
Cloud computing uses Libcloud to shield the virtualization layer differences of OpenStack, AWS, Aliyun, and more