Skip to content

plus-mobilitylab/netapy

Repository files navigation

netapy: A Python library to assess street network suitability for sustainable transport modes

The netapy package is a pure-python implementation of the NetAScore Toolbox, developed by the University of Salzburg. It is coded in such a way that it should make it easy to adapt or extend the default workflow, and to add other approaches to street network suitability assessment for sustainable transport modes as well.

This version of netapy is still work in progress, and does not yet implement all parts of the netascore workflow. Currently it is lacking 1) derivation of some of the relevant attributes from OpenStreetMap data (they are either randomly created or the derivation is simplified), and 2) the ability to parse overrides defintions of mode profiles.

Installation

Clone the repository with:

git clone git@github.com:plus-mobilitylab/netapy.git
cd netapy

Install the package as:

pip install .
pip install -e .  # Install in editable mode

Usage

Basic usage example:

import netapy

network = netapy.networks.NetascoreNetwork.from_place("Anif")
assessor = netapy.assessors.NetascoreAssessor(profile = "bike")

network.assess(assessor)

See also the demo notebook

License

This project is licensed under the MIT license. For details please see LICENSE.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages