For a given quiver algebra $A$, one can calculate the trivial extension algebra $T(A)$ (see Trivial extension of an algebra for the definition) of $A$ with the GAP-package QPA.
Question: Is there an easy way to obtain $A$ as $T(A)$-module in QPA? (note that $A$ is a quotient of $T(A)$ by $D(A)$ and thus a $T(A)$-module in this way)
One can do the following in QPA, where $A$ is some admissible quotient of a path algebra. The code below should work for any admissible quotient of a path algebra. The last line of code gives the indecomposable projective $A$-modules as $T(A)$-modules. In fact, you can enter any $A$-module $M$ into the command
and get it as a $T(A)$-module.