Python module that implements the Transmission bittorent client JSON-RPC protocol
Project description
Transmission-rpc Readme
transmission-rpc
is a python wrapper on top of transmission JSON RPC protocol,
hosted on GitHub at github.com/trim21/transmission-rpc
Introduction
transmission-rpc
is a python module implementing the json-rpc client protocol for the BitTorrent client Transmission.
Support 14 <= rpc version <= 17 (2.40 <= transmission version <= 4.0.6), should works fine with newer rpc version but some new feature may be missing.
versioning
transmission-rpc
follow Semantic Versioning,
report an issue if you found unexpected API break changes at same major version.
Install
pip install transmission-rpc -U
Documents
https://transmission-rpc.readthedocs.io/en/stable/
Contributing
All kinds of PRs (docs, feature, bug fixes and eta...) are most welcome.
Setup Local Development Environment
At first, you need to install python>=3.10, and task (or you can also run command in taskfile.yaml
directly).
It's recommended to python3.10 as local development python version.
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
# install git pre-commit hooks
pre-commit install
Lint
task lint
Testing
You need to have a transmission daemon running
then add a .env
file
export TR_HOST="..."
export TR_PORT="..."
export TR_USER="..."
export TR_PASS="..."
task test
License
transmission-rpc
is licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for transmission_rpc-7.0.10a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef40b5426242f28abf5a100494622657c1da37d6759317ba744e526328966b9 |
|
MD5 | 3f29a8bf5da13c312da80edcf968f5cb |
|
BLAKE2b-256 | cb465511dd4772db145f69ebabaed9e07d3185001ba4bbd83dfa0e3091082851 |
Hashes for transmission_rpc-7.0.10a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 272df2dca771d6d44851c50cbb1ba4efd3da4fbdbc490b90a318f2cf966c530b |
|
MD5 | 79892e265e2540e375ca5a3c812ca31f |
|
BLAKE2b-256 | 847d9498acc7148029d5b9a0df206feafafa388f7011574b36e2d0cb85e0369c |