pip install taskchaingit clone https://github.com/flowerchecker/taskchain
cd taskchain
poetry install- support for double ~ ignoring namespace
- fix CI tests
- introduce function to chunk iterable
- use chunks for multithreading parallelism
- make subcaches of in-memory cache more intelligent
- be able to get data from cache without computing it
- be able to manipulate with cache values in @cached operator
- use orjson instead of standard json module (except of cache keys)
- allow to define multiple input task using regexp
- use versions in @cached() decorator
- introduce data class to manipulate with generators lazily
- be able to use classes without repr method in definition configs
- fixes
- migrate to poetry
- fixes
- remove redundant module
taskchain.task - add support for task exclusion, just use
exluded_tasksin your config - add tools for testing, check
taskchain.utils.testing - finish documentation
- remove some redundant methods
- improve chain representation in jupyter
- add
tasks_dfparameter to chains - add support for
usesin contexts (same syntax as in configs) - improve create_readable_filenames
- use config name as default name
- better verbose mode
forcemethod of both Chain and Task now supportsdelete_dataparameter which delete persisted data- it defaults to
False - be careful with this
- it defaults to
- add Makefile
- release to PIP
- more types can be used for
runmethod, e.g.dictorDict[str, int] - forbid some names of parameters with special meaning in configs (
uses,tasks, ...) - you should import from
taskchaininstead oftaskchain.taks, later is deprecated and will be removed- use
from taskchain import Task, Config, Chainorimport taskchain as tc; tc.Task
- use
- MultiChain are now more robust, you can use them with configs with context, and it will work correctly
make version-patch
# OR
make version-minor
make publishrun server which dynamically serves docs web.
make docs-developCreate documentation as static files.
make docs-buildBuilds documentation and deploys it to GitHub Pages
make make docs-publish