This question is about calling a Mathematica Package (.m file) from Python employing the "Wolfram Client Library for Python" (https://github.com/WolframResearch/WolframClientForPython).
For concreteness, consider the following Mathematica Package:
BeginPackage["basicPackage`"]
AddTwo::usage = "AddTwo[a, b] returns a+b";
Begin["Private`"]
AddTwo[a_, b_] := a + b;
End[]
EndPackage[]
Aim: call AddTwo from Python using the Wolfram Client Library for Python. If this is not currently supported add this feature to the library.
The documentation for the library is located at: https://reference.wolfram.com/language/WolframClientForPython/index.html.
A similar question, asked before the Wolfram Client Library for Python was released, is: How to run a Mathematica package (.m) from python?