vibephysics 0.2.0__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 (48) hide show
  1. {vibephysics-0.2.0/src/vibephysics.egg-info → vibephysics-0.2.2}/PKG-INFO +8 -9
  2. {vibephysics-0.2.0 → vibephysics-0.2.2}/README.md +5 -6
  3. {vibephysics-0.2.0 → vibephysics-0.2.2}/pyproject.toml +3 -4
  4. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/__init__.py +1 -1
  5. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/mapping/colmap.py +2 -3
  6. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/mapping/glomap.py +6 -5
  7. {vibephysics-0.2.0 → vibephysics-0.2.2/src/vibephysics.egg-info}/PKG-INFO +8 -9
  8. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics.egg-info/requires.txt +2 -3
  9. {vibephysics-0.2.0 → vibephysics-0.2.2}/LICENSE +0 -0
  10. {vibephysics-0.2.0 → vibephysics-0.2.2}/MANIFEST.in +0 -0
  11. {vibephysics-0.2.0 → vibephysics-0.2.2}/setup.cfg +0 -0
  12. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/annotation/__init__.py +0 -0
  13. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/annotation/base.py +0 -0
  14. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/annotation/bbox.py +0 -0
  15. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/annotation/manager.py +0 -0
  16. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/annotation/motion_trail.py +0 -0
  17. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/annotation/point_tracking.py +0 -0
  18. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/camera/__init__.py +0 -0
  19. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/camera/base.py +0 -0
  20. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/camera/center.py +0 -0
  21. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/camera/following.py +0 -0
  22. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/camera/manager.py +0 -0
  23. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/camera/mounted.py +0 -0
  24. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/README.md +0 -0
  25. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/__init__.py +0 -0
  26. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/go2.py +0 -0
  27. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/ground.py +0 -0
  28. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/lighting.py +0 -0
  29. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/materials.py +0 -0
  30. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/objects.py +0 -0
  31. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/open_duck.py +0 -0
  32. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/physics.py +0 -0
  33. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/robot.py +0 -0
  34. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/trajectory.py +0 -0
  35. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/foundation/water.py +0 -0
  36. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/mapping/__init__.py +0 -0
  37. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/mapping/pipeline.py +0 -0
  38. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/mapping/utils.py +0 -0
  39. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/setup/__init__.py +0 -0
  40. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/setup/exporter.py +0 -0
  41. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/setup/gsplat.py +0 -0
  42. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/setup/importer.py +0 -0
  43. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/setup/scene.py +0 -0
  44. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics/setup/viewport.py +0 -0
  45. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics.egg-info/SOURCES.txt +0 -0
  46. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics.egg-info/dependency_links.txt +0 -0
  47. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics.egg-info/entry_points.txt +0 -0
  48. {vibephysics-0.2.0 → vibephysics-0.2.2}/src/vibephysics.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vibephysics
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Physics simulation and annotation tools for Blender
5
5
  Author-email: tsunyi <tsunyi@mimiaigen.com>
6
6
  Project-URL: Homepage, https://github.com/yourusername/vibephysics
@@ -20,8 +20,8 @@ Requires-Python: >=3.11
20
20
  Description-Content-Type: text/markdown
21
21
  Requires-Dist: tqdm>=4.0
22
22
  Requires-Dist: numpy<2.0
23
- Provides-Extra: mapping
24
- Requires-Dist: pycolmap; extra == "mapping"
23
+ Requires-Dist: bpy>=5.0
24
+ Requires-Dist: pycolmap
25
25
  Provides-Extra: dev
26
26
  Requires-Dist: pytest>=7.0; extra == "dev"
27
27
  Requires-Dist: black; extra == "dev"
@@ -109,13 +109,12 @@ cd vibephysics
109
109
  pip install -e .
110
110
  ```
111
111
 
112
- ### 🗺️ (Optional) Mapping & Reconstruction
113
- To use the build-in COLMAP and GLOMAP pipelines (requires C++ build, which is slower in installation, only one time), install with the `mapping` extra:
112
+ ### 🗺️ Mapping & Reconstruction
113
+ The core mapping tools are now built-in!
114
114
 
115
- ```bash
116
- # Install with mapping tools
117
- pip install "vibephysics[mapping]"
118
- ```
115
+ 1. **Incremental COLMAP**: Available immediately after `pip install vibephysics`.
116
+ 2. **Global GLOMAP**: Just run your first mapping task! `vibephysics` will automatically prompt and install the optimized GLOMAP backend from GitHub.
117
+ *(Note: This requires a one-time C++ build which takes a few minutes).*
119
118
 
120
119
  ### Requirements for Simulations
121
120
  If you intend to run physics simulations, you also need to install Blender's Python module:
@@ -80,13 +80,12 @@ cd vibephysics
80
80
  pip install -e .
81
81
  ```
82
82
 
83
- ### 🗺️ (Optional) Mapping & Reconstruction
84
- To use the build-in COLMAP and GLOMAP pipelines (requires C++ build, which is slower in installation, only one time), install with the `mapping` extra:
83
+ ### 🗺️ Mapping & Reconstruction
84
+ The core mapping tools are now built-in!
85
85
 
86
- ```bash
87
- # Install with mapping tools
88
- pip install "vibephysics[mapping]"
89
- ```
86
+ 1. **Incremental COLMAP**: Available immediately after `pip install vibephysics`.
87
+ 2. **Global GLOMAP**: Just run your first mapping task! `vibephysics` will automatically prompt and install the optimized GLOMAP backend from GitHub.
88
+ *(Note: This requires a one-time C++ build which takes a few minutes).*
90
89
 
91
90
  ### Requirements for Simulations
92
91
  If you intend to run physics simulations, you also need to install Blender's Python module:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "vibephysics"
7
- version = "0.2.0"
7
+ version = "0.2.2"
8
8
  description = "Physics simulation and annotation tools for Blender"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -35,12 +35,11 @@ classifiers = [
35
35
  dependencies = [
36
36
  "tqdm>=4.0",
37
37
  "numpy<2.0",
38
+ "bpy>=5.0",
39
+ "pycolmap",
38
40
  ]
39
41
 
40
42
  [project.optional-dependencies]
41
- mapping = [
42
- "pycolmap",
43
- ]
44
43
  dev = [
45
44
  "pytest>=7.0",
46
45
  "black",
@@ -16,7 +16,7 @@ Usage:
16
16
  Note: This package requires Blender 5.0's Python environment (bpy) for simulation.
17
17
  """
18
18
 
19
- __version__ = "0.2.0"
19
+ __version__ = "0.2.2"
20
20
  __author__ = "Tsun-Yi Yang"
21
21
 
22
22
  # Core modules (non-Blender)
@@ -92,9 +92,8 @@ def colmap_pipeline(
92
92
  """
93
93
  Run the complete COLMAP SfM pipeline: Extraction/Matching + Incremental Mapping.
94
94
  """
95
- try:
96
- import pycolmap
97
- except ImportError:
95
+ import importlib.util
96
+ if importlib.util.find_spec("pycolmap") is None:
98
97
  print("\n[ERROR] 'pycolmap' is not installed.")
99
98
  print("Please install mapping tools with: pip install vibephysics[mapping]")
100
99
  return 1
@@ -47,11 +47,12 @@ def glomap_pipeline(
47
47
  """
48
48
  Run the complete GLOMAP SfM pipeline: COLMAP Extraction/Matching + GLOMAP Global Mapping.
49
49
  """
50
- try:
51
- import pyglomap
52
- import pycolmap
53
- except ImportError as e:
54
- missing = "pyglomap" if "pyglomap" in str(e) else "pycolmap"
50
+ import importlib.util
51
+ pyglomap_spec = importlib.util.find_spec("pyglomap")
52
+ pycolmap_spec = importlib.util.find_spec("pycolmap")
53
+
54
+ if pyglomap_spec is None or pycolmap_spec is None:
55
+ missing = "pyglomap" if pyglomap_spec is None else "pycolmap"
55
56
  print(f"\n[vibephysics] '{missing}' is not installed.")
56
57
 
57
58
  if missing == "pyglomap":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vibephysics
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Physics simulation and annotation tools for Blender
5
5
  Author-email: tsunyi <tsunyi@mimiaigen.com>
6
6
  Project-URL: Homepage, https://github.com/yourusername/vibephysics
@@ -20,8 +20,8 @@ Requires-Python: >=3.11
20
20
  Description-Content-Type: text/markdown
21
21
  Requires-Dist: tqdm>=4.0
22
22
  Requires-Dist: numpy<2.0
23
- Provides-Extra: mapping
24
- Requires-Dist: pycolmap; extra == "mapping"
23
+ Requires-Dist: bpy>=5.0
24
+ Requires-Dist: pycolmap
25
25
  Provides-Extra: dev
26
26
  Requires-Dist: pytest>=7.0; extra == "dev"
27
27
  Requires-Dist: black; extra == "dev"
@@ -109,13 +109,12 @@ cd vibephysics
109
109
  pip install -e .
110
110
  ```
111
111
 
112
- ### 🗺️ (Optional) Mapping & Reconstruction
113
- To use the build-in COLMAP and GLOMAP pipelines (requires C++ build, which is slower in installation, only one time), install with the `mapping` extra:
112
+ ### 🗺️ Mapping & Reconstruction
113
+ The core mapping tools are now built-in!
114
114
 
115
- ```bash
116
- # Install with mapping tools
117
- pip install "vibephysics[mapping]"
118
- ```
115
+ 1. **Incremental COLMAP**: Available immediately after `pip install vibephysics`.
116
+ 2. **Global GLOMAP**: Just run your first mapping task! `vibephysics` will automatically prompt and install the optimized GLOMAP backend from GitHub.
117
+ *(Note: This requires a one-time C++ build which takes a few minutes).*
119
118
 
120
119
  ### Requirements for Simulations
121
120
  If you intend to run physics simulations, you also need to install Blender's Python module:
@@ -1,10 +1,9 @@
1
1
  tqdm>=4.0
2
2
  numpy<2.0
3
+ bpy>=5.0
4
+ pycolmap
3
5
 
4
6
  [dev]
5
7
  pytest>=7.0
6
8
  black
7
9
  ruff
8
-
9
- [mapping]
10
- pycolmap
File without changes
File without changes
File without changes