Skip to main content

A Python package for integrating rclone with fsspec

Project description

RCloneFileSystem: fsspec-Compatible Filesystem via rclone

This package provides a fsspec compliant filesystem interface for rclone.

Given an rclone remove rclone config create myremote s3 ... you can use the RCloneFileSystem as follows:

from rclone_filesystem import RCloneFileSystem

fs = RCloneFileSystem(remote="myremote")

fs.ls("data") # path, e.g. bucket name for S3

with fs_a.open("data/test-file.txt", "wb") as f:
    f.write(b"Hello, World!")

with fs_b.open("data/test-file.txt", "rb") as f:
    content = f.read()
    assert content == b"Hello, World!"

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_filesystem-0.1.0.tar.gz (83.7 kB view details)

Uploaded Source

Built Distribution

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

rclone_filesystem-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file rclone_filesystem-0.1.0.tar.gz.

File metadata

  • Download URL: rclone_filesystem-0.1.0.tar.gz
  • Upload date:
  • Size: 83.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for rclone_filesystem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bd9bcbeaabdf64a803830ca772f52278faf1a9fa114c0a54b1891201c97c422c
MD5 1fb1858f51afc4b877798e7eb902044d
BLAKE2b-256 958e426fa9d70426e0fd3507d7a23ca9ac2ab1b3ac599380e3fd63daad12d4db

See more details on using hashes here.

File details

Details for the file rclone_filesystem-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rclone_filesystem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f277d748b1495d7cf425674c09abc05663efb093ea05bbbd54add361986d5b3
MD5 6818801bdb2b3e147cb76fddc1a98fae
BLAKE2b-256 30825d3c8530fe5bc17763d013b5e80a5948b871016cc8657185c175ae76201a

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