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


Release history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
caf-0.1.1-py2-none-any.whl (9.8 kB) Copy SHA256 hash SHA256 Wheel py2 Sep 23, 2016
caf-0.1.1.tar.gz (7.8 kB) Copy SHA256 hash SHA256 Source None Sep 23, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page