Skip to main content

Python module that implements the Transmission bittorent client JSON-RPC protocol

Project description

Transmission-rpc Readme

PyPI Documentation Status ci PyPI - Python Version Codecov branch

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, poetry and task (or you can also run command in taskfile.yaml directly).

It's recommended to python3.10 as local development python version.

poetry install --sync
poetry run pre-commit install # install git pre-commit hooks

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

transmission_rpc-7.0.7a3.tar.gz (25.9 kB view hashes)

Uploaded Source

Built Distribution

transmission_rpc-7.0.7a3-py3-none-any.whl (27.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page