{"library":"osmnx","title":"OSMnx","description":"OSMnx is a Python package that simplifies the process of downloading, modeling, analyzing, and visualizing street networks and other geospatial features directly from OpenStreetMap. It is built upon NetworkX and GeoPandas, providing a powerful toolkit for urban and spatial analysis. The current version is 2.1.0, and the library maintains an active development cycle with regular updates and major releases that may introduce breaking changes.","language":"python","status":"active","last_verified":"Sat May 16","install":{"commands":["pip install osmnx"],"cli":null},"imports":["import osmnx as ox","import osmnx.graph as ox_graph","import osmnx.plot as ox_plot"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import osmnx as ox\n\n# Configure osmnx to use a cache for API calls\nox.settings.use_cache = True\n\n# Download and model a street network for a place\nplace = \"Piedmont, California, USA\"\nG = ox.graph.graph_from_place(place, network_type=\"drive\")\n\n# Plot the graph\nfig, ax = ox.plot_graph(G)","lang":"python","description":"This quickstart demonstrates how to download a drivable street network for a specified place and then visualize it. It also shows how to enable caching for API requests.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-16","installed_version":"2.0.7","pypi_latest":"2.1.0","is_stale":true,"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":11,"avg_import_s":1.96,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"osmnx","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"osmnx","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":11,"import_time_s":1.52,"mem_mb":48.8,"disk_size":"321M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"osmnx","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"osmnx","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":10.1,"import_time_s":2.13,"mem_mb":55.1,"disk_size":"341M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"osmnx","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"osmnx","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":10.7,"import_time_s":2.21,"mem_mb":53.5,"disk_size":"325M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"osmnx","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"osmnx","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":10.5,"import_time_s":2.1,"mem_mb":54.2,"disk_size":"324M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"osmnx","exit_code":1,"wheel_type":null,"failure_reason":"build_error","import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"osmnx","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":12.5,"import_time_s":1.86,"mem_mb":47,"disk_size":"310M"}]}}