Metadata-Version: 2.1
Name: trawa
Version: 0.9.0
Summary: Watch directories for transmission
Home-page: https://github.com/architek/trawa
Author: Laurent Kislaire
Author-email: teebeenator@gmail.com
License: ISC license
Keywords: transmission watch directory
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: ISC License (ISCL)
Requires-Dist: Click (>=6.0)
Requires-Dist: inotify-simple (==1.1.8)
Requires-Dist: transmissionrpc (==0.11)
Requires-Dist: PyYAML (==5.1.2)

=====
TraWa
=====


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

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

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


Only newly created torrent files are watched. Torrent files are never removed.

*Note:* For the complete list of rpc parameters, see `Transmission RPC proto spec <https://github.com/transmission/transmission/wiki/RPC-Protocol-Specification>`.

INSTALL / USE
-------------

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

    pip install trawa

To run::

    trawa


