{"id":17696797,"url":"https://github.com/datashaman/putio-automator","last_synced_at":"2025-08-18T19:34:56.268Z","repository":{"id":46301896,"uuid":"48476148","full_name":"datashaman/putio-automator","owner":"datashaman","description":"A suite of commands for managing torrents, transfers and files on put.io. Works well with SickRage, Sonarr, etc.","archived":false,"fork":false,"pushed_at":"2023-03-02T23:34:49.000Z","size":174,"stargazers_count":71,"open_issues_count":2,"forks_count":17,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-27T07:54:38.991Z","etag":null,"topics":["docker","media","putio","sickrage","sonarr","torrent"],"latest_commit_sha":null,"homepage":"","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/datashaman.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-23T07:27:16.000Z","updated_at":"2025-05-08T18:30:28.000Z","dependencies_parsed_at":"2024-10-24T17:50:05.473Z","dependency_job_id":"825b9fce-5942-4767-8071-d5c4bb4e7b26","html_url":"https://github.com/datashaman/putio-automator","commit_stats":{"total_commits":162,"total_committers":6,"mean_commits":27.0,"dds":0.03703703703703709,"last_synced_commit":"b5106c512c29ad82f647873c3250c76a2bf2e285"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/datashaman/putio-automator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fputio-automator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fputio-automator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fputio-automator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fputio-automator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datashaman","download_url":"https://codeload.github.com/datashaman/putio-automator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datashaman%2Fputio-automator/sbom","scorecard":{"id":324777,"data":{"date":"2025-08-11","repo":{"name":"github.com/datashaman/putio-automator","commit":"b5106c512c29ad82f647873c3250c76a2bf2e285"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 4/30 approved changesets -- score normalized to 1","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":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"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":"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":"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/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/datashaman/putio-automator/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/datashaman/putio-automator/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/datashaman/putio-automator/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/datashaman/putio-automator/codeql-analysis.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.9 to python:3.9@sha256:9de4fb93b121cb8d341eddbbfcd2bf1656489b00588ac9dd4e7575b06f23d277","Warn: pipCommand not pinned by hash: Dockerfile:5","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 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":"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 13 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-18T02:11:08.932Z","repository_id":46301896,"created_at":"2025-08-18T02:11:08.932Z","updated_at":"2025-08-18T02:11:08.932Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271049847,"owners_count":24691142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"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":["docker","media","putio","sickrage","sonarr","torrent"],"created_at":"2024-10-24T14:45:22.739Z","updated_at":"2025-08-18T19:34:56.199Z","avatar_url":"https://github.com/datashaman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# put.io automator\n\nA suite of commands for managing torrents, transfers and files on **Put.IO**\n\nConfigure Sickrage to use a Torrent black hole folder. Configure this application to\nmonitor that folder and download to the same folder used for post-processing in Sickrage.\n\n**Note** Version 2 drops Docker and RPi support. The application should still run just fine in both contexts; however it is no longer directly supported. Also, support for Python 2 has been dropped.\n\n## Table of Contents\n\n\u003c!-- toc --\u003e\n\n* [Installation](#installation)\n* [Configuration](#configuration)\n* [Regular usage](#regular-usage)\n  * [Torrents](#torrents)\n  * [Files](#files)\n  * [Transfers](#transfers)\n  * [Database](#database)\n\n\u003c!-- toc stop --\u003e\n\n## Installation\n\nInstall the putio-automator package locally **for your user**. System-wide installation is not supported.\n\n    pip install --user putio-automator\n\nThis will install a new command-line utility `putio` in `$HOME/.local/bin`. Ensure it's on your path:\n\n    echo 'PATH=$HOME/.local/bin:$PATH' \u003e\u003e .profile # or .bashrc or .zshrc, ymmv\n\n## Configuration\n\nInitialize the application with a basic configuration locally for your user:\n\n    putio config init\n\nThis will interactively prompt you with some questions about where files should be stored, and your **Put.IO** `OAuth Token`.\n\nTo get an `OAuth Token` register your application on **Put.IO**, and copy the `OAuth Token` (found under the key icon).\n\n**NB** The directories entered must be writable by the user running the application.\n\nCheck that the connection is working:\n\n    putio account info\n\nYou should see a JSON packet with information about your account. If not, check your `OAuth Token` is correct.\n\nTo help you debug config issues, show the current config:\n\n    putio config show\n\n## Regular usage\n\n### Torrents\n\nWatch configured directory for torrents and add to **Put.IO**:\n\n    putio torrents watch [-a] [-p PARENT_ID]\n\n* -a, --add_existing\n  Add existing torrents first.\n* -p PARENT_ID, --parent_id PARENT_ID\n  Parent folder to add files to.\n\nAdd existing torrents to **Put.IO**:\n\n    putio torrents add [-p PARENT_ID]\n\n* -p PARENT_ID, --parent_id PARENT_ID\n  Parent folder to add files to.\n\n### Files\n\nList files on **Put.IO**:\n\n    putio files list [-p PARENT_ID]\n\n* -p PARENT_ID, --parent_id PARENT_ID\n  Parent folder to list files from.\n\nDownload files from **Put.IO** to configured downloads directory:\n\n    putio files download [-l LIMIT] [-c CHUNK_SIZE] [-p PARENT_ID]\n\n* -l LIMIT, --limit LIMIT\n  Maximum number of files to download in one go.\n* -c CHUNK_SIZE, --chunk_size CHUNK_SIZE\n  Defaults to 256kb.\n* -p PARENT_ID, --parent_id PARENT_ID\n  Parent folder to download files from.\n* -f FOLDER, --folder FOLDER\n  Folder in the downloads directory download to.\n\n### Transfers\n\nList transfers on **Put.IO**:\n\n    putio transfers list\n\nCancel by status:\n\n    putio transfers cancel_by_status statuses\n\n* statuses\n  Comma-delimited list of statuses.\n\nCancel completed transfers:\n\n    putio transfers cancel_completed\n\nCancel seeding transfers:\n\n    putio transfers cancel_seeding\n\nClean finished transfers:\n\n    putio transfers clean\n\nGroom transfers (cancels seeding and completed transfers, and cleans afterwards):\n\n    putio transfers groom\n\n### Database\n\nThe application records downloads in a SQLite database, so you don't inadvertently download the same file over and over when there's an error. This command clears the database record of a specific substring so you can download it again:\n\n    putio db forget name\n\n* name\n  A substring found in the filename.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatashaman%2Fputio-automator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatashaman%2Fputio-automator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatashaman%2Fputio-automator/lists"}