i-ATLAS
An open activity-based travel demand toolkit for building synthetic populations and daily tours on any zonal network. i-ATLAS is the packaged form of the i-ATLAS-c framework: it exposes the network contract, population synthesis and tour synthesis as reusable Python components, and uses a Brisbane example network so the workflow can be run end to end after install.
- PyPI user: https://pypi.org/user/zahern/
- Distribution:
i-atlas - Import:
iatlas - CLI:
iatlas(aliasatlas)
Install
pip install i-atlas
For development:
git clone https://github.com/zahern/i-atlas
cd i-atlas
pip install -e ".[dev]"
Quickstart
iatlas demo brisbane --out demo_brisbane
This writes a Brisbane example bundle, synthesises a population and generates daily tours and trips:
demo_brisbane/
network.yaml
zones.csv
household_types.csv
tour_profiles.csv
output/
households.csv
persons.csv
tours.csv
trips.csv
summary.json
Validate any bundle:
iatlas validate demo_brisbane/network.yaml
Network contract
A bundle is a directory with a network.yaml and three tables:
network:
name: brisbane_demo
crs: EPSG:28356
paths:
zones: zones.csv
household_types: household_types.csv
tour_profiles: tour_profiles.csv
output: output
zones.csv
One row per zone. Required columns:
| Column | Meaning |
|---|---|
zone_id |
Integer or string zone identifier |
zone_name |
Display name |
households |
Household total |
population |
Person total |
workers |
Worker total |
vehicles |
Household vehicle total |
employment |
Jobs total (used as a destination attractor) |
lon, lat |
Zone centroid, WGS84 |
household_types.csv
A small set of household archetypes:
| Column | Meaning |
|---|---|
type_id |
Archetype label |
size |
Persons per household |
workers |
Workers per household |
vehicles |
Vehicles per household |
base_share |
Starting share before IPU |
tour_profiles.csv
Observed or assumed tour distributions by purpose:
| Column | Meaning |
|---|---|
purpose |
Tour purpose |
share |
Share of tours |
mode_da, mode_sr, mode_transit, mode_walk, mode_bike |
Mode shares |
start_mean, start_sd |
Start time, minutes after midnight |
duration_mean, duration_sd |
Activity duration, minutes |
tours_per_person |
Mean tours per person per day |
Pluggable data
The package is deliberately split at the three places where local data differ:
- Network (
zones.csv,lon/lator a zone table): replace with any zonal system. The demo uses 12 Brisbane SA2-like zones; a full application can use 371 SA2 zones or a custom grid. - Population (
household_types.csv): replace the archetypes with the household types supported by the local census. The IPU step matches zone household, population, worker and vehicle totals. - Tours (
tour_profiles.csv): replace the profiles with local survey distributions, or supply a donor tour table with the same columns asoutput/tours.csv. The tour generator samples purpose, mode, start time, duration and destination from those profiles.
The Brisbane example is synthetic and redistributable. HHTS microdata are not
included. To use HHTS, export the same three tables from the licensed survey,
point network.yaml at them, and run iatlas synthpop and iatlas tours.
Bring your own data
See PLUGGING_DATA.md for the zone, household and tour tables, and for how to export the same summaries from HHTS or another household travel survey without redistributing microdata.
Python API
from iatlas import NetworkBundle, generate_population, generate_tours
bundle = NetworkBundle.load("demo_brisbane/network.yaml")
households, persons = generate_population(bundle, seed=42)
tours, trips = generate_tours(bundle, persons, seed=42)
Full estimation pipeline
The package ships the population and tour components. The full i-ATLAS-c
estimation and application pipeline (Stages 0-6, route choice, crash models)
is larger and environment-specific; the companion repository exposes it via
the original atlas CLI and a network-bundle preflight. The tables produced
here are the input contract for that pipeline.
Publishing
python -m build --no-isolation
twine upload dist/*
The PyPI user is https://pypi.org/user/zahern/.
License
MIT. The Brisbane example data are synthetic and do not contain HHTS records.
Metadata
Release files for i-atlas 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| i_atlas-0.1.0.tar.gz | 14.8 kB | Without provenance | Details for i_atlas-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| i_atlas-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for i_atlas-0.1.0-py3-none-any.whl |
Total release size: 30.9 kB
Release files / i_atlas-0.1.0.tar.gz
| Download URL | i_atlas-0.1.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
faa20eb9516fd2d29b5ea3668d0dbf36abfb9be673e966db72ae3961c2c15b2a
|
|
BLAKE2b-256 checksum How to use checksums |
675a8866001bed52fbf4b7adaf87f4140b0ff6fea013332c2ef0ba315a142211
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / i_atlas-0.1.0-py3-none-any.whl
| Download URL | i_atlas-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e053e5828cbe0f765f3c40b488c42ed310608d1436617edc4813deb9552e674
|
|
BLAKE2b-256 checksum How to use checksums |
d89b295c084d80ff9d8f798430395f58d4a71b43d27377d444683117b582d77e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for i-atlas 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.