{"id":21654,"library":"opengeode-inspector","title":"OpenGeode Inspector","description":"Open source framework for inspecting the validity of geometric models (meshes, surfaces, volumes). Current version 6.8.20, monthly releases on PyPI.","status":"active","version":"6.8.20","language":"python","source_language":"en","source_url":"https://github.com/Geode-solutions/OpenGeode-Inspector","tags":["geometry","mesh","validation","c++","geoscience"],"install":[{"cmd":"pip install opengeode-inspector","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Inspector builds on top of OpenGeode core data structures","package":"opengeode-core","optional":false},{"reason":"Required for inspecting geoscience-specific models","package":"opengeode-geosciences","optional":true}],"imports":[{"note":"Old package had hyphen replaced with underscore; now subpackage of opengeode.","wrong":"from opengeode_inspector import InspectModel","symbol":"InspectModel","correct":"from opengeode.inspector import InspectModel"},{"note":"Python built-in inspect module is unrelated.","wrong":"import inspect","symbol":"MeshInspector","correct":"from opengeode.inspector import MeshInspector"}],"quickstart":{"code":"from opengeode import geode as geode_lib\nfrom opengeode.inspector import InspectModel\n\n# Create a simple tetrahedral mesh\nmesh = geode_lib.TetrahedralSolid3D.create()\n# Inspector requires a valid model with at least one component\n# For demo, we use an empty model; in practice load from file\n\ninspector = InspectModel(mesh)\nissues = inspector.inspect()\nif issues:\n    print(\"Issues found:\", issues)\nelse:\n    print(\"Model is valid\")","lang":"python","description":"Create a model and inspect its validity."},"warnings":[{"fix":"Use 'from opengeode.inspector import ...' instead of 'from opengeode_inspector import ...'.","message":"opengeode-inspector 6.x reorganised imports: classes moved from opengeode_inspector to opengeode.inspector.","severity":"breaking","affected_versions":">=6.0.0"},{"fix":"Ensure you install from PyPI into a clean venv with matching Python version.","message":"opengeode-inspector is a C extension; the package must exactly match the Python version (requires_python <3.13,>=3.9). Mixed wheel installs silently fail.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip install opengeode-core==6.8.20 (same version as inspector)","cause":"opengeode-core not installed or version mismatch.","error":"ModuleNotFoundError: No module named 'opengeode'"},{"fix":"Use 'from opengeode.inspector import InspectModel' (note: lowercase 'i' in inspector)","cause":"Old import path used; inspector module not loaded correctly.","error":"ImportError: cannot import name 'InspectModel' from 'opengeode.inspector'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}