cvat-cli 2.75.0__tar.gz → 2.77.0__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.
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/PKG-INFO +2 -2
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/pyproject.toml +1 -1
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/agent.py +5 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/common.py +3 -0
- cvat_cli-2.77.0/src/cvat_cli/version.py +1 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli.egg-info/PKG-INFO +2 -2
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli.egg-info/requires.txt +1 -1
- cvat_cli-2.75.0/src/cvat_cli/version.py +0 -1
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/README.md +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/setup.cfg +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/__init__.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/__main__.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/__init__.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/agent_driver.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/agent_driver_detection.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/agent_driver_interaction.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/agent_driver_tracking.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/command_base.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/commands_all.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/commands_config.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/commands_functions.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/commands_profile.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/commands_projects.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/commands_tasks.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/parsers.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli/_internal/utils.py +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli.egg-info/SOURCES.txt +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli.egg-info/dependency_links.txt +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli.egg-info/entry_points.txt +0 -0
- {cvat_cli-2.75.0 → cvat_cli-2.77.0}/src/cvat_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cvat-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.77.0
|
|
4
4
|
Summary: Command-line client for CVAT
|
|
5
5
|
Author-email: "CVAT.ai Corporation" <support@cvat.ai>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -9,7 +9,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: cvat-sdk==2.
|
|
12
|
+
Requires-Dist: cvat-sdk==2.77.0
|
|
13
13
|
Requires-Dist: attrs>=24.2.0
|
|
14
14
|
Requires-Dist: json-with-comments==1.2.10
|
|
15
15
|
Requires-Dist: Pillow>=10.3.0
|
|
@@ -652,6 +652,11 @@ def run_agent(
|
|
|
652
652
|
) as executor,
|
|
653
653
|
tempfile.TemporaryDirectory() as cache_dir,
|
|
654
654
|
):
|
|
655
|
+
dh = client.api_client.default_headers
|
|
656
|
+
assert dh["User-Agent"].startswith("cvat_cli/")
|
|
657
|
+
assert " " in dh["User-Agent"]
|
|
658
|
+
dh["User-Agent"] = dh["User-Agent"].replace(" ", " (agent) ", 1)
|
|
659
|
+
|
|
655
660
|
client.config.cache_dir = Path(cache_dir, "cache")
|
|
656
661
|
client.logger.info("Will store cache at %s", client.config.cache_dir)
|
|
657
662
|
|
|
@@ -68,6 +68,9 @@ def build_client(parsed_args: argparse.Namespace, logger: logging.Logger) -> Cli
|
|
|
68
68
|
except AuthStoreError as e:
|
|
69
69
|
raise CriticalError(str(e)) from e
|
|
70
70
|
|
|
71
|
+
dh = client.api_client.default_headers
|
|
72
|
+
dh["User-Agent"] = f"cvat_cli/{VERSION} {dh['User-Agent']}"
|
|
73
|
+
|
|
71
74
|
client.check_server_version(fail_if_unsupported=False)
|
|
72
75
|
return client
|
|
73
76
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "2.77.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cvat-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.77.0
|
|
4
4
|
Summary: Command-line client for CVAT
|
|
5
5
|
Author-email: "CVAT.ai Corporation" <support@cvat.ai>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -9,7 +9,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: cvat-sdk==2.
|
|
12
|
+
Requires-Dist: cvat-sdk==2.77.0
|
|
13
13
|
Requires-Dist: attrs>=24.2.0
|
|
14
14
|
Requires-Dist: json-with-comments==1.2.10
|
|
15
15
|
Requires-Dist: Pillow>=10.3.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = "2.75.0"
|
|
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
|