Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Fastly python API

Project description

## Fastly Python Client

fastly-py is available through pip as the [fastly](https://pypi.python.org/pypi/fastly) package

There are three simple scripts provided in /bin that can be used for various stand-alone purge operations.

### Usage

`python import fastly api = fastly.API() api.authenticate_by_key('MYKEY') api.purge_url('www.example.com', '/some/path') `

### TODO:

Doc files Docstrings Config file

### Running Tests

` $ python -m test.api_test `

### Distributing a package

` $ python setup.py register `

Builds and uploads to PyPi. More info on this at the [python site](https://docs.python.org/2/distutils/packageindex.html). You will need to be granted access to the fastly package in order to push.

Project details


Download files

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

Files for fastly, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size fastly-0.0.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page