Releases: BrianPugh/lox
v1.0.0
Breaking Changes
pip install loxnow installs athread-only version of Lox with zero dependencies.pip install lox[multiprocessing]now installs the "full" version that usespathosto handle multiprocessing. This is the equivalent of the previouspip install lox.
Many consumers of lox are only using the @lox.thread decorator and do not need the heavy pathos dependency. Unfortunately, due to how setuptools works, we were unable to make the dependency-less version an "extras". I.e. there's no way of doing pip install lox[slim]; "extras" can only add dependencies, they cannot remove dependencies.
Full Changelog: v0.13.0...v1.0.0
v0.13.0
What's Changed
- remove sphinx_rtd_theme from dependencies. by @BrianPugh in #304
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
- Add type hints to thread & process by @BrianPugh in #302
Full Changelog: v0.11.0...v0.12.0
v0.11.0
v0.10.0
tqdm support
Both thread and process decorators now support progress-bar support for the gather call via the package tqdm.
- Can be a bool:
my_func.gather(tqdm=True)
- Can be a
tqdmobject::
from tqdm import tqdm
pbar = tqdm(total=100)
for _ in range(100):
my_func.scatter()
my_func.gather(tqdm=pbar)
Worker Refactor
-
Complete rework of workers + Fix memory leaks
-
Drop support for python3.5
-
Drop support for chaining in favor of simpler codebase
v0.5.0
-
New Object:
lox.Announcement. Allows a one-to-many thread queue with
backlog support so that late subscribers can still get all (or most recent)
announcements before they subscribed. -
New Feature:
lox.threadscattercalls can now be chained together.
scatternow returns anintsubclass that contains metadata to allow
chaining. Each scatter call can have a maximum of 1 previousscatterresult. -
Documentation updates, theming, and logos