Skip to main content

Framework for representing a city and moving around it

Project description

Build status

CityGraph

CityGraph is a Python framework for representing a city (real or virtual) and moving around it.

Requirements

The application only requires Python 3.5 or higher.

Installation

CityGraph releases can be instaled from PyPI:

$ pip install city-graph

Alternatively, one can also clone the repository and install the package locally:

$ git clone https://github.com/MPI-IS/CityGraph.git
$ cd CityGraph
$ pip install .

We strongly advise to install the package in a dedicated virtual environment.

Tests

To run the tests, simply do:

$ python -m unittest

Documentation

To build the Sphinx documentation:

$ pip install sphinx sphinx-bootstrap-theme
$ cd doc
$ make html

and open the file build/html/index.html in your web browser.

Authors

Jean-Claude Passy, Software Workshop - Max Planck Institute for Intelligent Systems

Ivan Oreshnikov, Software Workshop - Max Planck Institute for Intelligent Systems

Vincent Berenz, Max Planck Institute for Intelligent Systems

License

BSD-3-Clause (see LICENSE.md).

The OSM import code contains a modified snippet of code from the project osmnx that is being distributed under the MIT License; for the original license file and copyright attribution see LICENSE_OSMNX.md.

Copyright

© 2020, Max Planck Society / Software Workshop - Max Planck Institute for Intelligent Systems

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

city_graph-0.2b0.tar.gz (51.5 kB view hashes)

Uploaded Source

Built Distribution

city_graph-0.2b0-py3-none-any.whl (68.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page