caf-0.1.1
توضیحات
Create content addressable files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | caf-0.1.1 |
| نام | caf |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | James Saryerwinnie |
| ایمیل نویسنده | js@jamesls.com |
| آدرس صفحه اصلی | https://github.com/jamesls/caf |
| آدرس اینترنتی | https://pypi.org/project/caf/ |
| مجوز | BSD |
===
caf
===
.. image:: https://badge.fury.io/py/caf.png
:target: http://badge.fury.io/py/caf
.. image:: https://travis-ci.org/jamesls/caf.png?branch=master
:target: https://travis-ci.org/jamesls/caf
.. image:: https://pypip.in/d/caf/badge.png
:target: https://pypi.python.org/pypi/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.
نیازمندی
| مقدار | نام |
|---|---|
| ==3.2 | click |
نحوه نصب
نصب پکیج whl caf-0.1.1:
pip install caf-0.1.1.whl
نصب پکیج tar.gz caf-0.1.1:
pip install caf-0.1.1.tar.gz