{"id":24208633,"url":"https://github.com/nextml-code/rkale","last_synced_at":"2025-07-23T08:07:32.783Z","repository":{"id":37965046,"uuid":"355864821","full_name":"nextml-code/rkale","owner":"nextml-code","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-08T08:24:16.000Z","size":40,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-17T00:37:37.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextml-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-08T10:38:42.000Z","updated_at":"2023-04-06T13:23:15.000Z","dependencies_parsed_at":"2022-08-28T02:00:26.371Z","dependency_job_id":null,"html_url":"https://github.com/nextml-code/rkale","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/nextml-code/rkale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextml-code%2Frkale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextml-code%2Frkale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextml-code%2Frkale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextml-code%2Frkale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextml-code","download_url":"https://codeload.github.com/nextml-code/rkale/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextml-code%2Frkale/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266640830,"owners_count":23960809,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-14T01:17:38.875Z","updated_at":"2025-07-23T08:07:32.764Z","avatar_url":"https://github.com/nextml-code.png","language":"Python","readme":"# rkale\n\n## Install\n\nInstall rkale in your project using poetry:\n\n```bash\npoetry add rkale\n```\n\nUse pip if you want a global installation:\n\n```bash\npip install rkale\n```\n\n## Configuration\n\n### Global\n\n`~/.config/rkale/rkale.conf`:\n```toml\n[data]\nroot = \"path to data folder where datasets are stored\"\n\n[aliases]\nwasabi = \"optional alias for remote in rclone.conf\"\n\n[rclone] # global flags for rclone\nflags = [\"--transfers 32\", \"--checkers 32\"]\n```\n\nIf aliases are empty the remote name from the project config is used in the\nrclone lookup.\n\n### Project\nConfigure project datasets in the pyproject.toml file:\n\n`\u003cproject path\u003e/pyproject.toml`:\n```toml\n[[tool.rkale.dataset]]\nname = \"dataset_1\"\nremote = \"remote_1\"\n\n[[tool.rkale.dataset]]\nname = \"dataset_2\"\nremote = \"remote_2\"\n```\n\nThe remote specified for the dataset must match a remote in the `rclone.conf`\nor an alias in the global rkale configuration.\n\n## Usage\n\n### Python interface\n\n```python\nfrom rkale.config import dataset_paths\n\n\ndef dataset_path():\n    return dataset_paths()[\"dataset_1\"]\n```\n\n### Syncing datasets\n\nSyncs the local datasets to be identical to the remote\n\n```bash\nrkale psync\n```\n\nSyncs the remote datasets to be identical to the local\n\n```bash\nrkale psync --upstream\n```\n\nSame as rclone sync but checks differences first and asks for confirmation\n\n```bash\nrkale sync \u003csource\u003e \u003cdestination\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextml-code%2Frkale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextml-code%2Frkale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextml-code%2Frkale/lists"}