Socket
Socket
Sign inDemoInstall

transmission-clutch

Package Overview
Dependencies
3
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    transmission-clutch

An RPC client library for the Transmission BitTorrent client


Maintainers
1

Readme

Clutch

.. image:: https://readthedocs.org/projects/clutch/badge/?version=latest :target: https://clutch.readthedocs.io/en/latest/?badge=latest :alt: Documentation badge

.. image:: https://img.shields.io/pypi/v/transmission-clutch.svg :target: https://pypi.org/project/transmission-clutch :alt: PyPI badge

.. image:: https://img.shields.io/pypi/pyversions/transmission-clutch.svg :target: https://pypi.org/project/transmission-clutch :alt: PyPI versions badge

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black :alt: Black formatter badge

.. image:: https://img.shields.io/pypi/l/transmission-clutch.svg :target: https://en.wikipedia.org/wiki/MIT_License :alt: License badge

.. image:: https://img.shields.io/pypi/dm/transmission-clutch.svg :target: https://pypistats.org/packages/transmission-clutch :alt: PyPI downloads badge

Support

btc: bc1q9spjh7nuqatz4pa7dscd0357p3ql588tla6af7

Documentation

Found here: <https://clutch.readthedocs.io>_

Quick start

Install the package:

.. code-block:: console

$ pip install transmission-clutch

Make a client:

.. code-block:: python

from clutch import Client
client = Client()

If you find the client isn't connecting (an error will be raised), make sure you're entering the address correctly. Reference urllib.parse.urlparse_ for parsing rules.

You can specify Transmission's address when making the client:

.. code-block:: python

client = Client(address="http://localhost:9091/transmission/rpc")

.. _urllib.parse.urlparse: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse

RPC methods are separated into groups: torrent, session, queue and misc.

Methods are called by first specifying a group:

.. code-block:: python

client.torrent.add(...)

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc