{"id":37066943,"url":"https://github.com/blakev/python-syncthing","last_synced_at":"2026-01-14T07:51:28.027Z","repository":{"id":31669107,"uuid":"35234567","full_name":"blakev/python-syncthing","owner":"blakev","description":"Python bindings to the Syncthing REST interface.","archived":false,"fork":false,"pushed_at":"2022-12-05T18:15:52.000Z","size":102,"stargazers_count":81,"open_issues_count":11,"forks_count":23,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-12-13T05:46:51.616Z","etag":null,"topics":["python","rest-api","rest-client","syncthing"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blakev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-07T17:48:07.000Z","updated_at":"2025-09-27T15:38:52.000Z","dependencies_parsed_at":"2023-01-14T19:31:30.563Z","dependency_job_id":null,"html_url":"https://github.com/blakev/python-syncthing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blakev/python-syncthing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakev%2Fpython-syncthing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakev%2Fpython-syncthing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakev%2Fpython-syncthing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakev%2Fpython-syncthing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blakev","download_url":"https://codeload.github.com/blakev/python-syncthing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakev%2Fpython-syncthing/sbom","scorecard":{"id":242726,"data":{"date":"2025-08-11","repo":{"name":"github.com/blakev/python-syncthing","commit":"0d1e968a9d3a15f152a67b053b98a50c7361cd20"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":8,"reason":"Found 9/11 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T06:56:31.131Z","repository_id":31669107,"created_at":"2025-08-17T06:56:31.132Z","updated_at":"2025-08-17T06:56:31.132Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","rest-api","rest-client","syncthing"],"created_at":"2026-01-14T07:51:27.491Z","updated_at":"2026-01-14T07:51:28.016Z","avatar_url":"https://github.com/blakev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python-syncthing\n================\n\n[![pypi](https://img.shields.io/pypi/v/syncthing.svg?style=flat)](https://pypi.python.org/pypi/syncthing)\n[![Syncthing](https://img.shields.io/badge/syncthing-0.14.44-blue.svg?style=flat)](https://syncthing.net)\n[![Documentation Status](https://readthedocs.org/projects/python-syncthing/badge/?version=latest)](http://python-syncthing.readthedocs.io/en/latest/?badge=latest)\n[![MIT License](https://img.shields.io/github/license/blakev/python-syncthing.svg?style=flat)](https://github.com/blakev/python-syncthing/blob/master/LICENSE)\n\n\nPython bindings to the Syncthing REST interface.\n\n- [Python API Documentation](http://python-syncthing.readthedocs.io/en/latest/)\n- [Syncthing](https://syncthing.net/)\n- [Syncthing REST Documentation](https://docs.syncthing.net/dev/rest.html)\n- [Syncthing Forums](https://forum.syncthing.net/)\n\n\n```bash\n$ pip install syncthing\n```\n\n## Getting Started\n\n```python\nfrom syncthing import Syncthing\n\nAPI_KEY = \"...\"\n\ns = Syncthing(API_KEY)\n\n# name spaced by API endpoints\ns.system.connections()\n\n# supports GET/POST semantics\nsync_errors = s.system.errors()\ns.system.clear()\n\nif sync_errors:\n    for e in sync_errors:\n        print(e)\n\n# supports event long-polling\nevent_stream = s.events(limit=10)\nfor event in event_stream:\n    # do something with `event`\n    if event_stream.count \u003e 100:\n        event_stream.stop()\n```\n\n## Running Tests\n\nThe API doctests rely on the following function to run against your instance.\nNone of the \"breaking\" calls will be tested. You must set the following environment\nvariables otherwise all tests will fail.\n\n```python\ndef _syncthing():\n    KEY = os.getenv('SYNCTHING_API_KEY')\n    HOST = os.getenv('SYNCTHING_HOST', '127.0.0.1')\n    PORT = os.getenv('SYNCTHING_PORT', 8384)\n    IS_HTTPS = bool(int(os.getenv('SYNCTHING_HTTPS', '0')))\n    SSL_CERT_FILE = os.getenv('SYNCTHING_CERT_FILE')\n    return Syncthing(KEY, HOST, PORT, 10.0, IS_HTTPS, SSL_CERT_FILE)\n```\n\n## License\n\n\u003e The MIT License (MIT)\n\u003e\n\u003e Copyright (c) 2015-2017 Blake VandeMerwe\n\u003e\n\u003e Permission is hereby granted, free of charge, to any person obtaining a copy\n\u003e of this software and associated documentation files (the \"Software\"), to deal\n\u003e in the Software without restriction, including without limitation the rights\n\u003e to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\u003e copies of the Software, and to permit persons to whom the Software is\n\u003e furnished to do so, subject to the following conditions:\n\u003e The above copyright notice and this permission notice shall be included in all\n\u003e copies or substantial portions of the Software.\n\u003e\n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\u003e IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\u003e FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\u003e AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\u003e LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\u003e OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\u003e SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakev%2Fpython-syncthing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakev%2Fpython-syncthing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakev%2Fpython-syncthing/lists"}