struggle-annotator 0.2.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: struggle-annotator
3
- Version: 0.2.1
3
+ Version: 0.2.4
4
4
  Summary: Streamlit custom component for interactive NER-style text annotation
5
5
  License: MIT License
6
6
 
@@ -24,7 +24,7 @@ License: MIT License
24
24
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
25
  SOFTWARE.
26
26
 
27
- Requires-Python: >=3.9
27
+ Requires-Python: >=3.10
28
28
  Description-Content-Type: text/markdown
29
29
  License-File: LICENSE
30
30
  Requires-Dist: streamlit>=1.28
@@ -33,10 +33,12 @@ Requires-Dist: build; extra == "dev"
33
33
  Requires-Dist: twine; extra == "dev"
34
34
  Dynamic: license-file
35
35
 
36
- # Struggle Annotator
36
+ # Struggle Annotator [![Try it on Streamlit](https://img.shields.io/badge/Try%20it-Streamlit-FF4B4B?logo=streamlit&logoColor=white)](https://struggle-annotator.streamlit.app/)
37
37
 
38
38
  A Streamlit custom component for interactive text annotation, useful for NER-style labeling tasks. The Python wrapper is published as `struggle_annotator`; the frontend is built with TypeScript and React per the standard Streamlit Components pattern.
39
39
 
40
+ ![Example screenshot](example/sc.jpg)
41
+
40
42
  ## Installation
41
43
 
42
44
  ```bash
@@ -1,7 +1,9 @@
1
- # Struggle Annotator
1
+ # Struggle Annotator [![Try it on Streamlit](https://img.shields.io/badge/Try%20it-Streamlit-FF4B4B?logo=streamlit&logoColor=white)](https://struggle-annotator.streamlit.app/)
2
2
 
3
3
  A Streamlit custom component for interactive text annotation, useful for NER-style labeling tasks. The Python wrapper is published as `struggle_annotator`; the frontend is built with TypeScript and React per the standard Streamlit Components pattern.
4
4
 
5
+ ![Example screenshot](example/sc.jpg)
6
+
5
7
  ## Installation
6
8
 
7
9
  ```bash
@@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "struggle-annotator"
7
- version = "0.2.1"
7
+ version = "0.2.4"
8
8
  description = "Streamlit custom component for interactive NER-style text annotation"
9
9
  readme = "README.md"
10
- requires-python = ">=3.9"
10
+ requires-python = ">=3.10"
11
11
  license = { file = "LICENSE" }
12
12
  dependencies = ["streamlit>=1.28"]
13
13
 
@@ -4,7 +4,7 @@ import os
4
4
  import streamlit.components.v1 as components
5
5
 
6
6
  # Set to False during local frontend development (points at Vite dev server).
7
- _RELEASE = False
7
+ _RELEASE = True
8
8
 
9
9
  if not _RELEASE:
10
10
  _component_func = components.declare_component(