Wraps rclone and provides an interface for an installation at the host or container level.
PyClone is a Python package that wraps rclone and provides a threaded interface for an installation at the host or container level.
An example for processing output from rclone that's stored as a dictionary:
#!/usr/bin/env python import pyclone import time rclone = pyclone.PyClone() rclone.sync( source='/mnt/familyPhotos', remote='googleDrive', path='/backups/familyPhotos' ) while rclone.tailing(): if rclone.readline(): print( rclone.line ) time.sleep( 0.5 ) rclone.stop()
Have something to contribute to this project? Please see the document, How to contribute.
MIT License Copyright (c) 2020 Louis T. Getterman IV Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Written with Typora.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size PyClone-2020.9b2-py3-none-any.whl (10.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size PyClone-2020.9b2.tar.gz (10.7 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for PyClone-2020.9b2-py3-none-any.whl