Skip to main content

Wraps rclone and provides an interface for an installation at the host or container level.

Project description

PyClone

PyClone is a Python package that wraps rclone and provides a threaded interface for an installation at the host or container level.

Usage

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()

Contributors

Have something to contribute to this project? Please see the document, How to contribute.

Project

Status

Module version

Module status

Tests

Pipeline Status

Downloads

Downloads per month

Downloads per week

Downloads per day

About

Module license

PyPI Wheel

Python versions supported

Python implementation

Links

License

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyClone, version 2020.9b2
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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page