{"id":13897385,"url":"https://github.com/rmartin16/qbittorrent-api","last_synced_at":"2026-05-04T02:01:22.202Z","repository":{"id":37664257,"uuid":"184800007","full_name":"rmartin16/qbittorrent-api","owner":"rmartin16","description":"Python client implementation for qBittorrent's Web API","archived":false,"fork":false,"pushed_at":"2026-05-01T14:31:48.000Z","size":4028,"stargazers_count":494,"open_issues_count":9,"forks_count":73,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-01T16:26:01.452Z","etag":null,"topics":["api","api-client","client","python","python-client","qbittorrent","torrents","webapi"],"latest_commit_sha":null,"homepage":"https://qbittorrent-api.readthedocs.io/","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/rmartin16.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-03T18:07:02.000Z","updated_at":"2026-05-01T14:31:52.000Z","dependencies_parsed_at":"2022-07-09T18:46:30.102Z","dependency_job_id":"991e1970-0179-4569-abcf-5503392e970d","html_url":"https://github.com/rmartin16/qbittorrent-api","commit_stats":{"total_commits":229,"total_committers":5,"mean_commits":45.8,"dds":0.0393013100436681,"last_synced_commit":"07c7caee03ed2ea6f1be79874d2b9daa5a7b534a"},"previous_names":[],"tags_count":95,"template":false,"template_full_name":null,"purl":"pkg:github/rmartin16/qbittorrent-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmartin16%2Fqbittorrent-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmartin16%2Fqbittorrent-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmartin16%2Fqbittorrent-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmartin16%2Fqbittorrent-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmartin16","download_url":"https://codeload.github.com/rmartin16/qbittorrent-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmartin16%2Fqbittorrent-api/sbom","scorecard":{"id":778890,"data":{"date":"2025-08-11","repo":{"name":"github.com/rmartin16/qbittorrent-api","commit":"4fc2ae4035c1a3cbd05d7e21da232d07bb1d6df5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/19 approved changesets -- score normalized to 0","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":"Maintained","score":10,"reason":"16 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:78","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:18","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:19","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:22","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:156: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:166: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:182: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:189: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:206: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:209: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit-update.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/pre-commit-update.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit-update.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/pre-commit-update.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit-update.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/pre-commit-update.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pre-commit-update.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/pre-commit-update.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/rmartin16/qbittorrent-api/test.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:162","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:163","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:218","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:219","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:66","Warn: pipCommand not pinned by hash: .github/workflows/pre-commit-update.yml:70","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:73","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:75","Info:   0 out of  22 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   9 third-party GitHubAction dependencies pinned","Info:   0 out of   8 pipCommand dependencies pinned"],"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":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2025.7.0 not signed: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/231990656","Warn: release artifact v2025.5.0 not signed: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/216273387","Warn: release artifact v2025.4.1 not signed: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/214905196","Warn: release artifact v2025.4.0 not signed: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/213500440","Warn: release artifact v2025.2.0 not signed: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/200816650","Warn: release artifact v2025.7.0 does not have provenance: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/231990656","Warn: release artifact v2025.5.0 does not have provenance: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/216273387","Warn: release artifact v2025.4.1 does not have provenance: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/214905196","Warn: release artifact v2025.4.0 does not have provenance: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/213500440","Warn: release artifact v2025.2.0 does not have provenance: https://api.github.com/repos/rmartin16/qbittorrent-api/releases/200816650"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:9"],"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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (26) 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-23T04:23:16.490Z","repository_id":37664257,"created_at":"2025-08-23T04:23:16.491Z","updated_at":"2025-08-23T04:23:16.491Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32591603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-client","client","python","python-client","qbittorrent","torrents","webapi"],"created_at":"2024-08-06T18:03:33.485Z","updated_at":"2026-05-04T02:01:22.195Z","avatar_url":"https://github.com/rmartin16.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\nqBittorrent Web API Client\n==========================\n\nPython client implementation for qBittorrent Web API\n\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/checks-status/rmartin16/qbittorrent-api/main?style=flat-square)](https://github.com/rmartin16/qbittorrent-api/actions?query=branch%3Amain) [![Codecov branch](https://img.shields.io/codecov/c/gh/rmartin16/qbittorrent-api/main?style=flat-square)](https://app.codecov.io/gh/rmartin16/qbittorrent-api) [![PyPI](https://img.shields.io/pypi/v/qbittorrent-api?style=flat-square)](https://pypi.org/project/qbittorrent-api/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qbittorrent-api?style=flat-square)](https://pypi.org/project/qbittorrent-api/)\n\n\u003c/div\u003e\n\nCurrently supports qBittorrent [v5.2.0](https://github.com/qbittorrent/qBittorrent/releases/tag/release-5.2.0) (Web API v2.15.1) released on May 03, 2026.\n\nUser Guide and API Reference available on [Read the Docs](https://qbittorrent-api.readthedocs.io/).\n\nFeatures\n--------\n* The entire qBittorrent [Web API](https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-5.0)) is implemented.\n* qBittorrent version checking for an endpoint's existence/features is automatically handled.\n* If the authentication cookie expires, a new one is automatically requested in line with any API call.\n\nInstallation\n------------\nInstall via pip from [PyPI](https://pypi.org/project/qbittorrent-api/)\n```bash\npython -m pip install qbittorrent-api\n```\n\nGetting Started\n---------------\n```python\nimport qbittorrentapi\n\n# instantiate a Client using the appropriate WebUI configuration\nconn_info = dict(\n    host=\"localhost\",\n    port=8080,\n    username=\"admin\",\n    password=\"adminadmin\",\n)\nqbt_client = qbittorrentapi.Client(**conn_info)\n\n# the Client will automatically acquire/maintain a logged-in state\n# in line with any request. therefore, this is not strictly necessary;\n# however, you may want to test the provided login credentials.\ntry:\n    qbt_client.auth_log_in()\nexcept qbittorrentapi.LoginFailed as e:\n    print(e)\n\n# if the Client will not be long-lived or many Clients may be created\n# in a relatively short amount of time, be sure to log out:\nqbt_client.auth_log_out()\n\n# or use a context manager:\nwith qbittorrentapi.Client(**conn_info) as qbt_client:\n    if qbt_client.torrents_add(urls=\"...\") != \"Ok.\":\n        raise Exception(\"Failed to add torrent.\")\n\n# display qBittorrent info\nprint(f\"qBittorrent: {qbt_client.app.version}\")\nprint(f\"qBittorrent Web API: {qbt_client.app.web_api_version}\")\nfor k, v in qbt_client.app.build_info.items():\n    print(f\"{k}: {v}\")\n\n# retrieve and show all torrents\nfor torrent in qbt_client.torrents_info():\n    print(f\"{torrent.hash[-6:]}: {torrent.name} ({torrent.state})\")\n\n# stop all torrents\nqbt_client.torrents.stop.all()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmartin16%2Fqbittorrent-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmartin16%2Fqbittorrent-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmartin16%2Fqbittorrent-api/lists"}