clams-python 1.7.3__tar.gz → 1.8.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.
- {clams_python-1.7.3 → clams_python-1.8.0}/.gitignore +1 -1
- {clams_python-1.7.3 → clams_python-1.8.0}/CHANGELOG.md +22 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/CONTRIBUTING.md +1 -1
- {clams_python-1.7.3/clams_python.egg-info → clams_python-1.8.0}/PKG-INFO +4 -4
- {clams_python-1.7.3 → clams_python-1.8.0}/build-tools/clean.py +1 -1
- {clams_python-1.7.3 → clams_python-1.8.0}/build-tools/test.py +4 -4
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/__init__.py +1 -1
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/app/__init__.py +334 -57
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/appmetadata/__init__.py +18 -4
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/backends/hf.py +4 -4
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/__init__.py +1 -1
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/Containerfile.template +1 -15
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/utl-tf/timeframe.py.template +40 -21
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/envelop/__init__.py +1 -1
- {clams_python-1.7.3 → clams_python-1.8.0/clams_python.egg-info}/PKG-INFO +4 -4
- {clams_python-1.7.3 → clams_python-1.8.0}/clams_python.egg-info/SOURCES.txt +1 -1
- {clams_python-1.7.3 → clams_python-1.8.0}/clams_python.egg-info/requires.txt +3 -3
- {clams_python-1.7.3 → clams_python-1.8.0}/clams_python.egg-info/scm_file_list.json +68 -68
- clams_python-1.8.0/clams_python.egg-info/scm_version.json +8 -0
- clams_python-1.8.0/container/ffmpeg-torch2.containerfile +13 -0
- clams_python-1.8.0/container/opencv4-torch2.containerfile +13 -0
- clams_python-1.8.0/container/torch2.containerfile +13 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/app-baseclasses.rst +70 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/clamsapp.rst +12 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/introduction.rst +1 -1
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/runtime-params.rst +9 -1
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/target-versions.csv +2 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/pyproject.toml +18 -3
- {clams_python-1.7.3 → clams_python-1.8.0}/tests/test_clamsapp.py +77 -0
- clams_python-1.8.0/tests/test_develop.py +122 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/tests/test_envelope.py +13 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/tests/test_promptable.py +261 -0
- clams_python-1.7.3/.pytype.cfg +0 -10
- clams_python-1.7.3/clams_python.egg-info/scm_version.json +0 -8
- clams_python-1.7.3/container/ffmpeg-torch2.containerfile +0 -6
- clams_python-1.7.3/container/opencv4-torch2.containerfile +0 -6
- clams_python-1.7.3/container/torch2.containerfile +0 -6
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/codecov.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/container.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/containers.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/issue-assign.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/issue-close.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/issue-infra-project.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/publish.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/.github/workflows/release-check.yml +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/LICENSE +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/README.md +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/build-tools/build.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/build-tools/docs.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/build-tools/prep_release.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/build-tools/publish.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/backends/__init__.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/.dockerignore.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/.gitignore.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/LICENSE.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/README.md.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/app.py.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/cli.py.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/metadata.py.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/app/requirements.txt.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/gha/for-clams-team.md.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/gha/workflows/issue-apps-project.yml.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/gha/workflows/issue-assign.yml.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/gha/workflows/issue-close.yml.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/gha/workflows/publish.yml.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/develop/templates/utl-tf/__init__.py.template +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/restify/__init__.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/serve/__init__.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams/ver/__init__.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams_python.egg-info/dependency_links.txt +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams_python.egg-info/entry_points.txt +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/clams_python.egg-info/top_level.txt +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/Containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/ffmpeg-hf.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/ffmpeg-hf4.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/ffmpeg-hf5.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/ffmpeg-tf2.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/ffmpeg.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/generate_containers_yml.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/hf.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/hf4.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/hf5.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/jdk8.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/opencv4-hf.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/opencv4-hf4.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/opencv4-hf5.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/opencv4-tf2.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/opencv4.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/container/tf2.containerfile +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/appdirectory.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/appmetadata.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/autodoc/clams.app.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/autodoc/clams.appmetadata.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/autodoc/clams.backends.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/autodoc/clams.mmif_utils.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/autodoc/clams.restify.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/cli.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/conf.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/gpu-apps.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/index.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/input-output.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/modules.rst +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/documentation/tutorial.md +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/setup.cfg +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/tests/metadata.py +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/tests/pillow-logo.png +0 -0
- {clams_python-1.7.3 → clams_python-1.8.0}/tests/test_backends_hf.py +0 -0
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
|
|
2
|
+
## releasing 1.7.4 (2026-09-01)
|
|
3
|
+
### Overview
|
|
4
|
+
|
|
5
|
+
Fixes parameter recording in signed view metadata, adds consistent handling of empty views, and repairs the `-torch` base container images.
|
|
6
|
+
|
|
7
|
+
### Changes
|
|
8
|
+
|
|
9
|
+
* `parameters`: fix recording of multi-valued and raw parameters when signing a view, and clarify the distinction between `params` and `appConfiguration` in view metadata (https://github.com/clamsproject/clams-python/issues/296)
|
|
10
|
+
* views: handle "empty" views returned from apps consistently and emit an SDK-level warning when an app returns no new annotations (https://github.com/clamsproject/clams-python/issues/305)
|
|
11
|
+
* `-torch` container images: add a minimal C tool chain to the base images for triton compatibility ( https://github.com/clamsproject/clams-python/issues/302)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## releasing 1.7.3 (2026-07-09)
|
|
16
|
+
### Overview
|
|
17
|
+
This patch includes critical bugfixes. See changes below.
|
|
18
|
+
|
|
19
|
+
### Changes
|
|
20
|
+
* fixes handling of error during `annotate()` (and `_annotate()`) when running an app via cli.py (#297)
|
|
21
|
+
* added the `useReasoning` common parameter for promptable apps (#299) Note that release 1.7.2 was supposed to include this parameter (and the release note says so), but it was omitted by mistake.
|
|
22
|
+
|
|
23
|
+
|
|
2
24
|
## releasing 1.7.2 (2026-07-07)
|
|
3
25
|
### Overview
|
|
4
26
|
This patch adds experimental handling of "reasoning traces" of propmtable apps
|
|
@@ -15,7 +15,7 @@ Unlike the old `setup.py`-based workflow, an editable install
|
|
|
15
15
|
(`pip install -e .`) is now required before running tests or building
|
|
16
16
|
docs. The package uses `importlib.metadata` for version resolution at
|
|
17
17
|
runtime, which only works when the package is registered in the
|
|
18
|
-
environment. You can no longer run `pytest` or `
|
|
18
|
+
environment. You can no longer run `pytest` or `mypy` directly
|
|
19
19
|
against the source tree without installing first. If you want to avoid
|
|
20
20
|
pulling in all dependencies, `pip install -e . --no-deps` is sufficient
|
|
21
21
|
to register the package metadata.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clams-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: A collection of APIs to develop CLAMS app for python
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: homepage, https://clams.ai
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
13
13
|
Requires-Python: >=3.10
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: mmif-python==1.5.
|
|
16
|
+
Requires-Dist: mmif-python==1.5.4
|
|
17
17
|
Requires-Dist: Flask>=2
|
|
18
18
|
Requires-Dist: Flask-RESTful>=0.3.9
|
|
19
19
|
Requires-Dist: gunicorn>=20
|
|
@@ -21,7 +21,7 @@ Requires-Dist: lapps>=0.0.2
|
|
|
21
21
|
Requires-Dist: pydantic>=2
|
|
22
22
|
Requires-Dist: jsonschema>=3
|
|
23
23
|
Provides-Extra: dev
|
|
24
|
-
Requires-Dist:
|
|
24
|
+
Requires-Dist: mypy; extra == "dev"
|
|
25
25
|
Requires-Dist: pytest; extra == "dev"
|
|
26
26
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
27
27
|
Requires-Dist: pillow; extra == "dev"
|
|
@@ -32,7 +32,7 @@ Requires-Dist: furo; extra == "docs"
|
|
|
32
32
|
Requires-Dist: m2r2; extra == "docs"
|
|
33
33
|
Requires-Dist: sphinx-jsonschema; extra == "docs"
|
|
34
34
|
Provides-Extra: test
|
|
35
|
-
Requires-Dist:
|
|
35
|
+
Requires-Dist: mypy; extra == "test"
|
|
36
36
|
Requires-Dist: pytest; extra == "test"
|
|
37
37
|
Requires-Dist: pytest-cov; extra == "test"
|
|
38
38
|
Requires-Dist: pillow; extra == "test"
|
|
@@ -13,7 +13,7 @@ PROJECT_ROOT = SCRIPT_DIR.parent
|
|
|
13
13
|
# Directories to remove
|
|
14
14
|
CLEAN_DIRS = [
|
|
15
15
|
"build", "dist", "*.egg-info", "clams_python-*",
|
|
16
|
-
".pytest_cache", ".
|
|
16
|
+
".pytest_cache", ".mypy_cache", ".hypothesis",
|
|
17
17
|
"tests/.hypothesis", "htmlcov",
|
|
18
18
|
"docs-test",
|
|
19
19
|
]
|
|
@@ -3,7 +3,7 @@ Run tests for the clams-python package.
|
|
|
3
3
|
|
|
4
4
|
This script is equivalent to ``make test`` in the Makefile-based repos:
|
|
5
5
|
pip install -e ".[test]"
|
|
6
|
-
|
|
6
|
+
python -m mypy
|
|
7
7
|
python -m pytest --cov=clams --cov-report=xml
|
|
8
8
|
"""
|
|
9
9
|
import argparse
|
|
@@ -50,10 +50,10 @@ def main():
|
|
|
50
50
|
cwd=project_root,
|
|
51
51
|
)
|
|
52
52
|
|
|
53
|
-
# Run
|
|
54
|
-
print("\n--- Running
|
|
53
|
+
# Run mypy static analysis (configured in pyproject.toml)
|
|
54
|
+
print("\n--- Running mypy ---")
|
|
55
55
|
run_command(
|
|
56
|
-
[
|
|
56
|
+
[sys.executable, "-m", "mypy"],
|
|
57
57
|
cwd=project_root,
|
|
58
58
|
)
|
|
59
59
|
|
|
@@ -11,7 +11,7 @@ from clams.envelop import create_envelope
|
|
|
11
11
|
from clams.restify import Restifier
|
|
12
12
|
from clams.ver import __version__
|
|
13
13
|
|
|
14
|
-
__all__ = [AppMetadata, Restifier] + app_all
|
|
14
|
+
__all__ = ['AppMetadata', 'Restifier'] + app_all
|
|
15
15
|
version_template = "{} (based on MMIF spec: {})"
|
|
16
16
|
|
|
17
17
|
|