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
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
rfr-0.1.3.tar.gz
(16.6 kB
view details)
Built Distribution
rfr-0.1.3-py2.py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file rfr-0.1.3.tar.gz
.
File metadata
- Download URL: rfr-0.1.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b17f33ce5c804469bcdfce595d985daafae691762cb3a416f6f930252f08a94 |
|
MD5 | fb24c3fa4bc1479cc5b2aec8cb479e44 |
|
BLAKE2b-256 | 14cfdf88aa35dcb6894de0f217c8a64525f7698572677bc87ec259265f2790b3 |
File details
Details for the file rfr-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: rfr-0.1.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22a8763c05367b38fc5c8d727c049b3b0b90596dc5d3c87606ef4a8b24b1517 |
|
MD5 | b9a1b803dba3d51bac6f6fc4777f4710 |
|
BLAKE2b-256 | 80d122057fcf51e702aa6b17e33e8db81c138a54d49de20517f94a6e01efb083 |