Skip to main content

put.io automator

A suite of commands for managing torrents, transfers and files on Put.IO

Configure Sickrage to use a Torrent black hole folder. Configure this application to monitor that folder and download to the same folder used for post-processing in Sickrage.

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.

Table of Contents

Installation

Install the putio-automator package locally for your user. System-wide installation is not supported.

pip install --user putio-automator

This will install a new command-line utility putio in $HOME/.local/bin. Ensure it's on your path:

echo 'PATH=$HOME/.local/bin:$PATH' >> .profile # or .bashrc or .zshrc, ymmv

Configuration

Initialize the application with a basic configuration locally for your user:

putio config init

This will interactively prompt you with some questions about where files should be stored, and your Put.IO OAuth Token.

To get an OAuth Token register your application on Put.IO, and copy the OAuth Token (found under the key icon).

NB The directories entered must be writable by the user running the application.

Check that the connection is working:

putio account info

You should see a JSON packet with information about your account. If not, check your OAuth Token is correct.

To help you debug config issues, show the current config:

putio config show

Regular usage

Torrents

Watch configured directory for torrents and add to Put.IO:

putio torrents watch [-a] [-p PARENT_ID]
  • -a, --add_existing Add existing torrents first.
  • -p PARENT_ID, --parent_id PARENT_ID Parent folder to add files to.

Add existing torrents to Put.IO:

putio torrents add [-p PARENT_ID]
  • -p PARENT_ID, --parent_id PARENT_ID Parent folder to add files to.

Files

List files on Put.IO:

putio files list [-p PARENT_ID]
  • -p PARENT_ID, --parent_id PARENT_ID Parent folder to list files from.

Download files from Put.IO to configured downloads directory:

putio files download [-l LIMIT] [-c CHUNK_SIZE] [-p PARENT_ID]
  • -l LIMIT, --limit LIMIT Maximum number of files to download in one go.
  • -c CHUNK_SIZE, --chunk_size CHUNK_SIZE Defaults to 256kb.
  • -p PARENT_ID, --parent_id PARENT_ID Parent folder to download files from.
  • -f FOLDER, --folder FOLDER Folder in the downloads directory download to.

Transfers

List transfers on Put.IO:

putio transfers list

Cancel by status:

putio transfers cancel_by_status statuses
  • statuses Comma-delimited list of statuses.

Cancel completed transfers:

putio transfers cancel_completed

Cancel seeding transfers:

putio transfers cancel_seeding

Clean finished transfers:

putio transfers clean

Groom transfers (cancels seeding and completed transfers, and cleans afterwards):

putio transfers groom

Database

The 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:

putio db forget name
  • name A substring found in the filename.

Metadata

Release files for putio-automator 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for putio-automator 2.1.1
File Size Uploaded Provenance Actions
putio-automator-2.1.1.tar.gz 15.5 kB Without provenance Details for putio-automator-2.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for putio-automator 2.1.1
File Interpreter ABI Platform Actions
putio_automator-2.1.1-py3-none-any.whl Python 3 none any Details for putio_automator-2.1.1-py3-none-any.whl

Total release size: 28.7 kB

Release files / putio-automator-2.1.1.tar.gz

Download URL putio-automator-2.1.1.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9ab664540c8e70f90b248dddacd6ebafd6362c4c3610e040a88d9f07b3cf4e4b
BLAKE2b-256 checksum
How to use checksums
68ccf961f00fdacf4c7e2e400864717fc975026b630558f240ecd1dd11a89ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release files / putio_automator-2.1.1-py3-none-any.whl

Download URL putio_automator-2.1.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c140f869126c3ba83bf26d93eac6506bfa971c2b3a1360f5deef8ef0bb2d212b
BLAKE2b-256 checksum
How to use checksums
89a01dd631b4e028b0d94eb9606a4f6c82667ac2cde19db1bc39852c8b219941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Security for putio-automator 2.1.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.

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page