Is pymc.Gumbel the extreme maximum or minimum distribution?

I have been reading up on the Gumbel distribution and there are two versions: an extreme maximum and an extreme minimum. The way the PDF is written in the documentation leads me to think this is the maximum but that is not always what one is looking for. Is this the maximum or minimum function and regardless is there a way to get both in pymc?

It is the regular Gumbel distribution, suitable for modelling maxima. To verify this you can examine the logp and logcdf definitions in
pymc.distributions.continuous — PyMC 5.9.0 documentation

and make comparison versus equations for Gumbel distribution e.g. on Wikipedia:
Gumbel distribution - Wikipedia

Wikipedia gives a simple tip for how to model minima using the Gumbel distribution:

To model the minimum value, use the negative of the original values.

Hope this helps!