Skip to main content

caf

Caf (content addressable files) is a CLI utility that allows you to:

  • Create random files using caf gen
  • Verify the generated files have not been tampered with caf verify

That's it. Generate files with random content and verify the files haven't changed. The caf gen command gives control over both the number of files to create as well as the size of the files created. It even lets you specify the distribution of file sizes (more on that in a bit).

Caf is also designed in a way that allows for parallel file generation as well as parallel file validation. It can seamlessly scale up to billions of files.

For example, create a set of random files up to 10MB (the default file size is 4k):

$ caf gen --max-disk-usage 10MB

You can then verify the files are all there:

$ caf verify

Both commands take --jobs to spread their work over worker threads. Generation splits a single large file across threads, and verification uses one global worker budget across the store: it validates files in parallel and lends spare workers to positional reads and corruption analysis within large files. The ordered whole-file BLAKE2b digest remains single-threaded per file. The results are identical at any value, so the setting only changes how long the command takes:

$ caf gen --max-files 1 --file-size 4GB --jobs 8
$ caf verify --jobs 8

The --help output of the caf gen command contains many more examples.

Metadata

Release files for caf 0.4.1

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

Source distribution (sdist)

Source distribution for caf 0.4.1
File Size Uploaded
caf-0.4.1.tar.gz 136.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for caf 0.4.1
File
caf-0.4.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
caf-0.4.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
caf-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
caf-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
caf-0.4.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
caf-0.4.1-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 4.2 MB

Release files / caf-0.4.1.tar.gz

Download URL caf-0.4.1.tar.gz
Size 136.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ac5b50c564ee6ce2cf9bacfb6553d1985cbfeb990c30541950843e172d81fee0
BLAKE2b-256 checksum
How to use checksums
fea896f423604649421f345384f15745037860c3b50b6581f6bdc0df5fb8460a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / caf-0.4.1-py3-none-musllinux_1_2_x86_64.whl

Download URL caf-0.4.1-py3-none-musllinux_1_2_x86_64.whl
Size 748.0 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
63d863dd943299e67e401abe759bbed2d3e82be8b479ae4a4a68b711ac23d76f
BLAKE2b-256 checksum
How to use checksums
52c4f5f46aecf3de3e61e51cba4da15f149202d4b5d3929c73782d4744b156a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / caf-0.4.1-py3-none-musllinux_1_2_aarch64.whl

Download URL caf-0.4.1-py3-none-musllinux_1_2_aarch64.whl
Size 713.7 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3980457f7de5f9f2cefe2aa014e0013595bef699dbc3d3df50adbbfb150aecc2
BLAKE2b-256 checksum
How to use checksums
81658f42b4d713aea7902a748f43e45429fc0cba4a44904672e000446b68022f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / caf-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL caf-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 685.9 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6e7eb033c3131151c5cf7ff985b29ffaa0e4d8af59ba3bcb2ebb3ba917b89955
BLAKE2b-256 checksum
How to use checksums
3e2a38fcee4f44c392bb1d5d5047fd67a76a79ba632217326708f7656e6e24c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / caf-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL caf-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 664.4 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b87d690d4954de587bd4d111db6a5078cca5a2a8f65cbfe1187c64c17c17afbb
BLAKE2b-256 checksum
How to use checksums
5897655d7820e25995cedcdd02cbaaebe1feb1447274f84d08b5cee719707c50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / caf-0.4.1-py3-none-macosx_11_0_arm64.whl

Download URL caf-0.4.1-py3-none-macosx_11_0_arm64.whl
Size 640.7 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
96d903945ed51a0da43eb2cbaa2507fcc7dc123ac3a545dc6788b70ec3263402
BLAKE2b-256 checksum
How to use checksums
f8e46964a8388a966791b09ff5e639bfc13f7b51cb4543b350c08a664265695b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / caf-0.4.1-py3-none-macosx_10_12_x86_64.whl

Download URL caf-0.4.1-py3-none-macosx_10_12_x86_64.whl
Size 651.2 kB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4657e198ccb53eb01297d364512af7f76bcd9dd1652354ec856569c7a07c6936
BLAKE2b-256 checksum
How to use checksums
484eb5dfd3f7f6ba24da7e694434763654bca1446ec35b57d4982b2d2880b02b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.0

7 release files

This release

0.4.1 This release

7 release files

0.4.0

7 release files

0.3.1

7 release files

0.3.0

6 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

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