libtorrent icon indicating copy to clipboard operation
libtorrent copied to clipboard

Python bindings for libtorrent version 2.0

Open beroal opened this issue 9 months ago • 2 comments

The compilation script for Arch Linux compiles version 2.0.11. I don't see anything telling that the Python binding has another version. However,

>>> import libtorrent
>>> libtorrent.settings_pack
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    libtorrent.settings_pack
AttributeError: module 'libtorrent' has no attribute 'settings_pack'

beroal avatar Mar 07 '25 11:03 beroal

You may want to use

libtorrent.default_settings()
libtorrent.high_performance_seed()

s = sesison()
s=libtorrent.session()
s.get_settings()
s.apply_settings(...)

mayli avatar Mar 15 '25 09:03 mayli

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 19 '25 05:07 stale[bot]