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.
Files changed (28) hide show
  1. {moonlabel-0.2.1 → moonlabel-0.2.2}/PKG-INFO +2 -2
  2. {moonlabel-0.2.1 → moonlabel-0.2.2}/README.md +1 -1
  3. {moonlabel-0.2.1 → moonlabel-0.2.2}/pyproject.toml +1 -1
  4. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/__init__.py +1 -1
  5. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/backends.py +1 -1
  6. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/dataset.py +1 -2
  7. 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
  8. 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
  9. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/static/index.html +2 -2
  10. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/PKG-INFO +2 -2
  11. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/SOURCES.txt +2 -2
  12. {moonlabel-0.2.1 → moonlabel-0.2.2}/LICENSE +0 -0
  13. {moonlabel-0.2.1 → moonlabel-0.2.2}/setup.cfg +0 -0
  14. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/coco.py +0 -0
  15. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/infer.py +0 -0
  16. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/__init__.py +0 -0
  17. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/api.py +0 -0
  18. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/cli.py +0 -0
  19. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/server/static/assets/moonlabellogo-BPx9MdO3.svg +0 -0
  20. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/types.py +0 -0
  21. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/utils.py +0 -0
  22. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/voc.py +0 -0
  23. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel/yolo.py +0 -0
  24. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/dependency_links.txt +0 -0
  25. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/entry_points.txt +0 -0
  26. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/requires.txt +0 -0
  27. {moonlabel-0.2.1 → moonlabel-0.2.2}/src/moonlabel.egg-info/top_level.txt +0 -0
  28. {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.1
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) &amp; <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.svg?logo=pypi" alt="PyPI version"></a>
32
+ <a href="https://pypi.org/project/moonlabel/"><img src="https://img.shields.io/pypi/v/moonlabel?logo=pypi&amp;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) &amp; <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.svg?logo=pypi" alt="PyPI version"></a>
7
+ <a href="https://pypi.org/project/moonlabel/"><img src="https://img.shields.io/pypi/v/moonlabel?logo=pypi&amp;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.1"
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"
@@ -25,4 +25,4 @@ __all__ = [
25
25
  "ExportFormat",
26
26
  "ProviderName",
27
27
  ]
28
- __version__ = "0.2.1"
28
+ __version__ = "0.2.2"
@@ -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="gemini-2.5-flash", api_key="...")
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 name for the multimodal LLM (e.g. "gpt-4o-mini", "gemini-2.5-flash",
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.