bytehaul 0.1.2__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.
Files changed (48) hide show
  1. bytehaul-0.1.2/.gitignore +46 -0
  2. bytehaul-0.1.2/Cargo.lock +2821 -0
  3. bytehaul-0.1.2/Cargo.toml +49 -0
  4. bytehaul-0.1.2/LICENSE +21 -0
  5. bytehaul-0.1.2/PKG-INFO +242 -0
  6. bytehaul-0.1.2/README.md +104 -0
  7. bytehaul-0.1.2/bindings/python/Cargo.toml +21 -0
  8. bytehaul-0.1.2/bindings/python/README.md +218 -0
  9. bytehaul-0.1.2/bindings/python/src/lib.rs +587 -0
  10. bytehaul-0.1.2/bindings/python/src/lib_tests.rs +508 -0
  11. bytehaul-0.1.2/bindings/python/tests/test_bytehaul.py +275 -0
  12. bytehaul-0.1.2/bindings/python/uv.lock +227 -0
  13. bytehaul-0.1.2/docs/README.zh-CN.md +103 -0
  14. bytehaul-0.1.2/docs/advanced.md +107 -0
  15. bytehaul-0.1.2/docs/advanced.zh-CN.md +107 -0
  16. bytehaul-0.1.2/docs/python.zh-CN.md +239 -0
  17. bytehaul-0.1.2/example/python_demo.py +219 -0
  18. bytehaul-0.1.2/pyproject.toml +48 -0
  19. bytehaul-0.1.2/python/bytehaul/__init__.py +23 -0
  20. bytehaul-0.1.2/src/checksum.rs +111 -0
  21. bytehaul-0.1.2/src/config.rs +277 -0
  22. bytehaul-0.1.2/src/error.rs +183 -0
  23. bytehaul-0.1.2/src/http/mod.rs +3 -0
  24. bytehaul-0.1.2/src/http/request.rs +74 -0
  25. bytehaul-0.1.2/src/http/response.rs +172 -0
  26. bytehaul-0.1.2/src/http/source.rs +1 -0
  27. bytehaul-0.1.2/src/http/worker.rs +218 -0
  28. bytehaul-0.1.2/src/lib.rs +18 -0
  29. bytehaul-0.1.2/src/logging.rs +99 -0
  30. bytehaul-0.1.2/src/manager.rs +305 -0
  31. bytehaul-0.1.2/src/network.rs +231 -0
  32. bytehaul-0.1.2/src/progress.rs +70 -0
  33. bytehaul-0.1.2/src/rate_limiter.rs +151 -0
  34. bytehaul-0.1.2/src/scheduler.rs +160 -0
  35. bytehaul-0.1.2/src/session.rs +1653 -0
  36. bytehaul-0.1.2/src/storage/cache.rs +359 -0
  37. bytehaul-0.1.2/src/storage/control.rs +293 -0
  38. bytehaul-0.1.2/src/storage/file.rs +135 -0
  39. bytehaul-0.1.2/src/storage/mod.rs +6 -0
  40. bytehaul-0.1.2/src/storage/piece_map.rs +202 -0
  41. bytehaul-0.1.2/src/storage/segment.rs +9 -0
  42. bytehaul-0.1.2/src/storage/writer.rs +315 -0
  43. bytehaul-0.1.2/tests/m1_basic.rs +164 -0
  44. bytehaul-0.1.2/tests/m2_resume.rs +308 -0
  45. bytehaul-0.1.2/tests/m3_multiworker.rs +321 -0
  46. bytehaul-0.1.2/tests/m5_retry.rs +499 -0
  47. bytehaul-0.1.2/tests/m6_features.rs +149 -0
  48. bytehaul-0.1.2/tests/m7_fault_stress.rs +355 -0
@@ -0,0 +1,46 @@
1
+ docs/private/
2
+ .claude/
3
+
4
+ # Rust
5
+ /target/
6
+ *.rs.bk
7
+
8
+ # Python
9
+ __pycache__/
10
+ *.py[cod]
11
+ *.pyd
12
+ *.pdb
13
+ *.so
14
+ *.dylib
15
+ *.dll
16
+ .python-version
17
+ .coverage
18
+ .coverage.*
19
+ .hypothesis/
20
+ .ipynb_checkpoints/
21
+ .mypy_cache/
22
+ .nox/
23
+ .pyre/
24
+ .pytest_cache/
25
+ .ruff_cache/
26
+ .tox/
27
+ .venv/
28
+ ENV/
29
+ env/
30
+ htmlcov/
31
+ pip-wheel-metadata/
32
+ site/
33
+ venv/
34
+
35
+ # Python packaging / build outputs
36
+ .eggs/
37
+ *.egg
38
+ *.egg-info/
39
+ build/
40
+ dist/
41
+ *.profraw
42
+
43
+ # Local project workdirs
44
+ /.py-install/
45
+ /.tmp/
46
+ /.wheelhouse/