{"library":"momepy","title":"momepy","description":"Urban Morphology Measuring Toolkit (momepy) is a Python library for measuring and analyzing urban morphology. Current version is 0.11.0, requiring Python >=3.11. Releases are roughly quarterly, with a focus on GIS integration via GeoPandas and libpysal.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install momepy"],"cli":null},"imports":["import momepy","from momepy import Continuity","from momepy import morphological_tessellation","from momepy import Streetscape"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import geopandas as gpd\nimport momepy\n\n# Load sample buildings from momepy\nbuildings = gpd.read_file(momepy.datasets.get_path('bubenec'))\n\n# Generate morphological tessellation\ntessellation = momepy.morphological_tessellation(buildings)\n\n# Compute area of tessellation cells\ntessellation['area'] = tessellation.geometry.area\nprint(tessellation.head())","lang":"python","description":"This quickstart loads a sample dataset, generates a morphological tessellation (Voronoi-like cells from building footprints), and calculates the area of each cell.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}