BoonΒΆ

from boon import Demo

demo = Demo("match.dem", preload=False)
demo.load("kills", "damage")
print(demo.players)
print(demo.kills.head())
demo.kills.write_parquet("kills.parquet")

Boon parses Valve Deadlock Source 2 .dem files with Rust and PyO3. Python results are Polars DataFrames. Use Polars for filters, groups, joins, and Apache Parquet output. Optional plots use matplotlib.

Demo compatibility: Use Boon 0.10.0 or earlier for demos recorded before the City Never Sleeps update (September 29, 2026). Use Boon 0.11.0 or later for demos recorded with that update or later.

Get startedΒΆ

Install with uv add boon-deadlock or pip install boon-deadlock. Read πŸš€ Getting Started for dataset queries and πŸ“– Examples for complete examples.

Use Calculate hero stats for hero values, Ability stats and imbues for ability bonuses and imbues, and Player states for recorded states. Set a boon-data version for these queries; see Game data downloads. The guides list accepted strings and enum members.

Use Ziplines for recorded zipline routes and ownership. Use Plotting for scoreboards, team totals, and player positions. Read Known Issues for calculation limits. Report errors on GitHub or Discord.

Use the llms.txt index for plain-text guides and typed API references.