command module
Version: v1.0.0 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 15 Imported by: 0



parses PGN files and extract statistics from them. handles huge files like a champ!


example: pgnstats -f myFile.pgn -o stats.json

help: pgnstats -h


  • openings tree
  • heatmaps _ square utilization _ move squares _ checking squares _ capture squares
  • results (white win / black win / draw / na)
  • games ending with check / mate
  • game length histogram
  • material count histogram (using standard values)
  • material difference histogram
  • end game material count histogram (using standard values)
  • end game material difference histogram
  • castling (black/white, same/opposite)
  • min/max ELO
  • min/max year
  • branching factor per ply
  • piece tracking


The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL