moonlabel 0.2.1__tar.gz → 0.2.2__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.
- {moonlabel-0.2.1 → moonlabel-0.2.2}/PKG-INFO +2 -2
- {moonlabel-0.2.1 → moonlabel-0.2.2}/README.md +1 -1
- {moonlabel-0.2.1 → moonlabel-0.2.2}/pyproject.toml +1 -1
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/__init__.py +1 -1
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/backends.py +1 -1
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/dataset.py +1 -2
- moonlabel-0.2.1/src/moonlabel/server/static/assets/index-D4LTFS3p.js → moonlabel-0.2.2/src/moonlabel/server/static/assets/index-BheP1q3E.js +11 -11
- moonlabel-0.2.1/src/moonlabel/server/static/assets/index-4CKnE5iE.css → moonlabel-0.2.2/src/moonlabel/server/static/assets/index-fYMKpCJA.css +1 -1
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/static/index.html +2 -2
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/PKG-INFO +2 -2
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/SOURCES.txt +2 -2
- {moonlabel-0.2.1 → moonlabel-0.2.2}/LICENSE +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/setup.cfg +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/coco.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/infer.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/__init__.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/api.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/cli.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/static/assets/moonlabellogo-BPx9MdO3.svg +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/types.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/utils.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/voc.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/yolo.py +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/dependency_links.txt +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/entry_points.txt +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/requires.txt +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/top_level.txt +0 -0
- {moonlabel-0.2.1 → moonlabel-0.2.2}/tests/test_multimodal.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: moonlabel
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Create object-detection (YOLO, COCO, VOC) and image-caption datasets using Multimodal LLMs and Moondream
|
|
5
5
|
Author: Muratcan Laloğlu
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -29,7 +29,7 @@ Dynamic: license-file
|
|
|
29
29
|
<p>An object-detection and image-caption dataset tool.</p>
|
|
30
30
|
<p><em>Powered by Multimodal LLMs (OpenAI, Gemini, Claude, Ollama, OpenRouter, vLLM) & <a href="https://moondream.ai/">Moondream VLM</a></em></p>
|
|
31
31
|
<p>
|
|
32
|
-
<a href="https://pypi.org/project/moonlabel/"><img src="https://img.shields.io/pypi/v/moonlabel
|
|
32
|
+
<a href="https://pypi.org/project/moonlabel/"><img src="https://img.shields.io/pypi/v/moonlabel?logo=pypi&label=pypi" alt="PyPI version"></a>
|
|
33
33
|
<a href="https://pepy.tech/projects/moonlabel"><img src="https://static.pepy.tech/personalized-badge/moonlabel?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads" alt="PyPI Downloads"></a>
|
|
34
34
|
</p>
|
|
35
35
|
</div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<p>An object-detection and image-caption dataset tool.</p>
|
|
5
5
|
<p><em>Powered by Multimodal LLMs (OpenAI, Gemini, Claude, Ollama, OpenRouter, vLLM) & <a href="https://moondream.ai/">Moondream VLM</a></em></p>
|
|
6
6
|
<p>
|
|
7
|
-
<a href="https://pypi.org/project/moonlabel/"><img src="https://img.shields.io/pypi/v/moonlabel
|
|
7
|
+
<a href="https://pypi.org/project/moonlabel/"><img src="https://img.shields.io/pypi/v/moonlabel?logo=pypi&label=pypi" alt="PyPI version"></a>
|
|
8
8
|
<a href="https://pepy.tech/projects/moonlabel"><img src="https://static.pepy.tech/personalized-badge/moonlabel?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads" alt="PyPI Downloads"></a>
|
|
9
9
|
</p>
|
|
10
10
|
</div>
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "moonlabel"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Create object-detection (YOLO, COCO, VOC) and image-caption datasets using Multimodal LLMs and Moondream"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -1010,7 +1010,7 @@ class MultimodalInference(VisionBackend):
|
|
|
1010
1010
|
"""Unified inference client supporting Moondream and Multimodal LLMs.
|
|
1011
1011
|
|
|
1012
1012
|
Example:
|
|
1013
|
-
client = MultimodalInference(provider="gemini", model="
|
|
1013
|
+
client = MultimodalInference(provider="gemini", model="MODEL_ID", api_key="...")
|
|
1014
1014
|
image, detections = client.detect("photo.jpg", ["person", "car"])
|
|
1015
1015
|
image, caption = client.caption("photo.jpg", length="normal")
|
|
1016
1016
|
"""
|
|
@@ -52,8 +52,7 @@ def create_dataset(
|
|
|
52
52
|
- provider: Inference provider ("moondream", "openai", "gemini", "anthropic",
|
|
53
53
|
"ollama", "openrouter", or "openai-compatible"). Defaults to "moondream" when
|
|
54
54
|
neither `provider`, `model`, nor `base_url` is provided.
|
|
55
|
-
- model: Model
|
|
56
|
-
"claude-sonnet-4-20250514", "qwen2.5vl").
|
|
55
|
+
- model: Model id served by the selected provider API.
|
|
57
56
|
- base_url: Custom base URL for OpenAI-compatible, Ollama, or proxied endpoints.
|
|
58
57
|
- backend: Optional pre-configured `VisionBackend` instance (overrides provider/model/api_key).
|
|
59
58
|
- caption_prompt: Optional custom prompt for caption generation.
|