Mobility

An open-source solution to compute the carbon emissions due to the mobility of a local population.
https://github.com/mobility-team/mobility

Category: Consumption
Sub Category: Mobility and Transportation

Keywords

carbon carbon-footprint mobility open-source transport transportation

Last synced: about 18 hours ago
JSON representation

Repository metadata

Mobility, an open-source library for mobility modelisation

README.md

Mobility, an open-source package for transport modelling

Mobility is an open-source Python package for modelling how people move in a local territory, from short trips to longer trips, for personal and work-related motives, on multimodal transport networks.

It was built for transport modellers, urban planners, students, and analysts who want to work with a full mobility workflow: define a study area, build a synthetic population, describe transport options, simulate daily trips, and compare scenarios. It can be used on regions made of hundreds of communes or zones, mainly in France and Switzerland today.

Mobility estimates travel diaries for a local sample population. The model uses individual socio-economic characteristics, expected daily activity programmes, opportunities at places of interest, congestion on transport networks, and generalized transport costs. Most inputs can be prepared from open data. The package provides default parameters so a modeller can build a first working base case. These defaults still need local checks and calibration.

Mobility can help you explore questions such as:

  • how many trips are made by car, bicycle, walking, or public transport,
  • where the main origin-destination flows are,
  • how travel distances, travel times, and emissions change between scenarios,
  • what happens when a new line, a cost change, or a land-use change is added to the model.

After a first run, you can inspect simulated daily plan steps, aggregate indicators by mode or activity, origin-destination flow plots, diagnostics by iteration, and scenario comparisons.

The package is mainly focused today on French and Swiss territories. It uses open data, mobility surveys, Python, R, and compiled tools such as osmium-tool. The recommended install path uses Pixi to prepare the project environment and install Mobility from PyPI as mobility-tools. The mamba environment file is still provided as a fallback for now.

Start Here

Mobility has been developed mainly by AREP and Elioth with ADEME support, but anyone can join the project.

More project history, contributors, and example uses are listed in the documentation.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 775
Total Committers: 16
Avg Commits per committer: 48.438
Development Distribution Score (DDS): 0.461

Commits in past year: 216
Committers in past year: 5
Avg Commits per committer in past year: 43.2
Development Distribution Score (DDS) in past year: 0.125

Name Email Commits
Felix Pouchain f****n@g****m 418
Cap c****n@a****r 205
AntoineGauchot a****t@a****r 36
BENYEKKOU ADAM a****u@a****r 32
matt-gau m****t@m****h 18
alahmar a****r@m****r 15
l.gontier l****r@e****r 10
cpequign c****t@e****r 9
dependabot[bot] 4****] 8
F. Ayoub 1****U 8
lucas_bohnenkamp0 l****p@a****r 6
POUCHAIN FÉLIX f****n@a****r 3
mariegrandclement m****t@a****r 2
lucas-boh 8****h 2
GIROT Anne-Sophie a****t@e****r 2
Adam Benyekkou 6****u 1

Committer domains:


Issue and Pull Request metadata

Last synced: 11 days ago

Total issues: 156
Total pull requests: 256
Average time to close issues: 6 months
Average time to close pull requests: 27 days
Total issue authors: 12
Total pull request authors: 16
Average comments per issue: 2.96
Average comments per pull request: 1.13
Merged pull request: 211
Bot issues: 0
Bot pull requests: 14

Past year issues: 36
Past year pull requests: 152
Past year average time to close issues: 17 days
Past year average time to close pull requests: 6 days
Past year issue authors: 5
Past year pull request authors: 6
Past year average comments per issue: 1.75
Past year average comments per pull request: 1.25
Past year merged pull request: 128
Past year bot issues: 0
Past year bot pull requests: 14

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/mobility-team/mobility

Top Issue Authors

  • FlxPo (71)
  • Mind-the-Cap (57)
  • AntoineGauchot (5)
  • matt-gau (5)
  • lucas-boh (4)
  • acerioni (3)
  • louisegontier (3)
  • adam-benyekkou (3)
  • MaxenceRichard (2)
  • Nouhaila13 (1)
  • Adelaide-Aublet (1)
  • AyoubFOUNDOU (1)

Top Pull Request Authors

  • FlxPo (159)
  • Mind-the-Cap (47)
  • dependabot[bot] (14)
  • BaptisteD35 (5)
  • AnasLahmar (5)
  • lucas-boh (4)
  • louisegontier (4)
  • adam-benyekkou (3)
  • AntoineGauchot (3)
  • AyoubFOUNDOU (3)
  • mariegrandclement (2)
  • cpequign (2)
  • LyesKaya (2)
  • louisgreiner (1)
  • ranms25 (1)

Top Issue Labels

  • enhancement (30)
  • bug (27)
  • documentation (7)
  • ready-for-dev (7)
  • to-improve (6)
  • good first issue (4)
  • communication (4)
  • country (4)
  • ready-soon (3)
  • standard (1)
  • question (1)

Top Pull Request Labels

  • enhancement (29)
  • dependencies (14)
  • bug (14)
  • python (9)
  • github_actions (5)
  • documentation (1)

Package metadata

pypi.org: mobility-tools

A tool to simulate the mobility behaviours of the inhabitants of a given region.

  • Homepage: https://mobility-team.github.io/
  • Documentation: https://mobility.readthedocs.io/en/latest/index.html
  • Licenses: mit
  • Latest release: 0.2.1 (published 5 months ago)
  • Last Synced: 2026-11-25T22:21:59.374399Z (1 day ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 27 Last month
  • Rankings:
    • Dependent packages count: 6.633%
    • Stargazers count: 18.624%
    • Average: 29.973%
    • Forks count: 30.492%
    • Dependent repos count: 30.611%
    • Downloads: 63.504%
  • Maintainers (2)

Dependencies

environment.yml conda
  • osmium-tool 1.18.0
  • python 3.12
  • r-base 4.5.1
  • uv 0.8.4
docs/requirements.txt pypi
  • myst_parser *
  • sphinx_copybutton *
  • sphinx_rtd_theme *
.github/workflows/install-mac.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • mamba-org/setup-micromamba v1 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • FNN * imports
  • arrow * imports
  • cluster * imports
  • cppRouting * imports
  • data.table * imports
  • dbscan * imports
  • dodgr * imports
  • dplyr * imports
  • duckdb * imports
  • future * imports
  • future.apply * imports
  • geos * imports
  • ggplot2 * imports
  • gtfsrouter * imports
  • hms * imports
  • jsonlite * imports
  • log4r * imports
  • lubridate * imports
  • nngeo * imports
  • osmdata * imports
  • readxl * imports
  • remotes * imports
  • sf * imports
  • sfheaders * imports
.devcontainer/Dockerfile docker
  • python 3.12-slim build
.github/workflows/install-and-test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • codecov/codecov-action v4 composite
  • mamba-org/setup-micromamba v1 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
pyproject.toml pypi
  • geojson *
  • geopandas *
  • gtfs-kit *
  • kaleido *
  • matplotlib *
  • networkx *
  • numpy *
  • openpyxl *
  • pandas *
  • plotly *
  • polars *
  • psutil *
  • py7zr *
  • pyarrow *
  • pyogrio *
  • python-dotenv *
  • requests *
  • rich *
  • scikit-learn *
  • scipy *
  • seaborn *
  • shortuuid *
.github/workflows/build-ci-image.yml actions
  • actions/checkout 34e114876b0b11c390a56381ad16ebd13914f8d5 composite
  • docker/build-push-action 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 composite
  • docker/login-action c94ce9fb468520275223c153574b00df6fe4bcc9 composite
  • docker/setup-buildx-action 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f composite
.github/workflows/build-docs.yml actions
  • actions/checkout 34e114876b0b11c390a56381ad16ebd13914f8d5 composite
.github/workflows/build-runtime-image.yml actions
  • actions/checkout 34e114876b0b11c390a56381ad16ebd13914f8d5 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • docker/build-push-action 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 composite
  • docker/setup-buildx-action 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f composite
requirements-ci.txt pypi
  • annotated-types ==0.7.0
  • backports-zstd ==1.3.0
  • blinker ==1.9.0
  • branca ==0.8.2
  • brotli ==1.2.0
  • build ==1.5.0
  • certifi ==2026.2.25
  • charset-normalizer ==3.4.5
  • choreographer ==1.2.1
  • click ==8.4.1
  • colorama ==0.4.6
  • contourpy ==1.3.3
  • coverage ==7.13.4
  • cycler ==0.12.1
  • dash ==3.4.0
  • dash-cytoscape ==1.0.2
  • et-xmlfile ==2.0.0
  • flake8 ==7.3.0
  • flask ==3.1.3
  • folium ==0.20.0
  • fonttools ==4.62.0
  • geojson ==3.2.0
  • geopandas ==1.1.3
  • gtfs-kit ==12.0.3
  • idna ==3.11
  • importlib-metadata ==9.0.0
  • inflate64 ==1.0.4
  • iniconfig ==2.3.0
  • itsdangerous ==2.2.0
  • jinja2 ==3.1.6
  • joblib ==1.5.3
  • json2html ==1.3.0
  • kaleido ==1.2.0
  • kiwisolver ==1.5.0
  • logistro ==2.0.1
  • mapclassify ==2.10.0
  • markdown-it-py ==3.0.0
  • markupsafe ==3.0.3
  • matplotlib ==3.10.8
  • mccabe ==0.7.0
  • mdurl ==0.1.2
  • mobility-destination-sequence-sampler ==0.1.0
  • mobility-mode-sequence-search ==0.1.0
  • multivolumefile ==0.2.3
  • narwhals ==2.18.0
  • nest-asyncio ==1.6.0
  • networkx ==3.6.1
  • numpy ==2.4.3
  • openpyxl ==3.1.5
  • orjson ==3.11.7
  • packaging ==26.0
  • pandas ==3.0.1
  • pillow ==12.1.1
  • plotly ==6.6.0
  • pluggy ==1.6.0
  • polars ==1.39.3
  • polars-runtime-32 ==1.39.3
  • psutil ==7.2.2
  • py7zr ==1.1.0
  • pyarrow ==23.0.1
  • pybcj ==1.0.7
  • pycodestyle ==2.14.0
  • pycryptodomex ==3.23.0
  • pydantic ==2.12.5
  • pydantic-core ==2.41.5
  • pyflakes ==3.4.0
  • pygments ==2.19.2
  • pyogrio ==0.12.1
  • pyparsing ==3.3.2
  • pyppmd ==1.3.1
  • pyproj ==3.7.2
  • pyproject-hooks ==1.2.0
  • pytest ==9.0.2
  • pytest-cov ==6.3.0
  • pytest-dependency ==0.6.1
  • pytest-timeout ==2.4.0
  • python-dateutil ==2.9.0.post0
  • python-dotenv ==1.2.2
  • requests ==2.32.5
  • retrying ==1.4.2
  • rich ==14.3.3
  • rtree ==1.4.1
  • scikit-learn ==1.8.0
  • scipy ==1.17.1
  • setuptools ==82.0.1
  • shapely ==2.1.2
  • shortuuid ==1.0.13
  • simplejson ==3.20.2
  • six ==1.17.0
  • tenacity ==9.1.4
  • texttable ==1.7.0
  • threadpoolctl ==3.6.0
  • typing-extensions ==4.15.0
  • typing-inspection ==0.4.2
  • tzdata ==2025.3
  • urllib3 ==2.6.3
  • werkzeug ==3.1.8
  • wheel ==0.47.0
  • xyzservices ==2025.11.0
  • zipp ==4.1.0
.github/docker/runtime/Dockerfile docker
  • ubuntu 24.04 build
experiments/hash_stability/Dockerfile docker
  • python 3.12-slim build
requirements-min.txt pypi
  • annotated-types ==0.7.0
  • backports-zstd ==1.3.0
  • blinker ==1.9.0
  • branca ==0.8.2
  • brotli ==1.2.0
  • certifi ==2026.2.25
  • charset-normalizer ==3.4.5
  • choreographer ==1.2.1
  • click ==8.4.1
  • colorama ==0.4.6
  • contourpy ==1.3.3
  • cycler ==0.12.1
  • dash ==3.0.0
  • dash-cytoscape ==1.0.0
  • et-xmlfile ==2.0.0
  • flask ==3.0.3
  • folium ==0.20.0
  • fonttools ==4.62.0
  • geojson ==3.0.0
  • geopandas ==1.1.0
  • gtfs-kit ==12.0.0
  • idna ==3.11
  • importlib-metadata ==9.0.0
  • inflate64 ==1.0.4
  • iniconfig ==2.3.0
  • itsdangerous ==2.2.0
  • jinja2 ==3.1.6
  • joblib ==1.5.3
  • json2html ==1.3.0
  • kaleido ==1.2.0
  • kiwisolver ==1.5.0
  • logistro ==2.0.1
  • mapclassify ==2.10.0
  • markdown-it-py ==3.0.0
  • markupsafe ==3.0.3
  • matplotlib ==3.10.0
  • mdurl ==0.1.2
  • mobility-destination-sequence-sampler ==0.1.0
  • mobility-mode-sequence-search ==0.1.0
  • multivolumefile ==0.2.3
  • narwhals ==2.18.0
  • nest-asyncio ==1.6.0
  • networkx ==3.5
  • numpy ==2.0.0
  • openpyxl ==3.1.0
  • orjson ==3.11.7
  • packaging ==26.0
  • pandas ==2.3.0
  • pillow ==12.1.1
  • plotly ==6.0.0
  • pluggy ==1.6.0
  • polars ==1.39.3
  • polars-runtime-32 ==1.39.3
  • psutil ==7.0.0
  • py7zr ==1.1.0
  • pyarrow ==23.0.0
  • pybcj ==1.0.7
  • pycryptodomex ==3.23.0
  • pydantic ==2.12.0
  • pydantic-core ==2.41.1
  • pygments ==2.19.2
  • pyogrio ==0.12.0
  • pyparsing ==3.3.2
  • pyppmd ==1.3.1
  • pyproj ==3.7.2
  • pytest ==9.0.2
  • pytest-timeout ==2.4.0
  • python-dateutil ==2.9.0.post0
  • python-dotenv ==1.0.0
  • pytz ==2026.1.post1
  • requests ==2.32.2
  • retrying ==1.4.2
  • rich ==14.0.0
  • rtree ==1.4.1
  • scikit-learn ==1.8.0
  • scipy ==1.13.0
  • setuptools ==82.0.1
  • shapely ==2.1.2
  • shortuuid ==1.0.0
  • simplejson ==3.20.2
  • six ==1.17.0
  • stringcase ==1.2.0
  • tenacity ==9.0.0
  • texttable ==1.7.0
  • threadpoolctl ==3.6.0
  • typing-extensions ==4.15.0
  • typing-inspection ==0.4.2
  • tzdata ==2025.3
  • urllib3 ==2.6.3
  • werkzeug ==3.0.6
  • xyzservices ==2025.11.0
  • zipp ==4.1.0
.github/workflows/install-and-test-min.yml actions
.github/workflows/publish-github-release.yml actions
  • actions/checkout 34e114876b0b11c390a56381ad16ebd13914f8d5 composite
  • actions/download-artifact d3f86a106a0bac45b974a628896c90dbdf5c8093 composite
  • actions/setup-python a26af69be951a213d495a4c3e4e4022e16d87065 composite
  • actions/upload-artifact ea165f8d65b6e75b540449e92b4886f43607fa02 composite
  • docker/build-push-action 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 composite
  • docker/login-action c94ce9fb468520275223c153574b00df6fe4bcc9 composite
  • docker/setup-buildx-action 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f composite
  • pypa/gh-action-pypi-publish cef221092ed1bacb1cc03d23a2d87d1d172e277b composite
  • softprops/action-gh-release 3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 composite
.github/workflows/test-reusable.yml actions
  • actions/checkout 34e114876b0b11c390a56381ad16ebd13914f8d5 composite
  • codecov/codecov-action 04b047e8bb82a0c002c8312c1c880fbc6a999d45 composite
.github/docker/ci/Dockerfile docker
  • ubuntu 24.04 build

Score: 10.90205848702401