edgecast – convenient EdgeCast CDN management
The EdgeCast CDN exposes a RESTful API for forcefully loading and purging content from your CDN hosts. The edgecast module provides a simple interface for performing those actions.
Furthermore, the django_edgecast module provides a convient way to configure and access an application wide API client entity through your Django settings.
Installation
To install edgecast and django_edgecast, do yourself a favor and don’t use anything other than pip:
$ pip install edgecast
Installation in Django
After the module has been installed, you need to add django_edgecast to your list of INSTALLED_APPS in your application configuration:
INSTALLED_APPS = (
...
'django_edgecast',
)
You also need to add your account number, which can be found in the upper right corner of your control panel, and your token, which can be found under your account settings, to your application configuration:
EDGECAST_ACCOUNT_NUMBER = '..'
EDGECAST_TOKEN = '..'
The Edgecast client can now be easily accessed from the entire application:
from django_edgecast import client
...
Testing
Testing requires a set of valid credentials. All tests are performed against URLs in the /_testing path for the CDN node your select. Credentials are loaded from the environment during testing for security:
- EDGECAST_CDN_DOMAIN
CDN domain to use for tests.
- EDGECAST_ACCOUNT_NUMBER
Account number (visible in the upper right corner of your control panel.)
- EDGECAST_TOKEN
Token (available under your account settings in your control panel.)
Metadata
Release files for edgecast 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| edgecast-1.0.2.tar.gz | 3.6 kB | Without provenance | Details |
Release files / edgecast-1.0.2.tar.gz
| Download URL | edgecast-1.0.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c863b689340760eae2ef52c5b7706b4f02dd85dd28b7eb58e5d7cc34a01b6be
|
|
BLAKE2b-256 checksum How to use checksums |
7ecb7bdd4c8b05b27d790cdd47946249358f526f787ce4021b040b82f375e83f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for edgecast 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.