I came across an extremely useful Python software library for the Monster group: https://github.com/Martin-Seysen/mmgroup which allows for all sorts of manipulations involving the sporadic finite groups.
Is there a similar fast and straightforward software library for $\operatorname{PSL}_n(q)$ where $q$ is a prime power? In particular I'd like to construct the smallest dimensional ($N$) complex faithful representations of this group for various choices of $n$ and $q$, meaning that the generators should be given explicitly in terms of $N \times N$ matrices. I know generally it's a difficult problem but for given $n$ and $q$ are there algorithmic constructions which are already in a software library?
galois
package here: github.com/mhostetter/galois, which is an extension ofnumpy
to finite fields. If GAP or Magma are lacking the functionality you need this would give you a decent starting point for implementing things yourself. $\endgroup$