Model runtime¶
Trac model runtime package¶
A lightweight package for building portable, production-grade Python models that can be executed anywhere, from local development environments to enterprise production systems.

The trac model runtime provides the context in which models run, so the model’s internal business logic can be fully abstracted from the execution environment.
It offers a simple way to build, ship, and share models.
Note
The trac model runtime for Python models is available to download and install from pypi.org.
Model portability¶
The model runtime is independent of the trac platform and can be used in four different types of environment:
In any modern IDE giving you type-safety and portability as you build
In the trac platform for auditable and repeatable calculations
In a notebook-style environment for more exploratory data science workflows
In any other execution platform where Python packages can be installed

Using the model runtime allows the same version-controlled code, to be executed in multiple environments, without modification or additional deployment steps.
Build once - run anywhere!