  We consider Markov chains which are polynomially mixing, in a weak sense
expressed in terms of the space of functions on which the mixing speed is
controlled. In this context, we prove polynomial large and moderate deviations
inequalities. These inequalities can be applied in various natural situations
coming from probability theory or dynamical systems. Finally, we discuss
examples from these various settings showing that our inequalities are sharp.
