Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CI

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.3rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for urbansim-templates 0.3rc1
File Size Uploaded
urbansim_templates-0.3rc1.tar.gz 81.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for urbansim-templates 0.3rc1
File Interpreter ABI Platform
urbansim_templates-0.3rc1-py3-none-any.whl Python 3 none any Details

Total release size: 130.1 kB

Release files / urbansim_templates-0.3rc1.tar.gz

Download URL urbansim_templates-0.3rc1.tar.gz
Size 81.4 kB
Tags Source
SHA-256 checksum
How to use checksums
60a92720847582805ace29749cb5dd251a08ee4269d281bbb3444d11eda58812
BLAKE2b-256 checksum
How to use checksums
43671df32662c91d9db146fe644cf7ab4b61e8e0d6432adaaf872e53397fcf7c
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

Release files / urbansim_templates-0.3rc1-py3-none-any.whl

Download URL urbansim_templates-0.3rc1-py3-none-any.whl
Size 48.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3480c3163280d439582f18529faeae58b7420805894eef28cef99ba51146dbc
BLAKE2b-256 checksum
How to use checksums
6316bbf97358bfe06542d034bfa95c91bd2cbc4ca3cccd632442a1b60679a97e
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

Release history Release notifications | RSS feed

0.3

2 release files

This release

0.3rc1 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page