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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rslsync-0.4.1.tar.gz | 7.7 kB | Without provenance | Details for rslsync-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rslsync-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for rslsync-0.4.1-py3-none-any.whl |
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
|
Security for rslsync 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.