Skip to main content

Rclone API for Python including the Rclone binaries.

Project description

Rclone Api for Python including Rclone binaries

This package is developed for use in the photobooth-app. It serves to distribute the rclone binary via wheels so a recent version is available on all platforms that are supported by the photobooth-app.

PyPI ruff pytest codecov

How it works

The PyPi packages include the Rclone binaries for Linux/Windows/Mac (64bit/ARM64). To use the API, create an instance of the api=RcloneApi(). The provided binding methods make use of Rclones remote control capabilites, the service needs to be started prior starting file operations api.start().

Usage

Get the version of the Rclone included in the distribution:

from rclone_api.api import RcloneApi

api = RcloneApi()
api.start()

print(api.version()) # CoreVersion(version='v1.72.1')

api.stop()

Synchonize a folder to a remote

from rclone_api.api import RcloneApi

api = RcloneApi()
api.start()

api.sync("localdir/", "cloudremote:remotedir/")

api.stop()

Project details


Download files

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

Source Distribution

rclone_bin_api-1.0.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rclone_bin_api-1.0.0-py3-none-win_arm64.whl (22.2 MB view details)

Uploaded Python 3Windows ARM64

rclone_bin_api-1.0.0-py3-none-win_amd64.whl (24.9 MB view details)

Uploaded Python 3Windows x86-64

rclone_bin_api-1.0.0-py3-none-manylinux_2_28_x86_64.whl (25.0 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

rclone_bin_api-1.0.0-py3-none-manylinux_2_28_aarch64.whl (22.5 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

rclone_bin_api-1.0.0-py3-none-macosx_11_0_arm64.whl (26.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

rclone_bin_api-1.0.0-py3-none-macosx_10_9_x86_64.whl (28.2 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file rclone_bin_api-1.0.0.tar.gz.

File metadata

  • Download URL: rclone_bin_api-1.0.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rclone_bin_api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f363de368e3c788f64239d3ef7da79f42602687a71df99f4f2d77125dd436231
MD5 430241adc336ba27261f29aa6c009049
BLAKE2b-256 134dc4fc950e2c0b77ca5c802867e6f837b9118900721d4d00b2c793dead0fb8

See more details on using hashes here.

File details

Details for the file rclone_bin_api-1.0.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: rclone_bin_api-1.0.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 22.2 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rclone_bin_api-1.0.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 285249a1064e3b93836de45d1767b1e3d27045b0aac423f3ff7b307058c5c09e
MD5 ff1a7a91458b66fec19c9fe307a4865b
BLAKE2b-256 9dc3784ca861eab2548f7e6c75bd9b97364589ec68ff3315bce3e4783fda1b39

See more details on using hashes here.

File details

Details for the file rclone_bin_api-1.0.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: rclone_bin_api-1.0.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 24.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rclone_bin_api-1.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3ba73163d2afa5bd4134992f4f5e231fc05bd09dc878547c2ef0ccc7632304df
MD5 313cd75918e99fbbe70237f208aea19f
BLAKE2b-256 d8bb0499d6887f164cf7126b60ca692a4ae8b8d833cc9deceee564551f4fa914

See more details on using hashes here.

File details

Details for the file rclone_bin_api-1.0.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: rclone_bin_api-1.0.0-py3-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 25.0 MB
  • Tags: Python 3, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rclone_bin_api-1.0.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8baa7818e1adfa6c680e2cd9dd099c4ac8d59c8fd48bb239f25cadebc62eb70c
MD5 1708186bd1b49081535e0906130b0159
BLAKE2b-256 68e1184271839860d4f43deffc70e769b23a29a925630fcd06003ffecc553182

See more details on using hashes here.

File details

Details for the file rclone_bin_api-1.0.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: rclone_bin_api-1.0.0-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 22.5 MB
  • Tags: Python 3, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rclone_bin_api-1.0.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6617b55d04217130496a57fd56d95a2e7ba30e7d66e27264f8faadad7a447dad
MD5 412de74e28dc91c87f1c30b309a98d3e
BLAKE2b-256 cbef467f6d6674ff90d2c055be3f7edf9d69f49fecb633f4f0d8701c9261e31b

See more details on using hashes here.

File details

Details for the file rclone_bin_api-1.0.0-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: rclone_bin_api-1.0.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 26.0 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rclone_bin_api-1.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e7c89cfdf1b48ff57e6f902b9d56a340bdbcb825c9c162486667e5782aa646d
MD5 740fa9d58affdd33d80830f8e9469f2d
BLAKE2b-256 5afb11dd93a62083458b3c94ee42002d24f61bcc3c56df82c3844c757d6cba99

See more details on using hashes here.

File details

Details for the file rclone_bin_api-1.0.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: rclone_bin_api-1.0.0-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 28.2 MB
  • Tags: Python 3, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rclone_bin_api-1.0.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c263ae126dba5908e3120a16bc70ba60ea3ace66119384d9fb72bf08f58eebf4
MD5 986dae3f2cda42ba7ee9bd184ece40e6
BLAKE2b-256 37235e758d5f2ff59d4606b53ae47b50c18f02a37c03f676669090664d71f1e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page