<commit_before>![Spawn logo](http://i.imgur.com/GCFZHRe.png)

[![Software License][ico-license]](LICENSE) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/20fe60c6-7257-442e-bff4-9c057580afd6/mini.png)](https://insight.sensiolabs.com/projects/20fe60c6-7257-442e-bff4-9c057580afd6)

Recently I've worked on several projects that call micro-processes for simple tasks (sending JSON data to a webservice, uploading a file, sending an email) in bulk, with sensibly different arguments. Spawn is a command-line utility that makes these calls and displays the progress with a progress bar like so:

```bash
[Spawn] Starting 3 process(es)
 1/3 [=========>------------------]  33% ('php' 'send_updates.php' 'data/client1.json') 4 secs/12 secs 1.2 MiB
 2/3 [==================>---------]  66% ('php' 'send_updates.php' 'data/client2.json') 9 secs/14 secs 1.2 MiB
 3/3 [============================] 100% ('php' 'send_updates.php' 'data/client3.json') 14 secs/14 secs 1.2 MiB
```

**Spawn is not intended to be launched from a remote server, only from your local command line.**


## Install

**Windows**

[Download spawn.phar from the latest release](https://github.com/bouiboui/spawn/releases/download/0.2/spawn.phar)

**Linux/MacOS**
```bash
wget https://github.com/bouiboui/spawn/releases/download/0.2/spawn.phar
chmod +x spawn.phar<commit_msg>Updated latest release version<commit_after>![Spawn logo](http://i.imgur.com/GCFZHRe.png)

[![Software License][ico-license]](LICENSE) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/20fe60c6-7257-442e-bff4-9c057580afd6/mini.png)](https://insight.sensiolabs.com/projects/20fe60c6-7257-442e-bff4-9c057580afd6)

Recently I've worked on several projects that call micro-processes for simple tasks (sending JSON data to a webservice, uploading a file, sending an email) in bulk, with sensibly different arguments. Spawn is a command-line utility that makes these calls and displays the progress with a progress bar like so:

```bash
[Spawn] Starting 3 process(es)
 1/3 [=========>------------------]  33% ('php' 'send_updates.php' 'data/client1.json') 4 secs/12 secs 1.2 MiB
 2/3 [==================>---------]  66% ('php' 'send_updates.php' 'data/client2.json') 9 secs/14 secs 1.2 MiB
 3/3 [============================] 100% ('php' 'send_updates.php' 'data/client3.json') 14 secs/14 secs 1.2 MiB
```

**Spawn is not intended to be launched from a remote server, only from your local command line.**


## Install

**Windows**

[Download spawn.phar from the latest release](https://github.com/bouiboui/spawn/releases/download/0.3/spawn.phar)

**Linux/MacOS**
```bash
wget https://github.com/bouiboui/spawn/releases/download/0.3/spawn.phar
chmod +x spawn.phar
{'fraction_non_alphanumeric': 0.19418904008826773, 'fraction_numerical': 0.058109599117322545, 'mean_word_length': 4.573770491803279, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3534516', 'n_tokens_mistral': 1062, 'n_tokens_neox': 947, 'n_words': 244}