Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 3.8.3 instead.
Reason given by maintainers: build with uv, not working as files are missing

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

uv

  1. Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. install dependencies (this will create a new virtualenv at .venv/ and fetch Python 3.12 if needed)
uv sync
  1. activate the env
source .venv/bin/activate
  1. (optional) add the env to ipykernel (to use in jupyter)
python -m ipykernel install --user --name=quetzal_env

poetry (alternative)

  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

uv (recommended)

No prior installation of Python or uv is required — the batch file handles both. Open a command prompt and run the windows-install batch file

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

press enter to accept the default kernel name or enter a custom name

poetry (alternative)

Requires Anaconda 3 with Python 3.12. Run the poetry batch file instead:

C:\users\you\path\to\quetzal> windows-install-poetry.bat

press enter to accept the default kernel name or enter a custom name

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

If you are facing SSL issues

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

security warning: the host is added to pip.ini

Tests

to run unittest:

uv run python -W ignore -m unittest discover

Or with poetry:

poetry run python -W ignore -m unittest discover

Deploying

  1. change the version in pyproject.toml
[project]
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.

Download files

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

Source Distribution

quetzal_transport-3.8.2.tar.gz (328.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quetzal_transport-3.8.2-py3-none-any.whl (375.1 kB view details)

Uploaded Python 3

File details

Details for the file quetzal_transport-3.8.2.tar.gz.

File metadata

  • Download URL: quetzal_transport-3.8.2.tar.gz
  • Upload date:
  • Size: 328.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for quetzal_transport-3.8.2.tar.gz
Algorithm Hash digest
SHA256 023fff862ee998ee30ba3f56fcdc33c65cb3e141285aad5503aab0a00448d3ff
MD5 5dc04414478baf7652dacb9d6e4dacc9
BLAKE2b-256 29cf0b65459f3d2d194972c4d8f3ccd5fd36c587ff119a95db27fd724cbf4648

See more details on using hashes here.

File details

Details for the file quetzal_transport-3.8.2-py3-none-any.whl.

File metadata

  • Download URL: quetzal_transport-3.8.2-py3-none-any.whl
  • Upload date:
  • Size: 375.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for quetzal_transport-3.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95f7db162082391712e794fec03a46e353989e867efd55ea30952f1b87b7caaa
MD5 b352b919aab95dd72fb5318393175d17
BLAKE2b-256 697e2d4f112b97398ea580b7d4b38f0bd3cce4cc35097332f6158eac1a015b68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page