Divisors and Sandpiles (with Scott Corry), AMS Student Mathematical Library Series. An introduction to chip-firing, the Riemann–Roch theorem for graphs, and the abelian sandpile model.
I am a developer for SageMath, the open-source mathematical software system.