dummyfilescreator-3.0.1


توضیحات

Desktop & CLI tool to generate dummy files
ویژگی مقدار
سیستم عامل OS Independent
نام فایل dummyfilescreator-3.0.1
نام dummyfilescreator
نسخه کتابخانه 3.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Matuzalem (Mat) Muller
ایمیل نویسنده matuzalemtech@gmail.com
آدرس صفحه اصلی https://github.com/matuzalemmuller/dummy-files-creator
آدرس اینترنتی https://pypi.org/project/dummyfilescreator/
مجوز GPLv3
# Dummy Files Creator ![Unit tests](https://github.com/matuzalemmuller/dummy-files-creator/actions/workflows/unit-tests.yml/badge.svg) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/cadec3608d3540b8b9b80fb0daec1b14)](https://www.codacy.com/gh/matuzalemmuller/dummy-files-creator/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=matuzalemmuller/dummy-files-creator&amp;utm_campaign=Badge_Grade) Application to generate dummy files with random content and different checksums. **File units are corresponding powers of 2<sup>10</sup> [(KiB, MiB, GiB)](https://en.wikipedia.org/wiki/Orders_of_magnitude_(data))**. For a bash-based (more performant) solution, see [this project](https://github.com/matuzalemmuller/test-files-creator). ## Usage Both GUI and CLI modes are available. Note that CLI mode is recommended for creating large datasets. ### GUI mode To use the GUI mode, start `dummyfilescreator` without arguments. This mode is **not** recommended for creating large datasets. ![Dummy Files Creator](https://raw.githubusercontent.com/matuzalemmuller/dummy-files-creator/master/doc/screenshot.png) ### CLI mode Recommended for creating large datasets. The parameters for CLI mode are listed below. | Key | Description | | --- | --- | | --output / -o | Location where files will be created | | --n-files / -n | Number of files to be created | | --size / -fs | Size of files to be created | | --unit / -fu | Size unit (KiB, MiB, GiB) | | --chunk-size / -cs | Chunk size | | --chunk-unit / -cu | Chunk size unit (KiB, MiB, GiB) | | --log / -l | Saves log file. *Affects performance* | | --hash / -ha | Includes md5 hash in log file. *Affects performance* | | --progressbar / -p | Shows progress bar. *Affects performance* | | --verbose / -v | Shows per-file progress bar. *Affects performance* | Example: * Create 5 files of 80 MiB each, show the individual file creation progress, and save the log file with md5 hash to /tmp. [![Recording](https://raw.githubusercontent.com/matuzalemmuller/dummy-files-creator/master/doc/recording.gif)](https://asciinema.org/a/WN5s9E54sgA0Ftxp0IDA1Zxq3) ```sh $ dummyfilescreator -o=/tmp -n=5 -fs=80 -fu=MiB -cs=1 -cu=MiB -l=/tmp -ha -v 5 file(s) created in /tmp Log file saved to /tmp $ ls /tmp | grep dummy 71bfdea7-f701-40da-97c0-ff0331edd004.dummy b2c97bc9-159d-41a7-ae8f-55c4d1d2c9ce.dummy b853d34a-e38d-4f97-8648-9db937ce9a61.dummy dummy-files-creator.csv e7149851-0e3a-400f-a929-8ab84b0a0a25.dummy e9658f26-eb5d-4547-b456-ca2020459f2f.dummy $ tail -n 1 /tmp/dummy-files-creator.csv "2022-06-12 22:59:52.213830","80MiB","/tmp/71bfdea7-f701-40da-97c0-ff0331edd004.dummy","442cc4ebbe37cad4025b4bb2049db497" ```


نیازمندی

مقدار نام
>=5.15.0 PyQt5
>=4.64.0 tqdm


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl dummyfilescreator-3.0.1:

    pip install dummyfilescreator-3.0.1.whl


نصب پکیج tar.gz dummyfilescreator-3.0.1:

    pip install dummyfilescreator-3.0.1.tar.gz