Fastly Python Client
fastly-py is available through
pip as the fastly package
There are three simple scripts provided in
/bin that can be used for various stand-alone purge operations.
import fastly api = fastly.API() api.authenticate_by_key('MYKEY') api.purge_url('www.example.com', '/some/path')
Doc files Docstrings Config file
$ 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. You will need to be granted access to the fastly package in order to push.