Skip to main content

Create content addressable files

Project description

https://badge.fury.io/py/caf.png https://travis-ci.org/jamesls/caf.png?branch=master https://pypip.in/d/caf/badge.png

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.1.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

caf-0.1.1-py2-none-any.whl (9.8 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: caf-0.1.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for caf-0.1.1.tar.gz
Algorithm Hash digest
SHA256 611f47b75f51320338803702d8567c8bd0ffd25abd835d2e90e4243b358a2aac
MD5 abe32edc0de68dda5430b7bad4e69f0b
BLAKE2b-256 cb75f2592f33f9136a548219afe1626cce00b3af634413504e3718127cd33b75

See more details on using hashes here.

File details

Details for the file caf-0.1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for caf-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 288a9a630096124802eb062a6cdc809ec91763a29d7a10138220559da9f9fdb2
MD5 324af311824b7cc093e66f068e18b9f1
BLAKE2b-256 1be57ec1915cbd62b12a5df0770972a34c599763899713973965ea2f09731611

See more details on using hashes here.

Supported by

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