Generate random text files
Project description
Random File Generator
This Python package allows you to generate multiple random text files concurrently.
Installation
You can install the package using pip:
pip install random-file-generator
## generate_files_parallel
Generates random text files concurrently using multiprocessing.
### Parameters
- `number_of_files`: Number of files to generate.
- `output_folder`: Output folder path.
- `min_file_size`: Minimum size of the files (in bytes).
- `max_file_size`: Maximum size of the files (in bytes).
## Example
```python
import random_file_generator
number_of_files = 5
output_folder = 'random_files'
min_file_size = 1024 # 1 KB
max_file_size = 1048576 # 1 MB
# Generate random files concurrently
random_file_generator.generate_files_parallel(number_of_files, output_folder, min_file_size, max_file_size)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file random_file_generator-0.0.3.tar.gz.
File metadata
- Download URL: random_file_generator-0.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0fc8e34c958a93bd2e4be41adc0fd5cee776339ebc34ef90432ce3b6f54132b
|
|
| MD5 |
09a240b742daa2995c97ff2de51df61e
|
|
| BLAKE2b-256 |
b5d660ca97c0746214a94639620496d8517274f5a0d79a9eeae016073028846c
|
File details
Details for the file random_file_generator-0.0.3-py3-none-any.whl.
File metadata
- Download URL: random_file_generator-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e77e044156bbb6ac50a6b03d6ecd861ab16c1d7027751efd1f3783dd19c9d855
|
|
| MD5 |
022456a3daf17531f5a2893e0f0bdfb1
|
|
| BLAKE2b-256 |
35654b33ae8c2ef5929e34560462655bee5c9fb5ae1196dfb13a88052d9f7bfe
|