Quetzal

A modeling library designed for transport planning and traffic forecasts.
https://github.com/systragroup/quetzal

Category: Consumption
Sub Category: Mobility and Transportation

Last synced: about 7 hours ago
JSON representation

Repository metadata

Quetzal is a modeling library designed for transport planning and traffic forecasts

README.md

quetzal

What is it?

quetzal is a Python package providing flexible models for transport planning and traffic forecasting. Quetzal is highly optimized to run fast on big cities.

Copyright

(c) SYSTRA

License

CeCILL-B

Documentation

The official documentation is hosted on https://systragroup.github.io/quetzal

Backward compatibility

In order to improve the ergonomics, the code may be re-factored and a few method calls may be re-designed. As a consequence, the backward compatibility of the library is not guaranteed. Therefore, the version of quetzal used for a project should be specified in its requirements.

Installation

https://pypi.org/project/quetzal-transport/

pip install quetzal-transport

Installation from sources

For Linux

poetry

  1. You may need to set the default (or local) python version in the project
pyenv local 3.12
  1. install dependancies (this will create a new virtualenv)
poetry install
  1. activate the env
poetry shell
  1. (optional) add the env to ipykernel (to use in jupyter)
python -m ipykernel install --user --name=quetzal_env

For Windows

Anaconda 3 + Python 3.12 is supposed to be installed

Poetry and Anaconda (recommended)

To create quetzal_env automatically and install quetzal, open anaconda prompt and
run windows-install batch file

(base) C:users\you\path\to\quetzal> windows-install.bat

press enter to accept default environment name or enter a custom name

If you are facing SSL issues

(base) pip config set global.trusted-host "pypi.org files.pythonhosted.org"
(base) C:users\you\path\to\quetzal> windows-install.bat

security warning: the host is added to pip.ini

If you are facing DLL or dependencies issues

Anaconda and Pip do not get along well, your Anaconda install may have been corrupted at some point.

  • Remove your envs
  • Uninstall Anaconda
  • Delete your Python and Anaconda folders (users\you\Anaconda3, users\you\Appdata\Roaming\Python, ...etc)
  • Install Anaconda

Tests

to run unittest:

poetry run python -W ignore -m unittest discover

Deploying

  1. change the version in pyproject.toml
[tool.poetry]
name = "quetzal-transport"
version = "3.1.1"
  1. edit CHANGELOG.md with the changes
## [3.1.1] (2026-01-15)
## changes
* some changes
  1. create a tag matching the version (starting with v)
git tag -a v3.1.1 -m 'description'
  1. push the tag
git push origin v3.1.1

that's it. A Github action will

  • build
  • create a release
  • update the package on pipy.

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 797
Total Committers: 25
Avg Commits per committer: 31.88
Development Distribution Score (DDS): 0.657

Commits in past year: 128
Committers in past year: 7
Avg Commits per committer in past year: 18.286
Development Distribution Score (DDS) in past year: 0.078

Name Email Commits
Simon Boivin s****n@s****m 273
CHASSERIEAU Quentin q****u@s****o 179
Robin Goix r****x@s****m 93
rgoix r****x@s****o 85
FORTIN Simon s****n@s****o 35
Quentin Chasserieau 3****u 31
simon fortin s****n@s****m 28
BOIVIN Simon s****n@s****o 26
HOLVOET Alice h****e@g****m 8
LARY Martin m****y@s****o 7
sfortin 5****4 6
LARY Martin m****1@s****o 6
dgarceries d****s@s****m 4
Marlin Arnz m****z@w****e 2
Cyrille Pontvieux c****x@s****m 2
MartinLary93 m****1@s****m 2
RobinGoix r****g@g****m 2
safth s****4@g****m 1
mlaune m****e@s****m 1
Siyu Lin S****n@t****a 1
Bo Wen 5****l 1
CHOPY Simon s****y@s****o 1
Simon Fortin s****f@D****V 1
Simon Fortin s****f@p****n 1
simon.fortin564@gmail.com s****f@M****l 1

Committer domains:


Issue and Pull Request metadata

Last synced: 8 days ago

Total issues: 15
Total pull requests: 140
Average time to close issues: 2 months
Average time to close pull requests: 4 months
Total issue authors: 10
Total pull request authors: 8
Average comments per issue: 2.47
Average comments per pull request: 0.18
Merged pull request: 94
Bot issues: 0
Bot pull requests: 39

Past year issues: 0
Past year pull requests: 11
Past year average time to close issues: N/A
Past year average time to close pull requests: 1 day
Past year issue authors: 0
Past year pull request authors: 2
Past year average comments per issue: 0
Past year average comments per pull request: 0.09
Past year merged pull request: 9
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/systragroup/quetzal

Top Issue Authors

  • marlinarnz (4)
  • orlandombaa (3)
  • siforf564 (1)
  • ha-mish (1)
  • anjailg (1)
  • BarbaraFl (1)
  • sfortinsystra (1)
  • pe712 (1)
  • FrancoisPoinsignon (1)
  • qchasserieau (1)

Top Pull Request Authors

  • sboivinsystra (47)
  • qchasserieau (42)
  • dependabot[bot] (39)
  • RobinGoix (5)
  • siforf564 (4)
  • jrd (1)
  • sfortinsystra (1)
  • davent9 (1)

Top Issue Labels

  • bug (1)

Top Pull Request Labels

  • dependencies (39)
  • python (2)
  • enhancement (1)

Package metadata

pypi.org: quetzal-transport

modeling library for transport planning

  • Homepage:
  • Documentation: https://systragroup.github.io/quetzal
  • Licenses: CECILL-B
  • Latest release: 3.3.0 (published about 1 month ago)
  • Last Synced: 2026-02-28T01:46:49.094Z (21 days ago)
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 351 Last month
  • Rankings:
    • Dependent packages count: 7.749%
    • Downloads: 14.258%
    • Average: 21.942%
    • Dependent repos count: 43.818%
  • Maintainers (1)

Dependencies

requirements_pip.txt pypi
  • branca *
  • geojson *
  • geopy *
  • gtfs_kit *
  • ipykernel *
  • ipywidgets *
  • matplotlib *
  • networkx *
  • numba *
  • openpyxl *
  • osmnx *
  • protobuf ==3.20
  • ray *
  • redis *
  • requests *
  • scipy *
  • simpledbf *
  • sklearn *
  • tqdm *
  • xlrd *
Pipfile pypi
  • flake8 * develop
  • pipenv-to-requirements * develop
  • Babel ~=2.9
  • DateTime ~=4.3
  • Shapely ~=1.7
  • Sphinx ~=3.5.2
  • alabaster ~=0.7
  • aniso8601 ~=9.0
  • argcomplete ~=1.12
  • astropy ~=4.2
  • backports_abc ~=0.5
  • beautifulsoup4 ~=4.9
  • bitarray ~=2.1
  • branca ~=0.4
  • contextily ~=1.1
  • dbf ~=0.99
  • descartes ~=1.1
  • folium ~=0.12
  • geojson ~=2.5
  • geopandas ~=0.9
  • geopy ~=2.1
  • gtfs-kit ~=5.0
  • ipykernel ~=5.5
  • ipywidgets ~=7.6
  • kml2geojson ~=4.0
  • networkx ~=2.5
  • numpy ~=1.20
  • openpyxl ~=3.0
  • osmnx ~=1.0
  • pandas ~=1.2
  • pyPdf ~=1.13
  • rasterio ~=1.2
  • requests ~=2.25
  • scikit-learn ~=0.24
  • scipy ~=1.6
  • selenium ~=3.141
  • simpledbf ~=0.2
  • sphinx-rtd-theme ~=0.5
  • tables ~=3.6
  • tqdm ~=4.59
  • xlrd ~=2.0
Pipfile.lock pypi
  • 141 dependencies
requirements.txt pypi
  • aenum ==3.1.0
  • affine ==2.3.0
  • alabaster ==0.7.12
  • aniso8601 ==9.0.1
  • argcomplete ==1.12.2
  • argon2-cffi ==20.1.0
  • astropy ==4.2
  • async-generator ==1.10
  • attrs ==21.2.0
  • babel ==2.9.0
  • backcall ==0.2.0
  • backports-abc ==0.5
  • beautifulsoup4 ==4.9.3
  • bitarray ==2.1.0
  • bleach ==3.3.0
  • branca ==0.4.2
  • certifi ==2021.5.30
  • cffi ==1.14.5
  • chardet ==4.0.0
  • click ==7.1.2
  • click-plugins ==1.1.1
  • cligj ==0.7.2
  • contextily ==1.1.0
  • cycler ==0.10.0
  • datetime ==4.3
  • dbf ==0.99.1
  • decorator ==5.0.9
  • defusedxml ==0.7.1
  • descartes ==1.1.0
  • docutils ==0.17.1
  • entrypoints ==0.3
  • et-xmlfile ==1.1.0
  • fiona ==1.8.20
  • folium ==0.12.1
  • geographiclib ==1.50
  • geojson ==2.5.0
  • geopandas ==0.9.0
  • geopy ==2.1.0
  • gtfs-kit *
  • gtfs_kit *
  • idna ==2.10
  • imagesize ==1.2.0
  • ipykernel ==5.5.5
  • ipython ==7.24.0
  • ipython-genutils ==0.2.0
  • ipywidgets ==7.6.3
  • jedi ==0.18.0
  • jinja2 ==3.0.1
  • joblib ==1.0.1
  • json2html ==1.3.0
  • jsonschema ==3.2.0
  • jupyter-client ==6.1.12
  • jupyter-core ==4.7.1
  • jupyterlab-pygments ==0.1.2
  • jupyterlab-widgets ==1.0.0
  • kiwisolver ==1.3.1
  • kml2geojson ==4.0.2
  • markupsafe ==2.0.1
  • matplotlib ==3.4.2
  • matplotlib-inline ==0.1.2
  • mercantile ==1.2.1
  • mistune ==0.8.4
  • munch ==2.5.0
  • nbclient ==0.5.3
  • nbconvert ==6.0.7
  • nbformat ==5.1.3
  • nest-asyncio ==1.5.1
  • networkx ==2.5
  • notebook ==6.4.0
  • numba *
  • numexpr ==2.7.3
  • numpy ==1.20.1
  • openpyxl ==3.0.7
  • osmnx *
  • packaging ==20.9
  • pandas ==1.2.3
  • pandocfilters ==1.4.3
  • parso ==0.8.2
  • pexpect ==4.8.0
  • pickleshare ==0.7.5
  • pillow ==8.2.0
  • prometheus-client ==0.11.0
  • prompt-toolkit ==3.0.18
  • protobuf ==3.20.1
  • ptyprocess ==0.7.0
  • pycountry ==19.8.18
  • pycparser ==2.20
  • pyerfa ==2.0.0
  • pygments ==2.9.0
  • pyparsing ==2.4.7
  • pypdf ==1.13
  • pyproj ==3.1.0
  • pyrsistent ==0.17.3
  • python-dateutil ==2.8.1
  • pytz ==2021.1
  • pyzmq ==22.1.0
  • rasterio ==1.2.10
  • ray ==1.12.1
  • redis *
  • requests ==2.25.1
  • rtree <=0.9.3
  • scikit-learn ==0.24.1
  • scipy ==1.6.1
  • selenium ==3.141.0
  • send2trash ==1.5.0
  • shapely ==1.7.1
  • simpledbf ==0.2.6
  • six ==1.16.0
  • snowballstemmer ==2.1.0
  • snuggs ==1.4.7
  • soupsieve ==2.2.1
  • sphinx ==3.5.2
  • sphinx-rtd-theme ==0.5.1
  • sphinxcontrib-applehelp ==1.0.2
  • sphinxcontrib-devhelp ==1.0.2
  • sphinxcontrib-htmlhelp ==2.0.0
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-qthelp ==1.0.3
  • sphinxcontrib-serializinghtml ==1.1.5
  • tables ==3.6.1
  • terminado ==0.10.0
  • testpath ==0.5.0
  • threadpoolctl ==2.1.0
  • tornado ==6.1
  • tqdm ==4.59.0
  • traitlets ==5.0.5
  • urllib3 ==1.26.5
  • utm ==0.7.0
  • wcwidth ==0.2.5
  • webencodings ==0.5.1
  • widgetsnbextension ==3.5.1
  • xlrd ==2.0.1
  • zope.interface ==5.4.0
requirements_win.txt pypi
  • aenum ==3.1.0
  • affine ==2.3.0
  • alabaster ==0.7.12
  • aniso8601 ==9.0.1
  • argcomplete ==1.12.2
  • argon2-cffi ==20.1.0
  • astropy ==4.2
  • async-generator ==1.10
  • attrs ==21.2.0
  • babel ==2.9.0
  • backcall ==0.2.0
  • backports-abc ==0.5
  • beautifulsoup4 ==4.9.3
  • bleach ==3.3.0
  • branca ==0.4.2
  • certifi ==2021.5.30
  • cffi ==1.14.5
  • chardet ==4.0.0
  • click ==7.1.2
  • click-plugins ==1.1.1
  • cligj ==0.7.2
  • cycler ==0.10.0
  • datetime ==4.3
  • dbf ==0.99.1
  • decorator ==5.0.9
  • defusedxml ==0.7.1
  • descartes ==1.1.0
  • docutils ==0.17.1
  • entrypoints ==0.3
  • et-xmlfile ==1.1.0
  • fiona ==1.8.20
  • folium ==0.12.1
  • geographiclib ==1.50
  • geojson ==2.5.0
  • geopy ==2.1.0
  • gtfs-kit ==5.0.2
  • idna ==2.10
  • imagesize ==1.2.0
  • ipython ==7.24.0
  • ipython-genutils ==0.2.0
  • ipywidgets ==7.6.3
  • jedi ==0.18.0
  • jinja2 ==3.0.1
  • joblib ==1.0.1
  • json2html ==1.3.0
  • jsonschema ==3.2.0
  • jupyter-client ==6.1.12
  • jupyter-core ==4.7.1
  • jupyterlab-pygments ==0.1.2
  • jupyterlab-widgets ==1.0.0
  • kiwisolver ==1.3.1
  • kml2geojson ==4.0.2
  • markupsafe ==2.0.1
  • matplotlib ==3.4.2
  • mistune ==0.8.4
  • munch ==2.5.0
  • nbclient ==0.5.3
  • nbconvert ==6.0.7
  • nbformat ==5.1.3
  • nest-asyncio ==1.5.1
  • networkx ==2.5
  • notebook ==6.4.0
  • numba ==0.55.2
  • numexpr ==2.7.3
  • numpy ==1.20.1
  • openpyxl ==3.0.7
  • osmnx ==1.0.1
  • packaging ==20.9
  • pandas ==1.2.3
  • pandocfilters ==1.4.3
  • parso ==0.8.2
  • pexpect ==4.8.0
  • pickleshare ==0.7.5
  • pillow ==8.2.0
  • prometheus-client ==0.11.0
  • prompt-toolkit ==3.0.18
  • protobuf ==3.20.1
  • ptyprocess ==0.7.0
  • pycountry ==19.8.18
  • pycparser ==2.20
  • pyerfa ==2.0.0
  • pygments ==2.9.0
  • pyparsing ==2.4.7
  • pypdf ==1.13
  • pyproj ==3.1.0
  • pyrsistent ==0.17.3
  • python-dateutil ==2.8.1
  • pytz ==2021.1
  • pyzmq ==22.1.0
  • ray ==1.12.1
  • redis *
  • requests ==2.25.1
  • scikit-learn ==0.24.1
  • scipy ==1.6.1
  • selenium ==3.141.0
  • send2trash ==1.5.0
  • simpledbf ==0.2.6
  • six ==1.16.0
  • snowballstemmer ==2.1.0
  • snuggs ==1.4.7
  • soupsieve ==2.2.1
  • sphinx ==3.5.2
  • sphinx-rtd-theme ==0.5.1
  • sphinxcontrib-applehelp ==1.0.2
  • sphinxcontrib-devhelp ==1.0.2
  • sphinxcontrib-htmlhelp ==2.0.0
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-qthelp ==1.0.3
  • sphinxcontrib-serializinghtml ==1.1.5
  • tables ==3.6.1
  • terminado ==0.10.0
  • testpath ==0.5.0
  • threadpoolctl ==2.1.0
  • tornado ==6.1
  • tqdm ==4.59.0
  • traitlets ==5.0.5
  • urllib3 ==1.26.5
  • utm ==0.7.0
  • wcwidth ==0.2.5
  • webencodings ==0.5.1
  • widgetsnbextension ==3.5.1
  • xlrd ==2.0.1
  • zope.interface ==5.4.0
api/ML_MatrixRoadCaster/Dockerfile docker
  • public.ecr.aws/lambda/python 3.8.2023.05.29.18 build
docker/auth/Dockerfile docker
  • public.ecr.aws/lambda/python 3.11 build
docker/templates/Dockerfile docker
  • public.ecr.aws/lambda/python 3.8 build
api/ML_MatrixRoadCaster/requirements.txt pypi
  • boto3 ==1.26.109
  • geopandas ==0.12.2
  • matplotlib ==3.7.1
  • networkx ==3.0
  • numba ==0.56.4
  • protobuf ==3.20.1
  • pydantic ==1.10.8
  • ray ==2.3.1
  • requests ==2.28.2
  • scikit-learn ==1.2.2
  • scipy ==1.10.1
  • shapely ==1.7.1
  • tqdm ==4.59.0
docker/auth/requirements.txt pypi
  • PyJWT *
  • boto3 *
  • cryptography *
  • requests *
setup.py pypi

Score: 13.071491047030571