Skip to main content
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)

Metadata

Release files for cdn-fastly 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdn-fastly 1.0.4
File Size Uploaded
cdn-fastly-1.0.4.tar.gz 13.7 kB Details

Release files / cdn-fastly-1.0.4.tar.gz

Download URL cdn-fastly-1.0.4.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
441085bad88c80f0969282b74bc80bcabdd4f5c0f337495d40a0926f98a71740
BLAKE2b-256 checksum
How to use checksums
6029a6340f7078d7e349d434a0374475071d8f57aeb716c9863ea5501b004537
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page