neptune-sdk 0.0.1.dev613__tar.gz → 0.0.1.dev622__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neptune-sdk
3
- Version: 0.0.1.dev613
3
+ Version: 0.0.1.dev622
4
4
  Summary: Python SDK for Neptune BitTorrent client JSON-RPC API
5
5
  License-Expression: GPL-3.0-only
6
6
  Requires-Python: >=3.10
@@ -14,7 +14,7 @@ dependencies = [
14
14
  "httpx>=0.27",
15
15
  "pydantic>=2",
16
16
  ]
17
- version = "0.0.1.dev613"
17
+ version = "0.0.1.dev622"
18
18
 
19
19
  [dependency-groups]
20
20
  dev = [
@@ -235,6 +235,10 @@ class NeptuneClient:
235
235
  """Recheck torrent data integrity."""
236
236
  self._call("torrent.recheck", InfoHashRequest(info_hash=info_hash))
237
237
 
238
+ def torrent_reannounce(self, info_hash: str) -> None:
239
+ """Force immediate re-announce to all trackers."""
240
+ self._call("torrent.reannounce", InfoHashRequest(info_hash=info_hash))
241
+
238
242
  # ── torrent — custom ───────────────────────────────────────────────
239
243
 
240
244
  def torrent_custom_set(self, info_hash: str, key: str, value: str) -> None:
@@ -28,6 +28,7 @@ class MainDataTorrent:
28
28
  selected_size: int
29
29
  add_at: int
30
30
  completed_at: int
31
+ corrupted: int
31
32
  private: bool
32
33
  total_seeding: int
33
34
  total_downloading: int
@@ -48,6 +48,7 @@ TORRENT_JSON = {
48
48
  "upload_total": 0,
49
49
  "connection_count": 0,
50
50
  "completed": 0,
51
+ "corrupted": 0,
51
52
  "total_length": 100,
52
53
  "selected_size": 100,
53
54
  "add_at": 0,