Skip to main content

Watch directories for transmission

Project description

Watch directories to trigger transmission downloads.

Trawa is a small python script to monitor watch directories, each having a specific configuration. Any matching file dropped in these directories is sent to a transmission instance using rpcxml.

You can define for each directory to watch, a file mask and a set of rpc parameters to send to transmission. The following example will watch 2 directories and set a specific download_dir for each of the two categories:

    - watch_path:   /home/lke/torrents/linux/images
      file_mask:    '*.torrent'
      descrip:      Linux images
        download_dir:   /downloads/linux_images

    - watch_path:   /home/lke/torrents/audio/samples
      file_mask:    '*.torrent'
      descrip:      Audio samples
        download_dir:   /mnt/ext4/audio/samples

Only newly created torrent files are watched. Torrent files are never removed. When a new torrent is detected for any of the watch_path, the processing is done sequentially and will stop at the first match for file_mask.

Note: For the complete list of rpc parameters, see Transmission RPC proto spec <>.


You can install by cloning the repository or if you have pip:

pip install trawa

To run:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for trawa, version 0.10.0
Filename, size File type Python version Upload date Hashes
Filename, size trawa-0.10.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View
Filename, size trawa-0.10.0-py2.py3-none-any.whl (4.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page