quetzal

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

https://github.com/systragroup/quetzal

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.1%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

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

Basic Info
  • Host: GitHub
  • Owner: systragroup
  • License: other
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 67.9 MB
Statistics
  • Stars: 45
  • Watchers: 5
  • Forks: 10
  • Open Issues: 8
  • Releases: 8
Created over 7 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

quetzal

What is it?

quetzal is a Python package providing flexible models for transport planning and traffic forecasting.

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 from sources

For Linux

One should choose between - Poetry (recommended) - Virtualenv - Anaconda

poetry

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

Virtualenv

Virtual environment: virtualenv .venv -p python3.12; source .venv/bin/activate or any equivalent command.

bash pip install -e .

Anaconda

In order to use python notebook, Anaconda 3 + Python 3.12 must be installed. Then create + activate quetzal environment: bash conda init conda create -n quetzal_env -y python=3.12 conda activate quetzal_env pip install -e . -r requirements_win.txt python -m ipykernel install --user --name=quetzal_env

For Windows

Anaconda 3 + Python 3.12 is supposed to be installed

PIP and Anaconda (recommended)

To create quetzal_env automatically and install quetzal, open anaconda prompt and run windows-install batch file bash (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

bash (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

migration to 3.12

  • pandas append was remove: ```python

    before

    sm.volumes = sm.volumes.append(vol)

    now

    sm.volumes = pd.concat([sm.volumes, vol])

    or

    sm.volumes = pd.concat([sm.volumes, pd.DataFrame(vol)]) filtering index with set was remove: python

    before

    sm.volumes = sm.volumes.loc[od_set]

    now

    sm.volumes = sm.volumes.loc[list(od_set)] ```

  • shapely ```python

    before

    hull = zones.unaryunion.convexhull

    now

    hull = zones.unionall().convexhull ```

  • scikitlearn ```python

    add n_init='auto'

    KMeans(nclusters=numzones,randomstate=0,ninit='auto') ```

Owner

  • Name: SYSTRA
  • Login: systragroup
  • Kind: organization

SYSTRA is an international consulting and engineering group, the signature team for transportation solutions

GitHub Events

Total
  • Watch event: 2
  • Delete event: 6
  • Push event: 63
  • Pull request event: 14
  • Fork event: 1
  • Create event: 11
Last Year
  • Watch event: 2
  • Delete event: 6
  • Push event: 63
  • Pull request event: 14
  • Fork event: 1
  • Create event: 11

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 721
  • Total Committers: 23
  • Avg Commits per committer: 31.348
  • Development Distribution Score (DDS): 0.718
Past Year
  • Commits: 88
  • Committers: 6
  • Avg Commits per committer: 14.667
  • Development Distribution Score (DDS): 0.148
Top Committers
Name Email Commits
Simon Boivin s****n@s****m 203
CHASSERIEAU Quentin q****u@s****o 179
Robin Goix r****x@s****m 92
rgoix r****x@s****o 85
FORTIN Simon s****n@s****o 35
Quentin Chasserieau 3****u 31
BOIVIN Simon s****n@s****o 26
simon fortin s****n@s****m 25
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
Cyrille Pontvieux c****x@s****m 2
Marlin Arnz m****z@w****e 2
MartinLary93 m****1@s****m 2
RobinGoix r****g@g****m 2
safth s****4@g****m 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
mlaune m****e@s****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 14
  • Total pull requests: 121
  • Average time to close issues: 2 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 9
  • Total pull request authors: 8
  • Average comments per issue: 2.57
  • Average comments per pull request: 0.2
  • Merged pull requests: 89
  • Bot issues: 0
  • Bot pull requests: 25
Past Year
  • Issues: 0
  • Pull requests: 17
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 minutes
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 4
Top Authors
Issue Authors
  • marlinarnz (4)
  • orlandombaa (3)
  • siforf564 (1)
  • ha-mish (1)
  • anjailg (1)
  • BarbaraFl (1)
  • sfortinsystra (1)
  • pe712 (1)
  • FrancoisPoinsignon (1)
  • qchasserieau (1)
Pull Request Authors
  • sboivinsystra (47)
  • qchasserieau (42)
  • dependabot[bot] (37)
  • RobinGoix (5)
  • siforf564 (4)
  • sfortinsystra (1)
  • jrd (1)
  • davent9 (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels
dependencies (37) enhancement (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