clams-python 1.6.0__tar.gz → 1.7.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.6.0 → clams_python-1.7.0}/CHANGELOG.md +67 -0
- {clams_python-1.6.0/clams_python.egg-info → clams_python-1.7.0}/PKG-INFO +7 -2
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/app/__init__.py +774 -7
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/appmetadata/__init__.py +21 -0
- clams_python-1.7.0/clams/backends/__init__.py +9 -0
- clams_python-1.7.0/clams/backends/hf.py +247 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/__init__.py +16 -2
- clams_python-1.7.0/clams/develop/templates/app/app.py.template +119 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/metadata.py.template +44 -3
- clams_python-1.7.0/clams/develop/templates/utl-tf/__init__.py.template +0 -0
- clams_python-1.7.0/clams/develop/templates/utl-tf/timeframe.py.template +154 -0
- {clams_python-1.6.0 → clams_python-1.7.0/clams_python.egg-info}/PKG-INFO +7 -2
- {clams_python-1.6.0 → clams_python-1.7.0}/clams_python.egg-info/SOURCES.txt +8 -1
- {clams_python-1.6.0 → clams_python-1.7.0}/clams_python.egg-info/requires.txt +7 -1
- clams_python-1.7.0/documentation/app-baseclasses.rst +521 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/index.rst +1 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/introduction.rst +4 -1
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/modules.rst +1 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/runtime-params.rst +14 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/tutorial.md +6 -6
- {clams_python-1.6.0 → clams_python-1.7.0}/pyproject.toml +4 -1
- clams_python-1.7.0/tests/test_backends_hf.py +450 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/tests/test_clamsapp.py +27 -0
- clams_python-1.7.0/tests/test_promptable.py +585 -0
- clams_python-1.6.0/clams/develop/templates/app/app.py.template +0 -74
- {clams_python-1.6.0 → clams_python-1.7.0}/.github/workflows/codecov.yml +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.github/workflows/container.yml +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.github/workflows/containers.yml +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.github/workflows/issue-assign.yml +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.github/workflows/issue-close.yml +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.github/workflows/issue-infra-project.yml +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.github/workflows/publish.yml +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.gitignore +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/.pytype.cfg +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/CONTRIBUTING.md +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/LICENSE +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/README.md +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/build-tools/build.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/build-tools/clean.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/build-tools/docs.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/build-tools/publish.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/build-tools/test.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/__init__.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/.dockerignore.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/.gitignore.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/Containerfile.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/LICENSE.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/README.md.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/cli.py.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/app/requirements.txt.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/gha/for-clams-team.md.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/gha/workflows/issue-apps-project.yml.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/gha/workflows/issue-assign.yml.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/gha/workflows/issue-close.yml.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/develop/templates/gha/workflows/publish.yml.template +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/envelop/__init__.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/restify/__init__.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/serve/__init__.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams/ver/__init__.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams_python.egg-info/dependency_links.txt +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams_python.egg-info/entry_points.txt +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/clams_python.egg-info/top_level.txt +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/Containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/ffmpeg-hf.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/ffmpeg-hf4.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/ffmpeg-hf5.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/ffmpeg-tf2.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/ffmpeg-torch2.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/ffmpeg.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/generate_containers_yml.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/hf.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/hf4.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/hf5.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/jdk8.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/opencv4-hf.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/opencv4-hf4.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/opencv4-hf5.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/opencv4-tf2.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/opencv4-torch2.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/opencv4.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/tf2.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/container/torch2.containerfile +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/appdirectory.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/appmetadata.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/autodoc/clams.app.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/autodoc/clams.appmetadata.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/autodoc/clams.mmif_utils.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/autodoc/clams.restify.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/clamsapp.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/cli.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/conf.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/gpu-apps.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/input-output.rst +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/documentation/target-versions.csv +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/setup.cfg +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/tests/metadata.py +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/tests/pillow-logo.png +0 -0
- {clams_python-1.6.0 → clams_python-1.7.0}/tests/test_envelope.py +0 -0
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
|
|
2
|
+
## releasing 1.6.0 (2026-05-19)
|
|
3
|
+
### Overview
|
|
4
|
+
|
|
5
|
+
This release adds an optional JSON "envelope" input format for passing complex or long runtime parameters to apps, migrates the build system to `pyproject.toml`, and expands runtime-parameter documentation.
|
|
6
|
+
|
|
7
|
+
### Additions
|
|
8
|
+
|
|
9
|
+
* Parameter envelope: in addition to query strings or `--flag`-like CLI args, apps now accept a JSON envelope (`{"parameters": {...}, "mmif": {...}}`) as input. This enables long prompts and structured (map/array) parameter values that do not fit nicely in URL query strings. The envelope is auto-detected, explicit parameters (query string or cli flags) take priority over envelope values, and app output is always raw MMIF so existing pipelines are unaffected (https://github.com/clamsproject/clams-python/pull/287).
|
|
10
|
+
* `clams envelop` CLI subcommand and a `clams.create_envelope()` Python API for constructing envelope JSON from a parameter file (or dict) and an MMIF read from a file or stdin (https://github.com/clamsproject/clams-python/pull/287).
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
* Updated to `mmif-python` 1.4.0.
|
|
15
|
+
* Build system migrated from `setup.py` to `pyproject.toml` with `setuptools-scm` versioning; the CI and documentation publishing pipeline was standardized accordingly (https://github.com/clamsproject/clams-python/pull/286).
|
|
16
|
+
* Expanded runtime-parameter documentation, including detailed parameter-type reference and a warning emitted when a colon appears in a `map`-type parameter key (https://github.com/clamsproject/clams-python/pull/284).
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
2
20
|
## releasing 1.5.0 (2026-03-12)
|
|
3
21
|
### Overview
|
|
4
22
|
|
|
@@ -15,6 +33,7 @@ Adds `tfSamplingMode` as a universal runtime parameter and overhauls container i
|
|
|
15
33
|
> [!NOTE]
|
|
16
34
|
> This release requires `mmif-python >= 1.3.0` for the sampling mode API.
|
|
17
35
|
|
|
36
|
+
|
|
18
37
|
## releasing 1.4.0 (2025-11-30)
|
|
19
38
|
### Overview
|
|
20
39
|
This release introduces three new fields to the app metadata to improve the orchestration and handling of large models within apps.
|
|
@@ -32,11 +51,13 @@ This release introduces three new fields to the app metadata to improve the orch
|
|
|
32
51
|
* VRAM usage record: Apps running on CUDA and `torch` now cache VRAM usage statistics in the local disk cache (typically in `$XDG_CACHE_HOME`) (https://github.com/clamsproject/clams-python/issues/243). Currently, this information is for logging only, and we plan to add a retrieval API in the future.
|
|
33
52
|
* See current _private_ implementation at https://github.com/clamsproject/clams-python/blob/671560b184a3b73bf417db753d0fa8f1c73d3bda/clams/app/__init__.py#L348-L361
|
|
34
53
|
|
|
54
|
+
|
|
35
55
|
## releasing 1.3.3 (2025-07-28)
|
|
36
56
|
### Overview
|
|
37
57
|
Updated `mmif-python` version that includes a hotfix for reading 1.0.x MMIF
|
|
38
58
|
|
|
39
59
|
|
|
60
|
+
|
|
40
61
|
## releasing 1.3.2 (2025-07-26)
|
|
41
62
|
### Overview
|
|
42
63
|
Patch release, mainly to support new MMIF spec and corresponding `mmif-python` SDK versions, with more base images with HF libraries and miscellaneous fixes.
|
|
@@ -51,6 +72,7 @@ Patch release, mainly to support new MMIF spec and corresponding `mmif-python` S
|
|
|
51
72
|
* Minor bugfixes and documentation improvements.
|
|
52
73
|
|
|
53
74
|
|
|
75
|
+
|
|
54
76
|
## releasing 1.3.1 (2024-07-29)
|
|
55
77
|
### Overview
|
|
56
78
|
This patch includes update to the latest `mmif-python` which contains a hot fix for a critical bug.
|
|
@@ -59,6 +81,7 @@ This patch includes update to the latest `mmif-python` which contains a hot fix
|
|
|
59
81
|
- based on `mmif-python==1.0.19`
|
|
60
82
|
|
|
61
83
|
|
|
84
|
+
|
|
62
85
|
## releasing 1.3.0 (2024-07-22)
|
|
63
86
|
### Overview
|
|
64
87
|
This version added two universal runtime parameters that make some aspects of the runtime environment are recorded in the views' metadata.
|
|
@@ -71,6 +94,7 @@ This version added two universal runtime parameters that make some aspects of th
|
|
|
71
94
|
|
|
72
95
|
|
|
73
96
|
|
|
97
|
+
|
|
74
98
|
## releasing 1.2.6 (2024-07-15)
|
|
75
99
|
### Overview
|
|
76
100
|
Patch release to update mmif SDK version, and minor improvements
|
|
@@ -83,6 +107,7 @@ Patch release to update mmif SDK version, and minor improvements
|
|
|
83
107
|
- bug fix "raw" runtime parameters weren't properly recorded when an app fails to refine the parameters (https://github.com/clamsproject/clams-python/issues/232)
|
|
84
108
|
|
|
85
109
|
|
|
110
|
+
|
|
86
111
|
## releasing 1.2.5 (2024-06-26)
|
|
87
112
|
### Overview
|
|
88
113
|
Patch release to fix an error in app cookie cutter, also updated to the latest MMIF and mmif-python.
|
|
@@ -91,6 +116,7 @@ Patch release to fix an error in app cookie cutter, also updated to the latest M
|
|
|
91
116
|
- updated `mmif-python` to 1.0.17
|
|
92
117
|
- fixed `Containerfile` from the app cookie cutter wasn't building an image due to an error
|
|
93
118
|
|
|
119
|
+
|
|
94
120
|
## releasing 1.2.4 (2024-06-14)
|
|
95
121
|
### Overview
|
|
96
122
|
Patches bug in `clams develop` command and updated in documentation and `mmif-python` version
|
|
@@ -102,6 +128,7 @@ Patches bug in `clams develop` command and updated in documentation and `mmif-py
|
|
|
102
128
|
* updated app development documentation
|
|
103
129
|
|
|
104
130
|
|
|
131
|
+
|
|
105
132
|
## releasing 1.2.3 (2024-06-07)
|
|
106
133
|
### Overview
|
|
107
134
|
This version includes significant change to app development template, with some other changes
|
|
@@ -118,6 +145,7 @@ This version includes significant change to app development template, with some
|
|
|
118
145
|
- updated to `mmif-python` 1.0.15
|
|
119
146
|
|
|
120
147
|
|
|
148
|
+
|
|
121
149
|
## releasing 1.2.2 (2024-05-14)
|
|
122
150
|
### Overview
|
|
123
151
|
This is minor patch with bug fix for parameter handling
|
|
@@ -127,6 +155,7 @@ This is minor patch with bug fix for parameter handling
|
|
|
127
155
|
* updated to the latest `mmif-python` (1.0.14)
|
|
128
156
|
|
|
129
157
|
|
|
158
|
+
|
|
130
159
|
## releasing 1.2.1 (2024-04-21)
|
|
131
160
|
### Overview
|
|
132
161
|
This release includes documentation updates and bug fixes
|
|
@@ -138,6 +167,7 @@ This release includes documentation updates and bug fixes
|
|
|
138
167
|
* fixed a bug where raw user input parameters with `multivalued=True` were not fully recorded in the output MMIF view metadata (https://github.com/clamsproject/clams-python/issues/214)
|
|
139
168
|
|
|
140
169
|
|
|
170
|
+
|
|
141
171
|
## releasing 1.2.0 (2024-04-11)
|
|
142
172
|
### Overview
|
|
143
173
|
This is a minor release that brings improved portability of `clams source` command but also breaks some backward compatibility. If your app is based on clams-python 1.0.x or 1.1.x, please read the changelog carefully.
|
|
@@ -147,6 +177,7 @@ This is a minor release that brings improved portability of `clams source` comma
|
|
|
147
177
|
- `ClamsApp.sign_view` method now expect the runtime parameters (dict of string to lists of values) as a second argument. Previously the second argument was optional, which is no more. CLAMS app developers who were calling this method in `_annotate()` method must directly pass down the runtime parameters from `_annotate()` argument.
|
|
148
178
|
|
|
149
179
|
|
|
180
|
+
|
|
150
181
|
## releasing 1.1.6 (2024-04-02)
|
|
151
182
|
### Overview
|
|
152
183
|
Minor release to update the `mmif-python` dependency to the latest.
|
|
@@ -155,6 +186,7 @@ Minor release to update the `mmif-python` dependency to the latest.
|
|
|
155
186
|
* now based on `mmif-python==1.0.13` including a hotfix for a wrong field name in MMIF serialization.
|
|
156
187
|
|
|
157
188
|
|
|
189
|
+
|
|
158
190
|
## releasing 1.1.5 (2024-04-01)
|
|
159
191
|
### Overview
|
|
160
192
|
Hot-fix to fix some compatibility issues in the app develop template
|
|
@@ -163,6 +195,7 @@ Hot-fix to fix some compatibility issues in the app develop template
|
|
|
163
195
|
* reverted some changes from 3ed54b3 due to broken backward compatibility
|
|
164
196
|
|
|
165
197
|
|
|
198
|
+
|
|
166
199
|
## releasing 1.1.4 (2024-03-31)
|
|
167
200
|
### Overview
|
|
168
201
|
This release includes many changes regarding runtime parameters.
|
|
@@ -177,6 +210,7 @@ This release includes many changes regarding runtime parameters.
|
|
|
177
210
|
* input and output type properties can be (under-)specified as wildcards (#194)
|
|
178
211
|
|
|
179
212
|
|
|
213
|
+
|
|
180
214
|
## releasing 1.1.3 (2024-03-04)
|
|
181
215
|
### Overview
|
|
182
216
|
This is a minor release to catch up new version of MMIF and `mmif-python`.
|
|
@@ -187,6 +221,7 @@ This is a minor release to catch up new version of MMIF and `mmif-python`.
|
|
|
187
221
|
|
|
188
222
|
|
|
189
223
|
|
|
224
|
+
|
|
190
225
|
## releasing 1.1.2 (2024-02-10)
|
|
191
226
|
### Overview
|
|
192
227
|
This release updates to the latest MMIF and `mmif-python`
|
|
@@ -195,6 +230,7 @@ This release updates to the latest MMIF and `mmif-python`
|
|
|
195
230
|
* Now based on `mmif-python` 1.0.9 and MMIF 1.0.1
|
|
196
231
|
|
|
197
232
|
|
|
233
|
+
|
|
198
234
|
## releasing 1.1.1 (2024-02-05)
|
|
199
235
|
### Overview
|
|
200
236
|
This release contains minor fixes in code and updates in documentations regarding changes in runtime parameter in the previous 1.1.0 release.
|
|
@@ -204,6 +240,7 @@ This release contains minor fixes in code and updates in documentations regardin
|
|
|
204
240
|
* fixed outdated information regarding usage of `get_configuration` in various documentation
|
|
205
241
|
* fixed `properties` in I/O specification in AppMetadata are unfairly restricted to `str` values
|
|
206
242
|
|
|
243
|
+
|
|
207
244
|
## releasing 1.1.0 (2024-01-31)
|
|
208
245
|
### Overview
|
|
209
246
|
This is a minor-level release that fixes various bugs and adds safeguards for possible inconsistency in output MMIFs.
|
|
@@ -242,6 +279,7 @@ optional arguments:
|
|
|
242
279
|
* fixed a bug in app metadata generation (https://github.com/clamsproject/clams-python/issues/187)
|
|
243
280
|
|
|
244
281
|
|
|
282
|
+
|
|
245
283
|
## releasing 1.0.9 (2023-07-24)
|
|
246
284
|
### Overview
|
|
247
285
|
Minor release to update small issues in the app develop template.
|
|
@@ -249,6 +287,7 @@ Minor release to update small issues in the app develop template.
|
|
|
249
287
|
### Changes
|
|
250
288
|
* `metadata.py` from the template now includes *universal* parameters when printing out the app metadata.
|
|
251
289
|
|
|
290
|
+
|
|
252
291
|
## releasing 1.0.8 (2023-07-24)
|
|
253
292
|
### Overview
|
|
254
293
|
Minor release to update `mmif-python` version
|
|
@@ -257,6 +296,7 @@ Minor release to update `mmif-python` version
|
|
|
257
296
|
* updated to `mmif-python==1.0.8`
|
|
258
297
|
* enabled a python logger for clams-apps as `self.logger`
|
|
259
298
|
|
|
299
|
+
|
|
260
300
|
## releasing 1.0.7 (2023-07-20)
|
|
261
301
|
### Overview
|
|
262
302
|
This release includes a bugfix and update to the latest mmif-python
|
|
@@ -266,6 +306,7 @@ This release includes a bugfix and update to the latest mmif-python
|
|
|
266
306
|
* fixed some runtime parameters' default values not correctly casted (#173 )
|
|
267
307
|
|
|
268
308
|
|
|
309
|
+
|
|
269
310
|
## releasing 1.0.6 (2023-07-19)
|
|
270
311
|
### Overview
|
|
271
312
|
Minor release to update `mmif-python` version
|
|
@@ -274,6 +315,7 @@ Minor release to update `mmif-python` version
|
|
|
274
315
|
* updated to `mmif-python==1.0.5`
|
|
275
316
|
|
|
276
317
|
|
|
318
|
+
|
|
277
319
|
## releasing 1.0.5 (2023-07-19)
|
|
278
320
|
### Overview
|
|
279
321
|
Minor release to update `mmif-python` version
|
|
@@ -282,6 +324,7 @@ Minor release to update `mmif-python` version
|
|
|
282
324
|
* updated to `mmif-python==1.0.5`
|
|
283
325
|
|
|
284
326
|
|
|
327
|
+
|
|
285
328
|
## releasing 1.0.4 (2023-07-19)
|
|
286
329
|
### Overview
|
|
287
330
|
This release include many updates to documentation, and `clams source --scheme` flag.
|
|
@@ -294,6 +337,7 @@ This release include many updates to documentation, and `clams source --scheme`
|
|
|
294
337
|
* added validation step for parameters with fixed options (#164)
|
|
295
338
|
|
|
296
339
|
|
|
340
|
+
|
|
297
341
|
## releasing 1.0.3 (2023-06-14)
|
|
298
342
|
### Overview
|
|
299
343
|
This release include minor bug fixes.
|
|
@@ -304,6 +348,7 @@ This release include minor bug fixes.
|
|
|
304
348
|
* fixed #155
|
|
305
349
|
|
|
306
350
|
|
|
351
|
+
|
|
307
352
|
## releasing 1.0.2 (2023-06-02)
|
|
308
353
|
### Overview
|
|
309
354
|
This release is a minor patch; see below.
|
|
@@ -311,6 +356,7 @@ This release is a minor patch; see below.
|
|
|
311
356
|
### Changes
|
|
312
357
|
* fixed a filename bug that prevented some files from being copied to a newly generate app template.
|
|
313
358
|
|
|
359
|
+
|
|
314
360
|
## releasing 1.0.1 (2023-05-26)
|
|
315
361
|
### Overview
|
|
316
362
|
This release is about updating to `mmif-python==1.0.1`, which is based on MMIF 1.0.0.
|
|
@@ -319,6 +365,7 @@ This release is about updating to `mmif-python==1.0.1`, which is based on MMIF 1
|
|
|
319
365
|
* uses `mmif-python==1.0.1`
|
|
320
366
|
* updated some names for upcoming pedantic v2 update
|
|
321
367
|
|
|
368
|
+
|
|
322
369
|
## releasing 1.0.0 (2023-05-26)
|
|
323
370
|
### Overview
|
|
324
371
|
This release will be numbered as 1.0.0, but indeed it's a minor update from 0.6.3.
|
|
@@ -351,6 +398,7 @@ optional arguments:
|
|
|
351
398
|
* "generic" readme file in the app template is replaced with a link to the generic user manual (soon be) published to `apps.clams.ai`.
|
|
352
399
|
* now based on `mmif-python` and MMIF 1.0.0.
|
|
353
400
|
|
|
401
|
+
|
|
354
402
|
## releasing 0.6.3 (2023-05-20)
|
|
355
403
|
### Overview
|
|
356
404
|
This is a minor release
|
|
@@ -361,6 +409,7 @@ This is a minor release
|
|
|
361
409
|
### Changes
|
|
362
410
|
* protocol string used in the base url to generate app identifiers is now reverted back to `http` from `https` for consistency (all documentations of ours are using `http` in the base URL in any URI/IRI field).
|
|
363
411
|
|
|
412
|
+
|
|
364
413
|
## releasing 0.6.2 (2023-05-19)
|
|
365
414
|
### Overview
|
|
366
415
|
This release includes all the `clamsproject`-specific GHA workflow files in the PyPI distribution.
|
|
@@ -368,6 +417,7 @@ This release includes all the `clamsproject`-specific GHA workflow files in the
|
|
|
368
417
|
### Changes
|
|
369
418
|
* fixed GHA workflow files were missing in the sdist uploaded to PyPI (#143)
|
|
370
419
|
|
|
420
|
+
|
|
371
421
|
## releasing 0.6.1 (2023-05-19)
|
|
372
422
|
### Overview
|
|
373
423
|
This release is based on a new version of `mmif-python` [0.5.2](https://github.com/clamsproject/mmif-python/blob/main/CHANGELOG.md#releasing-052-2023-05-19). Additionally, this release includes significant updates in documentation both in sphinx API documentation (website) and app starter-kit documentation, huge upgrades in GHA workflows in app-dev template, and finally small (but critical) bug fixes.
|
|
@@ -384,6 +434,7 @@ This release is based on a new version of `mmif-python` [0.5.2](https://github.c
|
|
|
384
434
|
* fixed `@` sign wasn't properly serialized from `metadata.py`.
|
|
385
435
|
|
|
386
436
|
|
|
437
|
+
|
|
387
438
|
## releasing 0.6.0 (2023-05-03)
|
|
388
439
|
### Overview
|
|
389
440
|
This release contains big changes and new features, including "breaking" ones. All CLAMS apps using `clams-python==0.5.*` are recommended to update to this release.
|
|
@@ -423,6 +474,7 @@ optional arguments:
|
|
|
423
474
|
* The big change in the MMIF 0.5.0 is the change in the CLAMS vocab type versioning scheme. And as now the responsibility of vocab type version checking is pushed down to the `mmif-python` library, `clams-python` no longer checks any version numbers in an input MMIF file.
|
|
424
475
|
* FYI, here's how vocab type versions are "checked" when comparing two `AnnotationTypes.SomeType` enum-like objects: https://github.com/clamsproject/mmif-python/blob/88040395b7349f49058a9bf315628bed426e3d51/templates/python/vocabulary/base_types.txt#L152-L166
|
|
425
476
|
|
|
477
|
+
|
|
426
478
|
## releasing 0.5.3 (2023-03-20)
|
|
427
479
|
### Overview
|
|
428
480
|
This release includes update to the latest MMIF / `mmif-python`, and big improvements on handling runtime parameters.
|
|
@@ -435,12 +487,15 @@ This release includes update to the latest MMIF / `mmif-python`, and big improve
|
|
|
435
487
|
* fixed bugs around setting default values for `bool` type runtime parameters (#111)
|
|
436
488
|
|
|
437
489
|
|
|
490
|
+
|
|
438
491
|
## releasing 0.5.2 (2023-02-02)
|
|
439
492
|
This release contains updates of the python version (#102) and "uncapping" of python dependencies (#89), and a small update in handling `pretty` (and future "universal") parameter (#99).
|
|
440
493
|
|
|
494
|
+
|
|
441
495
|
## releasing 0.5.1 (2022-03-25)
|
|
442
496
|
This release contains fixes in the development pipelines (#97 ) and dependency ( #95).
|
|
443
497
|
|
|
498
|
+
|
|
444
499
|
## releasing 0.5.0 (2021-07-24)
|
|
445
500
|
This release contains changes in `AppMetadata` scheme and bug fix in `Restifier`.
|
|
446
501
|
|
|
@@ -451,11 +506,13 @@ This release contains changes in `AppMetadata` scheme and bug fix in `Restifier`
|
|
|
451
506
|
* `wrappee_version` -> `analyzer_version`
|
|
452
507
|
* `wrappee_license` -> `analyzer_license`
|
|
453
508
|
|
|
509
|
+
|
|
454
510
|
## releasing 0.4.4 (2021-07-11)
|
|
455
511
|
This release includes bug fixes from mmif-python package, loosened ML library versions in docker images.
|
|
456
512
|
|
|
457
513
|
|
|
458
514
|
|
|
515
|
+
|
|
459
516
|
## releasing 0.4.3 (2021-06-19)
|
|
460
517
|
This release contains various fixes and improvements.
|
|
461
518
|
|
|
@@ -467,6 +524,7 @@ This release contains various fixes and improvements.
|
|
|
467
524
|
* (changed) `AppMetadata.add_parameter` now has a proper signature for IDE hints
|
|
468
525
|
|
|
469
526
|
|
|
527
|
+
|
|
470
528
|
## releasing 0.4.2 (2021-06-17)
|
|
471
529
|
This release contains bugfixes
|
|
472
530
|
|
|
@@ -475,6 +533,7 @@ This release contains bugfixes
|
|
|
475
533
|
- updated latest mmif-python
|
|
476
534
|
|
|
477
535
|
|
|
536
|
+
|
|
478
537
|
## releasing 0.4.1 (2021-06-14)
|
|
479
538
|
This release includes minor API improvement ...
|
|
480
539
|
|
|
@@ -482,11 +541,13 @@ This release includes minor API improvement ...
|
|
|
482
541
|
* `AppMetadata` class can be imported from `clams` package directly
|
|
483
542
|
|
|
484
543
|
|
|
544
|
+
|
|
485
545
|
## releasing 0.4.0 (2021-06-14)
|
|
486
546
|
This release includes
|
|
487
547
|
* input MMIF file compatibility check (#60 )
|
|
488
548
|
* upgrade to mmif-python 0.4.x, which includes a lots of breaking changes.
|
|
489
549
|
|
|
550
|
+
|
|
490
551
|
## releasing 0.3.0 (2021-06-04)
|
|
491
552
|
This new breaking release includes ...
|
|
492
553
|
|
|
@@ -495,9 +556,11 @@ This new breaking release includes ...
|
|
|
495
556
|
* changing HTTP code for error responses to 500 (#61 )
|
|
496
557
|
* and minor bugfixes
|
|
497
558
|
|
|
559
|
+
|
|
498
560
|
## releasing 0.2.4 (2021-05-12)
|
|
499
561
|
This release includes small updates of error handling matching updates on mmif-python side.
|
|
500
562
|
|
|
563
|
+
|
|
501
564
|
## releasing 0.2.3 (2021-05-01)
|
|
502
565
|
A new release includes
|
|
503
566
|
|
|
@@ -507,6 +570,7 @@ A new release includes
|
|
|
507
570
|
* and other minor bugfixes
|
|
508
571
|
|
|
509
572
|
|
|
573
|
+
|
|
510
574
|
## releasing 0.2.2 (2021-03-30)
|
|
511
575
|
* based on mmif-python 0.3.1 patch
|
|
512
576
|
* more documentation
|
|
@@ -514,9 +578,11 @@ A new release includes
|
|
|
514
578
|
* interpretation of HTTP parameters into python API arguments
|
|
515
579
|
* dependency for lapps/LIF
|
|
516
580
|
|
|
581
|
+
|
|
517
582
|
## releasing 0.2.1 (2021-03-17)
|
|
518
583
|
This version now based on `mmif-python` 0.3.0, which is based on MMIF spec 0.3.0. It doesn't have breaking changes, but due to the new dependency to `mmif-python` 0.3.0, it might break some apps. Please report here if it breaks your code.
|
|
519
584
|
|
|
585
|
+
|
|
520
586
|
## releasing 0.2.0 (2021-02-04)
|
|
521
587
|
This PR contains many breaking changes, so when merged, we release as `0.2.0`.
|
|
522
588
|
|
|
@@ -536,6 +602,7 @@ This PR contains many breaking changes, so when merged, we release as `0.2.0`.
|
|
|
536
602
|
* added `ClamsApp::validate_document_files` (not supporting integrity check such as MD5 yet) (https://github.com/clamsproject/mmif/issues/150)
|
|
537
603
|
|
|
538
604
|
|
|
605
|
+
|
|
539
606
|
## releasing 0.1.3 (2020-10-09)
|
|
540
607
|
0.1.3 includes;
|
|
541
608
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clams-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.7.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.
|
|
16
|
+
Requires-Dist: mmif-python==1.5.0
|
|
17
17
|
Requires-Dist: Flask>=2
|
|
18
18
|
Requires-Dist: Flask-RESTful>=0.3.9
|
|
19
19
|
Requires-Dist: gunicorn>=20
|
|
@@ -36,6 +36,11 @@ Requires-Dist: pytype; extra == "test"
|
|
|
36
36
|
Requires-Dist: pytest; extra == "test"
|
|
37
37
|
Requires-Dist: pytest-cov; extra == "test"
|
|
38
38
|
Requires-Dist: pillow; extra == "test"
|
|
39
|
+
Provides-Extra: hf
|
|
40
|
+
Requires-Dist: torch; extra == "hf"
|
|
41
|
+
Requires-Dist: transformers; extra == "hf"
|
|
42
|
+
Requires-Dist: pillow; extra == "hf"
|
|
43
|
+
Requires-Dist: tqdm; extra == "hf"
|
|
39
44
|
Dynamic: license-file
|
|
40
45
|
|
|
41
46
|
## CLAMS project
|