{"id":17970355,"url":"https://github.com/maurosilber/dask-checkpoint","last_synced_at":"2025-03-25T11:31:20.963Z","repository":{"id":58348284,"uuid":"288829579","full_name":"maurosilber/dask-checkpoint","owner":"maurosilber","description":"Customizable caching of dask.delayed results.","archived":false,"fork":false,"pushed_at":"2024-07-01T17:00:48.000Z","size":89,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T01:44:43.541Z","etag":null,"topics":["cache","checkpoint","dask","fsspec"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maurosilber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-19T20:22:05.000Z","updated_at":"2024-07-06T13:42:26.000Z","dependencies_parsed_at":"2024-05-06T18:04:44.925Z","dependency_job_id":"f6a6b864-1c44-403f-b682-da3c3fe6dfd3","html_url":"https://github.com/maurosilber/dask-checkpoint","commit_stats":{"total_commits":103,"total_committers":1,"mean_commits":103.0,"dds":0.0,"last_synced_commit":"e0d13622a41d94262653c04440e79bcf88e31436"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fdask-checkpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fdask-checkpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fdask-checkpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maurosilber%2Fdask-checkpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maurosilber","download_url":"https://codeload.github.com/maurosilber/dask-checkpoint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245453889,"owners_count":20617938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","checkpoint","dask","fsspec"],"created_at":"2024-10-29T15:05:04.737Z","updated_at":"2025-03-25T11:31:20.471Z","avatar_url":"https://github.com/maurosilber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dask-checkpoint\n\nDask-checkpoint is a Python package\nthat adds a customizable caching capabilities to [dask](https://dask.org).\nIt builds on top of `dask.delayed`,\nadding load and save instructions\nto the dask graph.\n\n```python\nfrom dask_checkpoint import Storage, task\n\nstorage = Storage.from_fsspec(\"my_directory\")\n\n\n@task(save=True)\ndef add_one(x):\n    return x + 1\n\n\nx0 = add_one(1).compute()  # computed\nwith storage():\n    x1 = add_one(1).compute()  # computed and saved to storage\n    x2 = add_one(1).compute()  # loaded from storage\nx3 = add_one(1).compute()  # recomputed, not loaded from storage\n\nassert x0 == x1 == x2 == x3\n```\n\n## Installation\n\nDask-checkpoint can be installed from PyPI:\n\n```\npip install dask-checkpoint\n```\n\n## Getting started\n\nCheck out the [tutorial](examples/tutorial.ipynb) to see Dask-checkpoint in action.\n\n## Development\n\nTo set up a development environment in a new conda environment,\nrun the following commands:\n\n```\ngit clone https://github.com/maurosilber/dask-checkpoint\ncd dask-checkpoint\nconda env create -f environment-dev.yml\npre-commit install\n```\n\nRun tests locally with `tox`:\n\n```\ntox\n```\n\nor, if you have `mamba` installed:\n\n```\nCONDA_EXE=mamba tox\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaurosilber%2Fdask-checkpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaurosilber%2Fdask-checkpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaurosilber%2Fdask-checkpoint/lists"}