{"id":18887476,"url":"https://github.com/pdrb/fwrite","last_synced_at":"2025-06-20T06:06:52.489Z","repository":{"id":57432796,"uuid":"81257165","full_name":"pdrb/fwrite","owner":"pdrb","description":"Create files of the desired size","archived":false,"fork":false,"pushed_at":"2019-01-14T15:53:41.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T11:44:05.536Z","etag":null,"topics":["create","file","python","size","write"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pdrb.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-07T21:40:15.000Z","updated_at":"2019-01-19T16:44:59.000Z","dependencies_parsed_at":"2022-08-27T20:51:09.088Z","dependency_job_id":null,"html_url":"https://github.com/pdrb/fwrite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pdrb/fwrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Ffwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Ffwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Ffwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Ffwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdrb","download_url":"https://codeload.github.com/pdrb/fwrite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrb%2Ffwrite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260891141,"owners_count":23077910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["create","file","python","size","write"],"created_at":"2024-11-08T07:37:59.493Z","updated_at":"2025-06-20T06:06:47.475Z","avatar_url":"https://github.com/pdrb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"|Downloads|\n\nfwrite\n=======\n\nCreate files of the desired size.\n\nSimple example::\n\n    $ fwrite testfile 100M\n\n\nNotes\n=====\n\n- Works on Python 2 and Python 3\n- Uses only Python standard library for maximum compatibility\n\n\nInstall\n=======\n\nInstall using pip::\n\n    pip install fwrite\n\nor\n\nDownload and set executable permission on the script file::\n\n    chmod +x fwrite.py\n\nor\n\nDownload and run using the python interpreter::\n\n    python fwrite.py\n\n\nUsage\n=====\n\n::\n\n    Usage: fwrite filename size [options]\n\n    create files of the desired size, e.g., 'fwrite test 10M'\n\n    Options:\n    --version       show program's version number and exit\n    -h, --help      show this help message and exit\n    -r, --random    use random data (very slow)\n    -n, --newlines  append new line every 1023 bytes\n\n\nExamples\n========\n\nCreate file \"test\" with 100KB::\n\n    $ fwrite test 100K\n\nCreate file \"test\" with 1GB::\n\n    $ fwrite test 1G\n\nCreate file \"test\" with 10MB of random data::\n\n    $ fwrite test 10M -r\n\nCreate file \"test\" with 10MB of random data with lines::\n\n    $ fwrite test 10M -r -n\n\n\n.. |Downloads| image:: https://pepy.tech/badge/fwrite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrb%2Ffwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdrb%2Ffwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrb%2Ffwrite/lists"}