UrbanSim Templates
UrbanSim Templates is a Python library that provides building blocks for Orca-based simulation models. It's part of the Urban Data Science Toolkit (UDST).
The library contains templates for common types of model steps, plus a tool called ModelManager that runs as an extension to the Orca task orchestrator. ModelManager can register template-based model steps with the orchestrator, save them to disk, and automatically reload them for future sessions. The package was developed to make it easier to set up new simulation models — model step templates reduce the need for custom code and make settings more portable between models.
Project scope
Status: Active
Mission: UrbanSim Templates provides reusable, configurable model-step templates and the ModelManager registry for building Orca-based simulation models from declarative settings rather than custom code.
Architecture: UrbanSim Templates is a portable Python layer over Orca, UrbanSim, and ChoiceModels. Each template encapsulates the data preparation, estimation, and simulation logic for one kind of model step, and persists its settings in portable configuration files. The project's direction is for those files, rather than pickled Python objects, to carry all estimated model state, so that model steps can be reloaded, shared, and executed by other compatible engines.
The project maintains and develops:
- templates for regression, binary logit, and multinomial logit model steps;
- templates for loading, saving, and deriving data tables and columns;
- the ModelManager registry for saving, reloading, and running model steps;
- shared utilities for data access, filtering, and output handling; and
- portable configuration formats for estimated model steps.
Development of new templates and configuration-format improvements is welcome within this mission and architecture. Material changes to the project's mission or execution architecture are considered through UDST's organization-level governance process.
See the UDST Project Directory for organization-wide project status and policy.
Installation
UrbanSim Templates requires Python 3.10 or later, and can be installed using the Pip or Conda package managers:
pip install urbansim_templates
conda install urbansim_templates --channel conda-forge
Documentation
See the online documentation for much more: https://udst.github.io/urbansim_templates
Some additional documentation is available within the repo in CHANGELOG.md, CONTRIBUTING.md, /docs/README.md, and /tests/README.md.
There's discussion of current and planned features in the pull requests and issues, both open and closed.
Release files for urbansim-templates 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| urbansim_templates-0.3.tar.gz | 81.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| urbansim_templates-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.1 kB
Release files / urbansim_templates-0.3.tar.gz
| Download URL | urbansim_templates-0.3.tar.gz |
|---|---|
| Size | 81.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d043f2f55364f89a5994c0de25ccb1ff00f28e5c0a41452ac75b0853bb318066
|
|
BLAKE2b-256 checksum How to use checksums |
6f1c7ef71a10af7e86b30321de7d72f1a80bafc6431f42a1daa0902eaff29223
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logRelease files / urbansim_templates-0.3-py3-none-any.whl
| Download URL | urbansim_templates-0.3-py3-none-any.whl |
|---|---|
| Size | 48.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
966b2f8623da59a777b161f9205b0029817850cf617c1b3a1f693204558748eb
|
|
BLAKE2b-256 checksum How to use checksums |
8b203230937f41f6bcb498c35cc3ee0dda9fdee91c1e2dcd8347f4819ec4a167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency log