Plotting time tables for jobs ran by GNU Parallel
=================================================
The program ``print_joblog`` produces a textual representation of the
time required by a sequence of jobs ran by GNU parallel
(http://www.gnu.org/software/parallel/).
To use it, call GNU Parallel with the ``--joblog`` option::
$ parallel --joblog log.txt ...[all the other parameters]...
After the file ``log.txt`` has been created, run ``plot_joblog`` on it::
$ plot_joblog log.txt
(You do not have to wait till ``parallel`` has exited to run
``plot_joblog``.)
Installing the program
----------------------
Move in the source directory and run the following command::
$ python3 setup.py install
Example
-------
Here is an example of the output::
$ plot_joblog -w 20 joblog_example.txt
1: |#### |
2: |####################|
3: |######## |
4: |### |
5: | ################ |
6: | ########### |
$
Output can be customized by means of the following parameters:
- ``--width`` specifies the overall width of each bar, in characters.
- ``--space`` allows to set up the character used to fill the
background of the bar.
- ``--fill`` allows to specify the character to be used to fill the
bars.
A nice choice for UTF-8 terminals is to use the character \u2588 (``█``)
for filling the bars::
$ plot_joblog -w 20 --fill='█' joblog_example.txt
1: |████ |
2: |████████████████████|
3: |████████ |
4: |███ |
5: | ████████████████ |
6: | ███████████ |
$
Run ``plot_joblog --help`` to see all the options provided by the
program.
License
-------
This program is released under the MIT license.
=================================================
The program ``print_joblog`` produces a textual representation of the
time required by a sequence of jobs ran by GNU parallel
(http://www.gnu.org/software/parallel/).
To use it, call GNU Parallel with the ``--joblog`` option::
$ parallel --joblog log.txt ...[all the other parameters]...
After the file ``log.txt`` has been created, run ``plot_joblog`` on it::
$ plot_joblog log.txt
(You do not have to wait till ``parallel`` has exited to run
``plot_joblog``.)
Installing the program
----------------------
Move in the source directory and run the following command::
$ python3 setup.py install
Example
-------
Here is an example of the output::
$ plot_joblog -w 20 joblog_example.txt
1: |#### |
2: |####################|
3: |######## |
4: |### |
5: | ################ |
6: | ########### |
$
Output can be customized by means of the following parameters:
- ``--width`` specifies the overall width of each bar, in characters.
- ``--space`` allows to set up the character used to fill the
background of the bar.
- ``--fill`` allows to specify the character to be used to fill the
bars.
A nice choice for UTF-8 terminals is to use the character \u2588 (``█``)
for filling the bars::
$ plot_joblog -w 20 --fill='█' joblog_example.txt
1: |████ |
2: |████████████████████|
3: |████████ |
4: |███ |
5: | ████████████████ |
6: | ███████████ |
$
Run ``plot_joblog --help`` to see all the options provided by the
program.
License
-------
This program is released under the MIT license.
Metadata
Release files for plot_joblog 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plot_joblog-1.0.1.tar.gz | 3.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plot_joblog-1.0.1.linux-x86_64.tar.gz | Details | |||
| plot_joblog-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / plot_joblog-1.0.1.tar.gz
| Download URL | plot_joblog-1.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d76a54fabe986ae3f1daa1b01063bd78c7bb063c2049771eeb0188a4af7890aa
|
|
BLAKE2b-256 checksum How to use checksums |
275a3a485ba336f012bc71cc53c81ddf2fe7f7b5cbb1356acf2548b23b167bbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / plot_joblog-1.0.1.linux-x86_64.tar.gz
| Download URL | plot_joblog-1.0.1.linux-x86_64.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c087defd56962f363430cdda1d77f6ee24a01f09894583326c86ee77efaafbf
|
|
BLAKE2b-256 checksum How to use checksums |
405521cacb7f25e96f30fde13731724edd3e2cd5948ca78cb16a260c8ef0fbc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / plot_joblog-1.0.1-py3-none-any.whl
| Download URL | plot_joblog-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff54e8295d1bd5fb0f121ca5aba1a221632a72d4ab8bf26509e19b9fdbada309
|
|
BLAKE2b-256 checksum How to use checksums |
2eb9d2a33d2bba4b6fd3b29c80d7564c0b9537f3a7db54b381fb1089712f44b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |