dummygen-cli
A command-line tool to quickly generate dummy files of specified sizes.
Features
- Simple Command-Line Interface: Easy-to-use prompts powered by
rich. - Custom Filename: Specify the desired filename for your dummy file.
- Flexible File Size: Define the file size in KB, MB, GB, or TB.
- Disk Space Monitoring: Displays initial and final free disk space, and the space used.
- Robust Error Handling: Checks for sufficient disk space during file generation.
Installation & Usage
pip install dummygen-cli # or execute direcly "uvx dummygen-cli"
# 2. Input the desired filename and size
# 3. The script will generate a dummy file of the specified size
Example
$ python dummygen-cli.py
# Enter the desired filename: example.txt
# Enter the desired size (e.g., 100MB, 2.5GB): 500MB
Requirements
- Python 3.x
richlibrary (install usingpip install rich)shutillibrary (part of the Python Standard Library)
This will generate a dummy file named example.txt with a size of 500 MB.
Metadata
Release files for dummygen-cli 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dummygen_cli-0.0.4.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dummygen_cli-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / dummygen_cli-0.0.4.tar.gz
| Download URL | dummygen_cli-0.0.4.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a44db2151b07b3c62c2ccc8168523d3918de1f002b992bdd401a60fc35acf3f
|
|
BLAKE2b-256 checksum How to use checksums |
fa73ded2063a5e72f59831f725d8b7664e6b72a386908d800bfefa0ecf99dd44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.2
|
Release files / dummygen_cli-0.0.4-py3-none-any.whl
| Download URL | dummygen_cli-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50926375b39ff733176a27702f6cd8ae7af8d2e175e95f3a9804874cacf11c3b
|
|
BLAKE2b-256 checksum How to use checksums |
d486e4e09fe7bf3c1584ff487c450906888627abb7eae27247d0374588960874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.2
|