Skip to main content

Clutchless

PyPI badge PyPI versions badge Black formatter badge License badge PyPI downloads badge https://coveralls.io/repos/github/mhadam/clutchless/badge.svg

Support

btc: bc1q9spjh7nuqatz4pa7dscd0357p3ql588tla6af7

Quick start

Install the package:

$ pip install clutchless

The -h flag can be used to bring up documentation, e.g. clutchless -h:

A tool for working with torrents and their data in the Transmission BitTorrent client.

Usage:
    clutchless [options] [-v ...] <command> [<args> ...]

Options:
    -a <address>, --address <address>   Address for Transmission (default is http://localhost:9091/transmission/rpc).
    -h, --help  Show this screen.
    -v, --verbose   Verbose terminal output (multiple -v increase verbosity).

The available clutchless commands are:
    add         Add metainfo files to Transmission (with or without data).
    find        Locate data that belongs to metainfo files.
    link        For torrents with missing data in Transmission, find the data and set the location.
    archive     Copy metainfo files from Transmission for backup.
    organize    Migrate torrents to a new location, sorting them into separate folders for each tracker.
    prune       Clean up things in different contexts (files, torrents, etc.).
    dedupe      Delete duplicate metainfo files from paths.
    rename      Changes the name of metainfo files based on metainfo (torrent name and info hash).

See 'clutchless help <command>' for more information on a specific command.

Examples

To copy all the metainfo files (.torrent) in Transmission to ~/torrent_archive:

clutchless archive ~/torrent_archive

To add some torrents to Transmission, searching ~/torrent_archive for metainfo files and finding data in ~/torrent_data:

clutchless add ~/torrent_archive -d ~/torrent_data

To look for matching data given a search folder (~/torrent_data) and a directory (~/torrent_files) that contains metainfo files:

clutchless find ~/torrent_files -d ~/torrent_data

To organize torrents into folders under ~/new_place and named by tracker, with default_folder for ones missing a folder name for one reason or another:

clutchless organize ~/new_place -d default_folder

Remove torrents that are completely missing data:

clutchless prune client

Remove metainfo files from some folders (folder1, folder2) that are found in Transmission:

clutchless prune folder ~/folder1 ~/folder2

To associate torrent to their matching data found in any number of folders (in this case just two):

clutchless link ~/data_folder_1 ~/data_folder_2

To delete duplicate metainfo files in ~/folder1:

clutchless dedupe ~/folder1

To rename all the metainfo files in ~/folder1 according to metainfo (format: torrent_name.hash.torrent):

clutchless rename ~/folder1

Metadata

Release files for clutchless 0.2.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 clutchless 0.2.1
File Size Uploaded Provenance Actions
clutchless-0.2.1.tar.gz 30.5 kB Without provenance Details for clutchless-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clutchless 0.2.1
File Interpreter ABI Platform Actions
clutchless-0.2.1-py3-none-any.whl Python 3 none any Details for clutchless-0.2.1-py3-none-any.whl

Total release size: 71.9 kB

Release files / clutchless-0.2.1.tar.gz

Download URL clutchless-0.2.1.tar.gz
Size 30.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f43ae8827c4cf6f0fc390952a2b387470d8fe786490e39bed9f1c96efa156da7
BLAKE2b-256 checksum
How to use checksums
d0e35ce32d5d69a0b40bddf1211f5c33b5c7981894c9ef4e30aa8f102c1f7444
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.9.2 Linux/5.11.0-18-generic

Release files / clutchless-0.2.1-py3-none-any.whl

Download URL clutchless-0.2.1-py3-none-any.whl
Size 41.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
577b72d81f92b5b72c5856524424ea294c8d3f442fe0f3a0d0b13da27b6e7ff1
BLAKE2b-256 checksum
How to use checksums
ca5546c99d931bd21542eaa62b6b58ef68de87f4a3b83211a9811f3788d89748
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.9.2 Linux/5.11.0-18-generic

Security for clutchless 0.2.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

0.2.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