MCPcopy Create free account
hub / github.com/UDST/pandana

github.com/UDST/pandana @v0.6.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.6.1 ↗ · + Follow
298 symbols 664 edges 34 files 48 documented · 16% updated 2y agov0.6.1 · 2021-03-19★ 42340 open issues

Browse by type

Functions 253 Types & classes 45
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Coverage Status

Pandana

Pandana is a Python library for network analysis that uses contraction hierarchies to calculate super-fast travel accessibility metrics and shortest paths. The numerical code is in C++.

New in v0.5 and v0.6 is vectorized, multi-threaded calculation of shortest path routes and distances: network.shortest_paths(), network.shortest_path_lengths().

Documentation: http://udst.github.io/pandana

Installation

As of March 2021, binary installers are provided for Mac, Linux, and Windows through both PyPI and Conda Forge.

  • pip install pandana
  • conda install pandana --channel conda-forge

Pandana is easiest to install in Python 3.6 to 3.9. The last version of Pandana with Python 2.7 binaries is v0.4.4 on Conda Forge. The last version with Python 3.5 binaries is v0.6 on Pip.

See the documentation for information about other installation options.

Demo

Pandana-demo.ipynb

Acknowledgments

Pandana was created by Fletcher Foti, with subsequent contributions from Matt Davis, Federico Fernandez, Sam Maurer, and others. Sam Maurer is currently the lead maintainer. Pandana relies on contraction hierarchy code from Dennis Luxen and his OSRM project.

Academic literature

A paper on Pandana was presented at the Transportation Research Board Annual Conference in 2012. Please cite this paper when referring to the methodology implemented by this library.

Related UDST libraries

Core symbols most depended-on inside this repo

Shape

Method 180
Function 73
Class 45

Languages

C++66%
Python34%

Modules by API surface

src/contraction_hierarchies/src/DataStructures/BinaryHeap.h28 symbols
pandana/tests/test_pandana.py26 symbols
src/contraction_hierarchies/src/Contractor/Contractor.h24 symbols
src/contraction_hierarchies/src/Contractor/ContractionCleanup.h24 symbols
pandana/network.py24 symbols
src/contraction_hierarchies/src/DataStructures/DynamicGraph.h19 symbols
src/contraction_hierarchies/src/libch.cpp18 symbols
pandana/loaders/tests/test_pandash5.py16 symbols
src/contraction_hierarchies/src/POIIndex/POIIndex.h15 symbols
src/accessibility.cpp15 symbols
src/contraction_hierarchies/src/libch.h14 symbols
src/contraction_hierarchies/src/DataStructures/StaticGraph.h14 symbols

For agents

$ claude mcp add pandana \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page