pycoretools
pycoretools is a lightweight collection of generic, low-level utilities that are reused across multiple Python projects. It is designed to provide commonly needed building blocks without introducing heavy dependencies or project-specific assumptions.
This package exists primarily to break dependency cycles between higher-level libraries and to centralise small but widely useful tools.
Installation
Installation is easy with pip:
pip install pycoretools
alternatively the package can be cloned from github at https://github.com/GDeLaurentis/pycoretools.
Quick start
Parallelise map over multiple cores.
1from pycoretools import mapThreads
2
3result = mapThreads(some_function, some_iterable)