semvec/pypi-packages huggingface dataset:
slimparallel 1.0.3
A simple multiprocessing helper.
Requires Python: ~=3.7
Keywords: multiprocessing helper.


# A simple multiprocessing helper.

## usage:
```
from slimparallel import Pool, Task


def test(a: int, b: str):
    print(a, b)
    return a


p1 = (1, 'a')
p2 = (2, 'b')
p3 = (3, 'c')

task = Task(test)
params = (p1, p2, p3, p1, p2, p3)

pool = Pool(task, params, 2)
r = pool.start()
print(r)
```
readlargefile 1.0.4
Large text file reader.
Requires Python: ~=3.7
Keywords: Large textfile reader


# Large text file reader.

## usage:
```
from readlargefile.line_reader import LineReader

with LineReader(file_name, max_line, sep) as reader:
    # line is <class 'bytes'>
    for line in reader:
        if line:
            print(line)
        elif line == b'':
            print('empty line.')
        else:
            # line == None
            print('line is too long.')
```