python-syncthing:到Syncthing REST接口的Python绑定

时间:2024-02-26 17:43:22
【文件属性】:

文件名称:python-syncthing:到Syncthing REST接口的Python绑定

文件大小:25KB

文件格式:ZIP

更新时间:2024-02-26 17:43:22

python rest-api syncthing rest-client RESTAPIPython

python同步 Python绑定到Syncthing REST接口。 $ pip install syncthing 入门 from syncthing import Syncthing API_KEY = "..." s = Syncthing ( API_KEY ) # name spaced by API endpoints s . system . connections () # supports GET/POST semantics sync_errors = s . system . errors () s . system . clear () if sync_errors


【文件预览】:
python-syncthing-master
----MANIFEST.in(46B)
----docs()
--------Makefile(8KB)
--------source()
----tests()
--------test_parse_datetime.py(2KB)
--------test_syncthing.py(3KB)
--------test_scan_folder.py(2KB)
----LICENSE(1KB)
----syncthing()
--------meta.py(888B)
--------__init__.py(31KB)
----setup.cfg(39B)
----setup.py(1KB)
----.gitignore(794B)
----README.md(3KB)

网友评论