Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Python client libary for the Fastly API.

Project Description
A Python client library for Fastly (http://www.fastly.com).

Example:

import fastly

# Connects to Fastly using API key.
client = fastly.connect("your-api-key")

# Need to fully authenticate to access all features.
client.login("email@domain.com", "h4x0rp4ssw0rd")

# Get your account details.
current_customer = client.get_current_customer()

# Get your user details.
current_user = client.get_current_user()

# List all services.
all_services = client.list_services()

# Create a service.
service = client.create_service(current_customer.id,
"test-service",
comment="A service for testing out the client.")

# Create a new version of the service.
service_version = client.create_service_version(service.id,
comment="A new version of this service.")

# Create a domain.
domain = client.create_domain(service.id,
service_version.number,
"www.test.com",
comment="A new domain.")

# List domains associated with this version.
print client.list_domains(service.id, service_version.number)

# Delete the domain we just created.
client.delete_domain(service.id, service_version.number, domain.name)
Release History

Release History

This version
History Node

1.0.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cdn-fastly-1.0.4.tar.gz (13.7 kB) Copy SHA256 Checksum SHA256 Source Jul 25, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting