| CARVIEW |
Select Language
HTTP/2 200
server: Apache
last-modified: Wed, 19 Mar 2025 10:23:09 GMT
etag: "580f-630af686949a1-gzip"
content-encoding: gzip
access-control-allow-origin: *
content-security-policy: default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; script-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; frame-ancestors 'self'; frame-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; worker-src 'self' data: blob:;
content-type: text/html
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
age: 1090
date: Sat, 27 Dec 2025 08:26:02 GMT
x-served-by: cache-hel1410028-HEL, cache-bom-vanm7210043-BOM
x-cache: HIT, HIT
x-cache-hits: 4, 0
x-timer: S1766823962.335341,VS0,VE134
vary: Accept-Encoding
strict-transport-security: max-age=31536000; includeSubDomains; preload
content-length: 4824
Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs | Apache Libcloud
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
Installation
Latest stable version (Python 3.7+ only): 3.8.0 (August 10th, 2023)
pip install apache-libcloud
Or download it from our servers and install it manually.
Features
- Avoid vendor lock-in
- Use the same API to talk to many different providers
- More than 30 supported providers total
- Six main APIs: Compute, Storage, Load Balancers, DNS, Container, Backup
- Supports Python 3.7+, PyPy 3.7+, Python 2.7 (v2.8.x release series)
Compute Example - Create a node
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
cls = get_driver(Provider.RACKSPACE)
driver = cls('username', 'api key', region='iad')
sizes = driver.list_sizes()
images = driver.list_images()
size = [s for s in sizes if s.id == 'performance1-1'][0]
image = [i for i in images if 'Ubuntu 18.04' in i.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.
DNS Example - Create a DNS record
from libcloud.dns.types import Provider, RecordType
from libcloud.dns.providers import get_driver
cls = get_driver(Provider.ZERIGO)
driver = cls('email', 'api key')
zones = driver.list_zones()
zone = [zone for zone in zones if zone.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.
Latest Blog Posts
Call for Maintainers and Contributors; The Future of Apache Libcloud
You can also subscribe and stay up to date using our RSS / Atom feed.
Get in Touch, Follow Us
Users mailing list: users@libcloud.apache.org
Developers mailing list: dev@libcloud.apache.org
IRC channel: #libcloud on Libera.Chat












