A simple conversion tool that converts UrbanAccess public transport network into NetworkX MultiDiGraph. After the conversion, you can use all the basic network analysis methods provided by NetworkX.
You can install the module with pip:
$ pip install ua2nx
Basic usage is as simple as:
from ua2nx import urbanaccess_to_nx
import urbanaccess as ua
# Load precalculated UrbanAccess graph that was saved into H5
uaG = ua.network.load_network(filename='tests/test_net.h5', dir='.')
# Convert to NetworkX MultiDiGraph
nxG = urbanaccess_to_nx(uaG)
Read the documentation of UrbanAccess to learn how to work with GTFS data and Urbanaccess.