Return the filesystem path to the ifcopenshell.api package.
()
| 27 | |
| 28 | |
| 29 | def _api_package_path() -> Path: |
| 30 | """Return the filesystem path to the ifcopenshell.api package.""" |
| 31 | import ifcopenshell.api |
| 32 | |
| 33 | return Path(ifcopenshell.api.__file__).parent |
| 34 | |
| 35 | |
| 36 | def list_modules() -> list[dict]: |