bitween.components.models package¶
Subpackages¶
Submodules¶
bitween.components.models.addresses module¶
bitween.components.models.config module¶
global configuration of the application.
loading is triggered by bitweend at startup
bitween.components.models.torrent_handles module¶
-
class
bitween.components.models.torrent_handles.Handles[source]¶ holds a reference to the handles and some values for other threads
this is managed by the bt thread
get a list of own shares
[{ "files": [], # list of files "total_size": 0, # total size in bytes "name": "", # name of the torrent "hash": "", # sha hash "done": 0 # bytes done }]Returns: