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 6 hours ago
JSON representation
Repository metadata
Quetzal is a modeling library designed for transport planning and traffic forecasts
- Host: GitHub
- URL: https://github.com/systragroup/quetzal
- Owner: systragroup
- License: other
- Created: 2018-11-20T08:30:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T18:42:46.000Z (4 days ago)
- Last Synced: 2025-04-25T14:07:48.433Z (2 days ago)
- Language: Jupyter Notebook
- Size: 67.5 MB
- Stars: 44
- Watchers: 5
- Forks: 9
- Open Issues: 8
- Releases: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
README.md
quetzal
What is it?
quetzal is a Python package providing flexible models for transport planning and traffic forecasting.
Copyright
(c) SYSTRA
License
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
- May need to set the default (or local) python version in the project
pyenv local 3.12
- install dependancies (this will create a new virtualenv)
poetry install
- activate the env
poetry shell
- add the env to ipykernel (to use in jupyter)
python -m ipykernel install --user --name=quetzal_env
Virtualenv
Virtual environment: virtualenv .venv -p python3.12; source .venv/bin/activate
or any equivalent command.
pip install -e .
Anaconda
In order to use python notebook, Anaconda 3 + Python 3.12 must be installed.
Then create + activate quetzal environment:
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
(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
migration to 3.12
- pandas append was remove:
# 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:
# before
sm.volumes = sm.volumes.loc[od_set]
#now
sm.volumes = sm.volumes.loc[list(od_set)]
- shapely
# before
hull = zones.unary_union.convex_hull
# now
hull = zones.union_all().convex_hull
- scikitlearn
# add n_init='auto'
KMeans(n_clusters=num_zones,random_state=0,n_init='auto')
Owner metadata
- Name: SYSTRA
- Login: systragroup
- Email:
- Kind: organization
- Description: SYSTRA is an international consulting and engineering group, the signature team for transportation solutions
- Website: https://www.systra.com
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/45179084?v=4
- Repositories: 24
- Last ynced at: 2024-04-24T06:28:05.001Z
- Profile URL: https://github.com/systragroup
GitHub Events
Total
- Watch event: 1
- Delete event: 5
- Push event: 36
- Pull request event: 12
- Create event: 9
Last Year
- Watch event: 1
- Delete event: 5
- Push event: 36
- Pull request event: 12
- Create event: 9
Committers metadata
Last synced: 8 days ago
Total Commits: 690
Total Committers: 22
Avg Commits per committer: 31.364
Development Distribution Score (DDS): 0.741
Commits in past year: 102
Committers in past year: 7
Avg Commits per committer in past year: 14.571
Development Distribution Score (DDS) in past year: 0.235
Name | Commits | |
---|---|---|
CHASSERIEAU Quentin | q****u@s****o | 179 |
Simon Boivin | s****n@s****m | 174 |
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 | 5 |
dgarceries | d****s@s****m | 4 |
Marlin Arnz | m****z@w****e | 2 |
MartinLary93 | m****1@s****m | 2 |
RobinGoix | r****g@g****m | 2 |
Cyrille Pontvieux | c****x@s****m | 2 |
safth | s****4@g****m | 1 |
[email protected] | s****f@M****l | 1 |
Simon Fortin | s****f@p****n | 1 |
CHOPY Simon | s****y@s****o | 1 |
Simon Fortin | s****f@D****V | 1 |
Committer domains:
- systra.info: 7
- systra.com: 6
- pop-os.localdomain: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 15
Total pull requests: 116
Average time to close issues: 2 months
Average time to close pull requests: 3 months
Total issue authors: 10
Total pull request authors: 8
Average comments per issue: 2.47
Average comments per pull request: 0.21
Merged pull request: 86
Bot issues: 0
Bot pull requests: 24
Past year issues: 1
Past year pull requests: 11
Past year average time to close issues: 3 months
Past year average time to close pull requests: 2 minutes
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.0
Past year merged pull request: 8
Past year bot issues: 0
Past year bot pull requests: 3
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
- qchasserieau (42)
- sboivinsystra (38)
- dependabot[bot] (24)
- RobinGoix (5)
- siforf564 (4)
- sfortinsystra (1)
- jrd (1)
- davent9 (1)
Top Issue Labels
- bug (1)
Top Pull Request Labels
- dependencies (24)
- enhancement (1)
Dependencies
- branca *
- geojson *
- geopy *
- gtfs_kit *
- ipykernel *
- ipywidgets *
- matplotlib *
- networkx *
- numba *
- openpyxl *
- osmnx *
- protobuf ==3.20
- ray *
- redis *
- requests *
- scipy *
- simpledbf *
- sklearn *
- tqdm *
- xlrd *
- 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
- 141 dependencies
- 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
- 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
- public.ecr.aws/lambda/python 3.8.2023.05.29.18 build
- public.ecr.aws/lambda/python 3.11 build
- public.ecr.aws/lambda/python 3.8 build
- 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
- PyJWT *
- boto3 *
- cryptography *
- requests *
Score: 7.042286171939743