Skip to main content

cfwatch pypi

Automagically purges CloudFlare’s cache when local files are updated.

This is useful for exporting a directory of files via CloudFlare. If your files are updated, cfwatch will automatically purge the corresponding URL on CloudFlare.

With cfwatch, you will no longer need to add cache busting query strings, and the direct link will always work.

Usage

$ pip install cfwatch
$ cfwatch --help
usage: cfwatch.py [-h] [-l LOG] zone prefix [dir]

Purges CloudFlare on local file change.

positional arguments:
  zone               CloudFlare zone (e.g. example.com)
  prefix             CloudFlare path prefix (e.g. http://example.com/)
  dir                directory to watch, i.e. file.txt this directory is
                     http://example.com/file.txt

optional arguments:
  -h, --help         show this help message and exit
  -l LOG, --log LOG  log file

When running cfwatch, you must set the following environment variables:

  • CFWATCH_TOKEN to your CloudFlare API token (not the legacy API key)

Metadata

Release files for cfwatch 0.3.0

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

Source distribution (sdist)

Source distribution for cfwatch 0.3.0
File Size Uploaded Provenance Actions
cfwatch-0.3.0.tar.gz 4.4 kB Without provenance Details for cfwatch-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cfwatch 0.3.0
File Interpreter ABI Platform Actions
cfwatch-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for cfwatch-0.3.0-py2.py3-none-any.whl

Total release size: 9.2 kB

Release files / cfwatch-0.3.0.tar.gz

Download URL cfwatch-0.3.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
451ee44a5b46160da3131b76fb30ade19a156c188bfc9c0ecff017985d25e3e7
BLAKE2b-256 checksum
How to use checksums
1be57d7ddbeaf3529433b71885fe9529d8d1bfb6650d30591e4adba7e99c5eaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / cfwatch-0.3.0-py2.py3-none-any.whl

Download URL cfwatch-0.3.0-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4f22fb28b8037b8bfcdd18d5d4c61c9618c953e45efbbd1c5018e8cbfde5eb23
BLAKE2b-256 checksum
How to use checksums
3a53af928c963720e3b3c91ec8d81b7a21b8aaa9f757df6c4950918324b48f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Security for cfwatch 0.3.0

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.

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