Wim Pomp
d6afbc3caf
- add PoolSingleton to __init__
...
- update readme
2024-10-20 13:10:49 +02:00
Wim Pomp
fb7757828f
- fix serial computation
...
- some more tests
2024-09-11 13:08:03 +02:00
Wim Pomp
4d80316244
- add gmap: function like pmap, but returning a generator instead of a list
...
- add arguments for returning results out/in order and returning result indices
2024-09-05 18:37:47 +02:00
Wim Pomp
9783c1d1f2
- introduce n_processes to change the number of processes in the pool
2024-05-24 16:57:35 +02:00
Wim Pomp
f3302f6dba
- Use a singleton pool to prevent lengthy restarts of the pool, this also means that arguments for pool size have gone.
...
- Removed qbar and TqdmMeter.
- Wrap chunked function for better error messages.
2023-09-08 17:19:35 +02:00
Wim Pomp
92f162b7d5
- Make processes non-daemonic
...
- Deprecate terminator argument
2023-08-16 16:46:50 +02:00
Wim Pomp
dfee4bc0ea
- README update
2023-08-08 17:50:20 +02:00
Wim Pomp
32c5560306
- rename some things to conform to PEP
...
- pmap and parfor now automatically divide the task in chunks: less pickling is needed this way
- pickle code in a new file: prevent some unpickleble things from getting pickled
- Chunks now supports generators when the length keyword argument is supplied
- TqdmMeter can have a description
2022-05-03 15:56:13 +02:00
Wim Pomp
3d99250b98
- force number of workers to be at least 2
...
- update readme
2021-01-04 12:35:01 +01:00
Wim Pomp
d7a2a473d5
Update readme with if __name__ == '__main__':
2020-12-28 13:53:12 +01:00
Wim Pomp
a02677dc1d
- Fix chunks for when length of input is smaller than chunk size.
2020-11-24 16:34:40 +01:00
w.pomp
2ddf73ed0f
- Fix qbar error for OSX.
2020-09-11 17:37:47 +02:00
w.pomp
6c4f2d5132
- Add terminator function.
2020-09-04 18:03:30 +02:00
w.pomp
da70cf7a2f
- Dill (almost) everything.
...
- Change dill a little to automatically omit undillable parts of objects.
- README.me Limitations
2020-09-03 11:29:15 +02:00
w.pomp
0d07638e98
First commit.
2020-08-31 16:10:12 +02:00