bbannotate 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl

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: bbannotate
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: A lightweight bounding box annotation tool for image datasets with YOLO/COCO/Pascal VOC export
5
5
  Project-URL: Homepage, https://github.com/seba2390/bbannotate
6
6
  Project-URL: Documentation, https://github.com/seba2390/bbannotate#readme
@@ -41,13 +41,13 @@ Requires-Dist: ruff; extra == 'dev'
41
41
  Description-Content-Type: text/markdown
42
42
 
43
43
  <p align="center">
44
- <img src="frontend/public/logo.png" alt="Bbannotate Logo" width="400">
44
+ <img src="https://raw.githubusercontent.com/seba2390/Bbannotate/main/frontend/public/logo.png" alt="Bbannotate Logo" width="400">
45
45
  </p>
46
46
 
47
47
  <p align="center">
48
- <a href="https://pypi.org/project/bbannotate/"><img src="https://img.shields.io/pypi/v/bbannotate" alt="PyPI version"></a>
49
- <a href="https://pypi.org/project/bbannotate/"><img src="https://img.shields.io/pypi/pyversions/bbannotate" alt="Python versions"></a>
50
- <a href="https://github.com/sebastianydemadsen/bbannotate/blob/main/LICENSE"><img src="https://img.shields.io/github/license/sebastianydemadsen/bbannotate" alt="License"></a>
48
+ <a href="https://pypi.org/project/bbannotate/"><img src="https://img.shields.io/pypi/v/bbannotate?color=blue" alt="PyPI version"></a>
49
+ <a href="https://pypi.org/project/bbannotate/"><img src="https://img.shields.io/badge/python-3.12%2B-blue" alt="Python versions"></a>
50
+ <a href="https://github.com/seba2390/Bbannotate/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="License"></a>
51
51
  </p>
52
52
 
53
53
  A lightweight bounding box annotation tool for image datasets. Built with React/TypeScript frontend and FastAPI backend. Export to YOLO, COCO, Pascal VOC, and more.
@@ -1,6 +1,6 @@
1
- src/__init__.py,sha256=Eg75iuRICqJS9qBThEk9OQ4l7sDRagmKrjuc4tGCVns,117
1
+ src/__init__.py,sha256=yIOQqkcPPFu9eRJZgTth-k7K2nnrWPqiShFRmUixcJg,117
2
2
  src/cli.py,sha256=q2u1j1Q4A1F1yMAWPzNmnw053CKqxxnHVGzhUGSJKzI,7533
3
- src/main.py,sha256=M2yuPRxkRDYCwNw7jPBwDm6R-Egk6EFbdUeh3W3YHss,2346
3
+ src/main.py,sha256=y47WkYgtGO3nqSoQWR3pM4c5IDrN8tKJ0-cP7YmOxN4,2425
4
4
  src/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  src/api/__init__.py,sha256=rin7NuwATcUVSpd-oncHr4VPxCj2je9kPpsjMdwQAJ0,99
6
6
  src/api/routes.py,sha256=iLliNvNMXFFpm5SxCQ5fj-txaWurIGy-kuchx9v-mYM,11085
@@ -14,8 +14,8 @@ src/frontend_dist/index.html,sha256=opKxjiCx3PXtHQsAsn7iQ3zkOUMr-fTgZ_l85E4X7cc,
14
14
  src/frontend_dist/logo.png,sha256=hiuri3y0lYBsavGECeXh8VPVJvhA8nOlHCDeTSfqk8s,198758
15
15
  src/frontend_dist/assets/index-DFfgJzXo.css,sha256=v9Ez3rvpb4mWv3JtVFrke3ubOwyOfCBSl0vbIbekCC0,20719
16
16
  src/frontend_dist/assets/index-DezlWFbC.js,sha256=S8frLZGZ7cm5ugjS7bLjPrJBRGeoJnx1lDyPQVBRQg4,518021
17
- bbannotate-1.0.0.dist-info/METADATA,sha256=r7SrH-rMJ-TJKqHcWm11Hy-ee3QbeNevgzAA9Pj6zqM,6046
18
- bbannotate-1.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
19
- bbannotate-1.0.0.dist-info/entry_points.txt,sha256=nu0u4lG6-pWhDUmquxeusVDJzhsWQOUczupOWmKH01c,44
20
- bbannotate-1.0.0.dist-info/licenses/LICENSE,sha256=rkJbDOYRrUX8k3S55pPiEquJXZGh07KvD01F1sBBppw,1077
21
- bbannotate-1.0.0.dist-info/RECORD,,
17
+ bbannotate-1.0.1.dist-info/METADATA,sha256=ylXBZfMzf7xYkA3l4XIF_sM9ksuqxBxzhrvYIjkeGmY,6084
18
+ bbannotate-1.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
19
+ bbannotate-1.0.1.dist-info/entry_points.txt,sha256=nu0u4lG6-pWhDUmquxeusVDJzhsWQOUczupOWmKH01c,44
20
+ bbannotate-1.0.1.dist-info/licenses/LICENSE,sha256=rkJbDOYRrUX8k3S55pPiEquJXZGh07KvD01F1sBBppw,1077
21
+ bbannotate-1.0.1.dist-info/RECORD,,
src/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """Bbannotate - Bounding box annotation tool for image datasets."""
2
2
 
3
- __version__ = "1.0.0"
3
+ __version__ = "1.0.1"
4
4
  __all__ = ["__version__"]
src/main.py CHANGED
@@ -59,11 +59,6 @@ app.include_router(router, prefix="/api")
59
59
  # Ensure data directory exists
60
60
  get_data_dir().mkdir(parents=True, exist_ok=True)
61
61
 
62
- # Serve frontend static files in production
63
- FRONTEND_DIST = _find_frontend_dist()
64
- if FRONTEND_DIST:
65
- app.mount("/", StaticFiles(directory=FRONTEND_DIST, html=True), name="frontend")
66
-
67
62
 
68
63
  @app.get("/health")
69
64
  def health_check() -> dict[str, str]:
@@ -71,6 +66,13 @@ def health_check() -> dict[str, str]:
71
66
  return {"status": "healthy"}
72
67
 
73
68
 
69
+ # Serve frontend static files in production
70
+ # NOTE: Must be mounted after all other routes to avoid catching API requests
71
+ FRONTEND_DIST = _find_frontend_dist()
72
+ if FRONTEND_DIST:
73
+ app.mount("/", StaticFiles(directory=FRONTEND_DIST, html=True), name="frontend")
74
+
75
+
74
76
  def main() -> None:
75
77
  """Run the development server."""
76
78
  import uvicorn