# RClone Manager
Define multiple tasks using rclone to sync files from one cloud storage to another.
**Documentation:** https://rclone-manager.readthedocs.io/en/latest/
## Features
- Define multiple tasks
- Define timeouts for each task
- Callbacks to run scripts after tasks complete
- Run tasks in parallel
- Save logs to files
## Installation
### Requirements
- [RClone](https://rclone.org/downloads/)
### Install from PyPI
```bash
pip install rclone-manager
```
## Example Usage
### Move files from Local to Google Drive
```python
from rclone_manager import RClone
src = './test_folder'
dst = 'gdrive:rclone-test-folder'
RClone(src, dst).move().run()
print('Done')
```
### Copy files but terminate whenever you want
```python
from rclone_manager.rclone import RClone
src = './test_folder'
dst = 'gdrive:rclone-test-folder'
rclone = RClone(src, dst).copy()
rclone.run(wait=False)
# Do something else
rclone.terminate()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/batuhan0sanli/rclone-manager",
"name": "rclone-manager",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "rclone manager sync copy move file",
"author": "batuhan0sanli",
"author_email": "batuhansanli@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/0f/1e/7142d254f1f662251a4d83ca627b39efb09dae9b66b691d3b561a22d06c1/rclone-manager-1.0.1.tar.gz",
"platform": null,
"description": "# RClone Manager\n\nDefine multiple tasks using rclone to sync files from one cloud storage to another.\n\n**Documentation:** https://rclone-manager.readthedocs.io/en/latest/\n\n## Features\n\n- Define multiple tasks\n- Define timeouts for each task\n- Callbacks to run scripts after tasks complete\n- Run tasks in parallel\n- Save logs to files\n\n## Installation\n\n### Requirements\n- [RClone](https://rclone.org/downloads/)\n\n### Install from PyPI\n```bash\npip install rclone-manager\n```\n\n## Example Usage\n\n### Move files from Local to Google Drive\n\n```python\nfrom rclone_manager import RClone\n\nsrc = './test_folder'\ndst = 'gdrive:rclone-test-folder'\n\nRClone(src, dst).move().run()\n\nprint('Done')\n\n```\n\n### Copy files but terminate whenever you want\n\n```python\nfrom rclone_manager.rclone import RClone\n\nsrc = './test_folder'\ndst = 'gdrive:rclone-test-folder'\n\nrclone = RClone(src, dst).copy()\nrclone.run(wait=False)\n\n# Do something else\n\nrclone.terminate()\n```",
"bugtrack_url": null,
"license": "MIT",
"summary": "Define multiple tasks using rclone.",
"version": "1.0.1",
"split_keywords": [
"rclone",
"manager",
"sync",
"copy",
"move",
"file"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0f1e7142d254f1f662251a4d83ca627b39efb09dae9b66b691d3b561a22d06c1",
"md5": "d1cd9814bb4c2ac5a15fcd8a7da83ef5",
"sha256": "ce5eecb274491dc9f2e924270afccb86e3005ea8f46fe0fdacb5a69194b16b65"
},
"downloads": -1,
"filename": "rclone-manager-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d1cd9814bb4c2ac5a15fcd8a7da83ef5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 8055,
"upload_time": "2023-01-03T04:22:26",
"upload_time_iso_8601": "2023-01-03T04:22:26.830454Z",
"url": "https://files.pythonhosted.org/packages/0f/1e/7142d254f1f662251a4d83ca627b39efb09dae9b66b691d3b561a22d06c1/rclone-manager-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-03 04:22:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "batuhan0sanli",
"github_project": "rclone-manager",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "APScheduler",
"specs": [
[
"~=",
"3.9.1"
]
]
}
],
"lcname": "rclone-manager"
}