Skip to main content

Python module that adds fast resume data to torrent files to be used by rtorrent

Project description

Rtorrent fast resume

Python module that adds fast resume data to torrent files to be used by rtorrent.

Description

This adds fast resume data to torrent files, allowing rtorrent to skip hash checking when a torrent is added. Based on rtorrent_fast_resume and rfr.pl.

Installation

pip install rfr

Usage

Here's a quick example of how to use this:

import rfr

tor = rfr.FastTorrent('path_to_original.torrent', 'path_to_downloaded_files')

# Call tor.do_resume() when you're ready to generate the fast resume data
tor.do_resume()

# Before outputting the torrent, you can adjust some of the torrent's params
# using:
tor.set_tor_data_val('rtorrent', 'directory', value='whatever you want')

# After calling tor.do_resume(), you can either save the resulting torrent to a file
# or upload straight to rtorrent via xml rpc
tor.save_to_file(dest)
tor.add_to_rtorrent(rtorrent_xmlrpc_url)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rfr-0.1.2.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

rfr-0.1.2-py2.py3-none-any.whl (16.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rfr-0.1.2.tar.gz.

File metadata

  • Download URL: rfr-0.1.2.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for rfr-0.1.2.tar.gz
Algorithm Hash digest
SHA256 eceb060205d157a2235aec1ca46a71eca71782ceb5938f29f78d630b223e0b66
MD5 bf93445e4c28c079d62280d4ae3a591c
BLAKE2b-256 e5e569cb2a9f0fde63c46fd2c4b46c666cc9b9a8a712fb22ee39fe8232f63d79

See more details on using hashes here.

File details

Details for the file rfr-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: rfr-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for rfr-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cac832cc2d41566e860c5dce33558c44d5df23880cda619092af1e08e5662917
MD5 92b81cc31c687c64045f8c125ea71448
BLAKE2b-256 ffd8247a39a757d9032372177d0981f4d1b51468662fc66809b53884447170a9

See more details on using hashes here.

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