pip install taskchain
git 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 get data from cache without computing it
- be able to manipualte 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_tasks
in your config - add tools for testing, check
taskchain.utils.testing
- finish documentation
- remove some redundant methods
- improve chain representation in jupyter
- add
tasks_df
parameter to chains - add support for
uses
in contexts (same syntax as in configs) - improve create_readable_filenames
- use config name as default name
- better verbose mode
force
method of both Chain and Task now supportsdelete_data
parameter 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
run
method, e.g.dict
orDict[str, int]
- forbid some names of parameters with special meaning in configs (
uses
,tasks
, ...) - you should import from
taskchain
instead oftaskchain.taks
, later is deprecated and will be removed- use
from taskchain import Task, Config, Chain
orimport 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 publish
run server which dynamically serves docs web.
make docs-develop
Create documentation as static files.
make docs-build
Builds documentation and deploys it to GitHub Pages
make make docs-publish