Skip to main content

Create content addressable files

Project description

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

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

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

caf-0.2.0.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caf-0.2.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file caf-0.2.0.tar.gz.

File metadata

  • Download URL: caf-0.2.0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for caf-0.2.0.tar.gz
Algorithm Hash digest
SHA256 82409bcd1453856dfdee5e0b266800c9773795253b91c52365bd566323c6c2ac
MD5 ca09af50e3ce6f3ef18a36ba40b23664
BLAKE2b-256 d32e0da6ee9da1dd5038211a9485cfa52f0ff6e53976a9f08476315942df682c

See more details on using hashes here.

Provenance

The following attestation bundles were made for caf-0.2.0.tar.gz:

Publisher: publish.yml on jamesls/caf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file caf-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: caf-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for caf-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f197a9877226428bf8e637b1346be7a47424876331cf69acf0b214ab9dfac908
MD5 f2c976208cf7927de3014b205a6f7845
BLAKE2b-256 8e3315ae2a8d24937587358e1ae05fc2d42ec1e5045a590c31091aa7a7ce50bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for caf-0.2.0-py3-none-any.whl:

Publisher: publish.yml on jamesls/caf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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