sciop-cli 0.2.2__tar.gz → 0.2.4__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.
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/PKG-INFO +1 -1
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/pyproject.toml +1 -1
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/cli/api.py +0 -2
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/torrent.py +1 -1
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_torrent.py +4 -4
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/LICENSE +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/README.md +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/__main__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/api.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/cli/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/cli/client.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/cli/main.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/cli/manifest.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/cli/torrent.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/clients/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/clients/base.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/clients/qbt.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/config.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/const.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/data.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/exceptions.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/models/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/models/sciop.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/schema.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/src/sciop_cli/types.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/conftest.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/data/basic/part_1/subdir/part_1 +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/data/basic/part_2/subdir/part_2 +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/data/basic_hybrid.torrent +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/data/basic_v2.torrent +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/data/distributions/dlc_chrysler_ver02.json +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/data/distributions/nbu_arwen_ver01.json +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/fixtures/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/fixtures/base.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/fixtures/fabricators.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_api.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_cli/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_cli/test_api.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_cli/test_torrent.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_client/__init__.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_client/test_client_config.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_config.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_data.py +0 -0
- {sciop_cli-0.2.2 → sciop_cli-0.2.4}/tests/test_temp.py +0 -0
|
@@ -48,12 +48,10 @@ def login(username: str, password: str, instance_url: str | None = None) -> None
|
|
|
48
48
|
default=None,
|
|
49
49
|
)
|
|
50
50
|
@click.option(
|
|
51
|
-
"-m",
|
|
52
51
|
"--method",
|
|
53
52
|
help="A description of how this upload was created. Supports markdown as a path or string.",
|
|
54
53
|
)
|
|
55
54
|
@click.option(
|
|
56
|
-
"-d",
|
|
57
55
|
"--description",
|
|
58
56
|
help="Any description of the contents of the upload that are not contained within "
|
|
59
57
|
"the dataset description, "
|
|
@@ -86,7 +86,7 @@ class V2PieceParams(PieceParams):
|
|
|
86
86
|
|
|
87
87
|
@dataclass
|
|
88
88
|
class HybridPieceParams(PieceParams):
|
|
89
|
-
overhead_weight: float = 0.
|
|
89
|
+
overhead_weight: float = 0.1
|
|
90
90
|
"""
|
|
91
91
|
Relative weight of the v1 overhead induced by pad files.
|
|
92
92
|
This term is *not* normalized to force its range to 0-1 like the other penalties,
|
|
@@ -71,12 +71,12 @@ DISTS = DATA_DIR / "distributions"
|
|
|
71
71
|
),
|
|
72
72
|
pytest.param(
|
|
73
73
|
[100 * GiB] + [1 * KiB for _ in range(1000)],
|
|
74
|
-
{"v1": 16 * MiB, "v2": 32 * MiB, "hybrid":
|
|
74
|
+
{"v1": 16 * MiB, "v2": 32 * MiB, "hybrid": 16 * MiB},
|
|
75
75
|
id="1001-100gb-one-big-file",
|
|
76
76
|
),
|
|
77
77
|
pytest.param(
|
|
78
78
|
[100 * GiB] + [1 * KiB for _ in range(100000)],
|
|
79
|
-
{"v1": 16 * MiB, "v2": 128 * MiB, "hybrid":
|
|
79
|
+
{"v1": 16 * MiB, "v2": 128 * MiB, "hybrid": 1 * MiB},
|
|
80
80
|
id="100001-100gb-one-big-file",
|
|
81
81
|
),
|
|
82
82
|
# --------------------------------------------------
|
|
@@ -89,7 +89,7 @@ DISTS = DATA_DIR / "distributions"
|
|
|
89
89
|
),
|
|
90
90
|
pytest.param(
|
|
91
91
|
[gammavariate(5, 100) * KiB for _ in range(10000)],
|
|
92
|
-
{"v1": MiB, "v2": (4 * MiB, 2 * MiB), "hybrid":
|
|
92
|
+
{"v1": MiB, "v2": (4 * MiB, 2 * MiB), "hybrid": 1 * MiB},
|
|
93
93
|
id="10000-1kb-gamma-5-100",
|
|
94
94
|
),
|
|
95
95
|
pytest.param(
|
|
@@ -109,7 +109,7 @@ DISTS = DATA_DIR / "distributions"
|
|
|
109
109
|
),
|
|
110
110
|
pytest.param(
|
|
111
111
|
DISTS / "dlc_chrysler_ver02.json",
|
|
112
|
-
{"v1": 16 * MiB, "v2": 16 * MiB, "hybrid":
|
|
112
|
+
{"v1": 16 * MiB, "v2": 16 * MiB, "hybrid": 2 * MiB},
|
|
113
113
|
id="chronam-chrysler",
|
|
114
114
|
),
|
|
115
115
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|