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. 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 <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
Metadata
Release files for trawa 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trawa-0.10.0.tar.gz | 3.8 kB | Without provenance | Details for trawa-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trawa-0.10.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for trawa-0.10.0-py2.py3-none-any.whl |
Total release size: 7.8 kB
Release files / trawa-0.10.0.tar.gz
| Download URL | trawa-0.10.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa50bcbf3dd887ccd2af7684d03317d0040b0c5a2bf823c6f23e6f6c57d391e4
|
|
BLAKE2b-256 checksum How to use checksums |
a59a9c238371d9670a8d6dbe36a79e953ee21e6d738e4e79b01353dd5c5f8f16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / trawa-0.10.0-py2.py3-none-any.whl
| Download URL | trawa-0.10.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fa27f3e1e840e0bdf3ad3d54f1d0627e4a71d573bac0aca858dd54846956c45d
|
|
BLAKE2b-256 checksum How to use checksums |
bbac523fe511e1037e5087be441e82bc7998e5911b5b7464f57c086b24356936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for trawa 0.10.0
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.