Here is a subset of the Python grammar:
single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE
stmt: simple_stmt | compound_stmt
simple_stmt: small_stm
There are a couple of examples on the pyparsing wiki Examples page that could give you some insights:
To use pyparsing's indentedBlock, I think you would define suite as:
indentstack = [1]
suite = indentedBlock(stmt, indentstack, True)
Note that indentedGrammarExample.py pre-dates the inclusion of indentedBlock in pyparsing, so does its own implemention of indent parsing.