Skip to main content

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.

Source Distribution

fastly-0.0.3.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file fastly-0.0.3.tar.gz.

File metadata

  • Download URL: fastly-0.0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fastly-0.0.3.tar.gz
Algorithm Hash digest
SHA256 39b1c522c60b456c59cec0096705c6677ff0f67af31da14d9653b9b98e27680a
MD5 6b2e4e718b34e8decc65d28e8c69d112
BLAKE2b-256 e970137e5857883d83558d47b779f8e8ee40907677bc3ac647967ce9ad5f6201

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page