user34073: I am working on a research project where we need to run stockfish on hundreds of thousands of pgns we have collected. We need to extract all information generated from stockfish like centipawns, inaccuracies, blunders, mistakes, etc.
I know you can download stockfish .exe and some gui to use it with. But we need to run it on large number of existing pgns in an automated manner preferably using python.

user33999: Download Stockfish form official website. Note that there are different versions for different cpus - pick first one that works.
Then you can communicate with stockfish using UCI protocol. For python library python-chess supports it.
For distributed analysis Lichess developed Fishnet which is open source. Maybe you can adapt it for your needs?

34073: <p>I am working on a research project where we need to run stockfish on hundreds of thousands of pgns we have collected. We need to extract all information generated from stockfish like centipawns, inaccuracies, blunders, mistakes, etc.
I know you can download stockfish .exe and some gui to use it with. But we need to run it on large number of existing pgns in an automated manner preferably using python.</p>
 33999: <p>Download Stockfish form <a href="https://stockfishchess.org/" rel="nofollow noreferrer">official website</a>. Note that there are different versions for different cpus - pick first one that works.</p>
<p>Then you can communicate with stockfish using <a href="https://en.wikipedia.org/wiki/Universal_Chess_Interface" rel="nofollow noreferrer">UCI protocol</a>. For python library <a href="https://python-chess.readthedocs.io/en/latest/engine.html" rel="nofollow noreferrer">python-chess</a> supports it.</p>
<p>For distributed analysis Lichess developed <a href="https://github.com/lichess-org/fishnet" rel="nofollow noreferrer">Fishnet</a> which is open source. Maybe you can adapt it for your needs?</p>
