Pyfilesystem interface for rclone remotes.
Project description
Access rclone from a pyfilesystem interface
I needed this.
version = 0.3.0
Status
Implemented:
- getinfo()
- listdir()
- isdir()
About
This gives you a pyfilesystem
object with an rclone
remote for a backend. So any backend you can use with rclone, you can use with pyfilesystem.
Internally it uses another project, rclone-python
as middleware to rclone
. If you don't need a pyfilesystem
interface but you want to work with rclone
via python, you should check out rclone-python
.
Dependencies
Automatically installed: rclone-python
This handy tool controls rclone
from python.
pypi.org/project/rclone-python/
github.com/Johannes11833/rclone_python
Manually installed: rclone v1.67.0
This is rclone. Control a wide variety of cloud storage with this puppy.
github.com/rclone/rclone Install rclone on your own.
version_used_by_this_project = rclone-v1.67.0-linux-amd64
Automatically installed: pyfilesystem 2.4.12
The Mac-Daddy of all file system abstractions -- besides rclone -- and besides FUSE. But absolutely one of the number ones.
Installed automagically with fs-rclone if'n y'all don't already have it.
Tools
Added a makepy
tool in the tools directory which extracts the second cell from a jupyter notebook and saves a python file.
from makepy import makepy
makepy('rclonefs','opener')
It takes one or more filenames from the working directory -- without the .ipynb extension -- and exports the 2nd cell to a python file with the same base name.
(Not packaged with the pip distro. Find it in the git repo.)
Changelog
0.3.0 Add getinfo()
, listdir()
, isdir()
. Add makepy
tool. Add Devnotes.ipynb
.
0.2.0 Fix project name for pyfilesystem style. Add src RcloneFS.ipynb and opener.ipynb.
0.1.2 Update README
0.1.0 Add dependencies to pyproject.toml
. Add SoftBOM
(software bill of materials). Delete test code.
0.0.1 fix bug in example::add_one
0.0.0 configure package files
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
Built Distribution
Hashes for fs_rclonefs-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94da375767cb219842e05731c8a4bafb21eb65a3306e099bb37eb5b08847847 |
|
MD5 | 34529fa2c5482d168c140273edc1a310 |
|
BLAKE2b-256 | 71e32aa136ae03200af835e17f7f1bf1354782d88147bca50770ac939e803150 |