Skip to main content

A Python client library and CLI of unofficial Resilio Sync (BTSync) API. No API Key is needed.

Installation

Install from pypi

pip install rslsync

Install from repo

pip install .

Usage

As a command line tool

$ rsl --help
$ rsl general get-settings
$ rsl folder list

As a library

$ from rslsync import RslClient
$ c = RslClient("http://localhost:8888/", "user", "pass")

# general commands
$ c.general.get_settings()     # get all settings

# folder commands
$ c.folder.list()  # list all shared folders

# file commands
$ c.file.list()  # list all shared files
$ share_id = c.file.share(path, days)   # share a single file
$ c.file.get_link(share_id)   # create a share link
$ c.file.unshare(share_id)   # unshare a file

# stat commands
$ c.stat.get_peers_stat()  # get the stats of peers

# fs (file system) commands
# c.fs.get_attr("/")

Related Projects

Metadata

Release files for rslsync 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rslsync 0.4.1
File Size Uploaded
rslsync-0.4.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rslsync 0.4.1
File Interpreter ABI Platform
rslsync-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / rslsync-0.4.1.tar.gz

Download URL rslsync-0.4.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
482afd148c5b433a6fc3d113326de13598589400f0e5ceb09298cf0426e81a04
BLAKE2b-256 checksum
How to use checksums
d8ed2218553871724c4a0b280b8959ace2e5733b3c6e3013ba942d4d9a9425d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0

Release files / rslsync-0.4.1-py3-none-any.whl

Download URL rslsync-0.4.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16268c52a0d39240921917ceb261e3b8c695c02936e6cdea7df6d6794823c850
BLAKE2b-256 checksum
How to use checksums
3e260d1369bda562d669972df3a5811fff5b5923a9e4e530242a0ad76504be2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page